evaluate icon indicating copy to clipboard operation
evaluate copied to clipboard

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

Open XinyueZ opened this issue 4 months ago • 0 comments

Hey,

I encountered the following error:

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

I am following the model card for training Gemma and intend to assess the fine-tuning performance.

The error occurred while importing evaluate.

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

XinyueZ avatar Mar 02 '24 16:03 XinyueZ