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.0I don’t find explanation on internet.Can you help me? ThanksClaude LepèreShow drafts
2024-10-28T03:07:31Z
hi, version problems.firstly, uninstall evaluatepip uninstall evaluatesecondly, install the stable versionpip install evaluate==0.4.0
2024-11-12T02:49:12Z
According tothis discussion, there are 2 options to fix the issue: either upgrade the version ofevaluateto 0.4.3 (Release 0.4.3 · huggingface/evaluate · GitHub) or downgrade the version of datasets to < 3.0.0.