Closed ademait closed 11 months ago
I checked some things. It doesn't crash on a specific repo. When sorting (sort="lastModified", direction=-1
) it crashes with pidanr/pegasus-bbcnews repo, and when not sorting with Waynehillsdev/Wayne_NLP_mT5.
I guess it has to do with the evaluation results values, but I'm not seeing the failure point.
Hey @ademait , thanks for reporting! And thanks for investigating exactly which models were failing, it helped a lot moving forward to fix the issue! I just opened a PR (see https://github.com/huggingface/huggingface_hub/pull/1821) that fixes it. Once merged, I'll make a hot-fix release as this was working in v0.18.0
.
PR is merged. I shipped a hot-fix release (v0.19.1
) with the fix: https://github.com/huggingface/huggingface_hub/releases/tag/v0.19.1
Thanks again for the report!
Describe the bug
Hi, It seems it is an internal error. When I iterate over the whole list (now retrieved as Python
Iterators
), it fails at some point and throws aTypeError
exception.Also, it outputs
Invalid model-index. Not loading eval results into CardData.
for some models, which it isn't an exception I guess. I've seen this issue from nateraw/modelcards archived repo. What is the meaning of this warning? It appeared 978 times before crashing (978 from 358114 iterated models, value fromi
in the reproducible code).Reproduction
This code is just to iterate over all models.
Logs
System info