[Docs] Improve documentation (#33799)

Co-authored-by: Soren Dreano <soren@numind.ai>
Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
This commit is contained in:
SorenDreano
2026-02-06 13:57:09 +01:00
committed by GitHub
parent 2991dd3d22
commit 6e7b1c4b59
4 changed files with 12 additions and 12 deletions

View File

@@ -247,8 +247,8 @@ class ModelConfig:
- "mistral" will load the config in mistral format."""
hf_token: bool | str | None = None
"""The token to use as HTTP bearer authorization for remote files . If
`True`, will use the token generated when running `huggingface-cli login`
(stored in `~/.huggingface`)."""
`True`, will use the token generated when running `hf auth login`
(stored in `~/.cache/huggingface/token`)."""
hf_overrides: HfOverrides = field(default_factory=dict)
"""If a dictionary, contains arguments to be forwarded to the Hugging Face
config. If a callable, it is called to update the HuggingFace config."""