Recent breaking changes in `api.dataset_info`?

Hello,

It seems that the api response changed format in the very recent days. Is that so ?
For instance, now, to access license label, we shall use repo_info.card_data["license"].

May I be informed on how to access arxiv references though ? I can’t find them anywhere anymore.
Until a couple days ago at least, it was accessible via :

arxiv_tags = [tag for tag in repo_info.tags
                           if tag.startswith('arxiv:')]

Thank you

1 Like

Hi ! Can you try updating huggingface_hub ? Some old versions are not robust to recent changes on HF

1 Like

Hello and thank you for your response.

The version I had been using was 0.26.2 from October.
I switched to current (0.27.1, from january) as you kindly advised.
api.dataset_info indeed now behaves same as api.model_info again.
Thanks a lot for the invaluable assistance, Quentin.
So long and Godspeed.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.