huggingface / huggingface/evaluate

After fine-tuning Gemma and want to evaluate performance: AttributeError: module 'keras._tf_keras.keras' has no attribute '__internal__'

Open
#555 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.5k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

Hey,

I encountered the following error:

`AttributeError: module 'keras._tf_keras.keras' has no attribute '__internal__'`

I am following the [model card](https://www.kaggle.com/models/google/gemma) for training Gemma and intend to assess the fine-tuning performance.

The error occurred while importing `evaluate`.

`import evaluate`
`rouge = evaluate.load('rouge')`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.