Small fixes to the documentation (#16180)

This commit is contained in:
Sylvain Gugger
2022-03-18 17:48:27 -04:00
committed by GitHub
parent ffc319e7b8
commit 8d7420768c
12 changed files with 21 additions and 21 deletions

View File

@@ -1584,7 +1584,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin, PushToHubMixin):
when running `transformers-cli login` (stored in `~/.huggingface`).
local_files_only (`bool`, *optional*, defaults to `False`):
Whether or not to only rely on local files and not to attempt to download any files.
revision(`str`, *optional*, defaults to `"main"`):
revision (`str`, *optional*, defaults to `"main"`):
The specific model version to use. It can be a branch name, a tag name, or a commit id, since we use a
git-based system for storing models and other artifacts on huggingface.co, so `revision` can be any
identifier allowed by git.