huggingface / evaluate

🤗 Evaluate: A library for easily evaluating machine learning models and datasets.

Home Page:https://huggingface.co/docs/evaluate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evalaute with safetensors

akdeniz27 opened this issue · comments

Evaluate method for token-classification is not working with safetensors models.
The error message:
NameError: name 'safe_open' is not defined

Could you post the code snippet that leads to this error?

The code is as follows and is working today:
image

I didn't make any change in the code. The error for the last part was as follows yesterday:
image

The first and third models above have safetensors versions.