huggingface / huggingface_hub

The official Python client for the Huggingface Hub.
https://huggingface.co/docs/huggingface_hub
Apache License 2.0
2.02k stars 531 forks source link

Fix test: rename to open-llm-leaderboard + some cleaning #2295

Closed Wauplin closed 4 months ago

Wauplin commented 4 months ago

The Open LLM Leaderboard has been moved to a new org: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard. This PR updates examples and tests that were relying on it which should fix a few errors in the CIs (no big deal, it's just that we need some examples for demo sometimes).

EDIT: fixed also some more tests related to the fact that repo_update_visibility don't handle implicit repo ids anymore. This is a breaking change server-side but that's for the best (more consistent with all other endpoints).

EDIT 2: made some more cleaning + re-enabled some Space tests that were not supported in staging before.

HuggingFaceDocBuilderDev commented 4 months ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Wauplin commented 4 months ago

Thanks for the review @clefourrier! And sorry pinging you on a cleaning PR in the end, it was not my first intention :smile:

clefourrier commented 4 months ago

Np ^^