# Evaluate.load("accuracy" gives the AttributeError 'DownloadConfig' object has no attribute 'use\_auth\_token'

**URL:** <https://discuss.huggingface.co/t/evaluate-load-accuracy-gives-the-attributeerror-downloadconfig-object-has-no-attribute-use-auth-token/107394>\
**Category:** Beginners\
**Created:** [September 19, 2024, 4:49pm UTC](https://discuss.huggingface.co/t/evaluate-load-accuracy-gives-the-attributeerror-downloadconfig-object-has-no-attribute-use-auth-token/107394 "2024-09-19T16:49:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![claudelepere](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@claudelepere](https://discuss.huggingface.co/u/claudelepere)\
**Post date:** [September 19, 2024, 4:49pm UTC](https://discuss.huggingface.co/t/evaluate-load-accuracy-gives-the-attributeerror-downloadconfig-object-has-no-attribute-use-auth-token/107394/1 "2024-09-19T16:49:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ggg436456](https://avatars.discourse-cdn.com/v4/letter/g/77aa72/32.png) [@ggg436456](https://discuss.huggingface.co/u/ggg436456)\
**Post date:** [October 28, 2024, 3:07am UTC](https://discuss.huggingface.co/t/evaluate-load-accuracy-gives-the-attributeerror-downloadconfig-object-has-no-attribute-use-auth-token/107394/2 "2024-10-28T03:07:31Z")

</div>

hi, version problems.  
firstly, uninstall evaluate  
pip uninstall evaluate

secondly, install the stable version  
pip install evaluate==0.4.0

---

<div class="post-metadata">

**Author:** ![iamPCP](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/iampcp/32/35311_2.png) [@iamPCP](https://discuss.huggingface.co/u/iamPCP)\
**Post date:** [November 12, 2024, 2:49am UTC](https://discuss.huggingface.co/t/evaluate-load-accuracy-gives-the-attributeerror-downloadconfig-object-has-no-attribute-use-auth-token/107394/3 "2024-11-12T02:49:12Z")

</div>

According to [this discussion](https://github.com/huggingface/evaluate/issues/638), there are 2 options to fix the issue: either upgrade the version of `evaluate` to 0.4.3 ([Release 0.4.3 · huggingface/evaluate · GitHub](https://github.com/huggingface/evaluate/releases/tag/v0.4.3)) or downgrade the version of datasets to \< 3.0.0.
