Evaluate.load("accuracy" gives the AttributeError 'DownloadConfig' object has no attribute 'use_auth_token'

I copied - and rechecked - the code of the article “Fine-tuned a pretrained model”.
I train the model with PyTorch Trainer and the evaluate.load(“accuracy”) returns the AttributeError:‘DownloadConfig’ object has no attribute ‘use_auth_token’

Versions: evaluate: 0.4.1, datasets: 3.0.0, transformers: 4.24.0

I don’t find explanation on internet.

Can you help me? Thanks

Claude Lepère

Show drafts

2 Likes