Skip to content

Commit 8b45219

Browse files
davanstrienclaude
andauthored
Use hf auth login instead of deprecated huggingface-cli in leaderboard guide (#2621)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent d910208 commit 8b45219

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/hub/leaderboard-data-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ for entry in leaderboard[:5]:
4141
```
4242

4343
> [!TIP]
44-
> `huggingface_hub` uses your cached token by default. For gated benchmark datasets, make sure you are logged in (`huggingface-cli login`) or pass a token explicitly:
44+
> `huggingface_hub` uses your cached token by default. For gated benchmark datasets, make sure you are logged in (`hf auth login`) or pass a token explicitly:
4545
> ```python
4646
> leaderboard = api.get_dataset_leaderboard("gated/benchmark", token="hf_...")
4747
> ```

0 commit comments

Comments
 (0)