[doc] typo fix (#8535)
* [doc] typo fix @sgugger * Update src/transformers/modeling_utils.py Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
This commit is contained in:
@@ -812,7 +812,7 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin):
|
|||||||
output_loading_info(:obj:`bool`, `optional`, defaults to :obj:`False`):
|
output_loading_info(:obj:`bool`, `optional`, defaults to :obj:`False`):
|
||||||
Whether ot not to also return a dictionary containing missing keys, unexpected keys and error messages.
|
Whether ot not to also return a dictionary containing missing keys, unexpected keys and error messages.
|
||||||
local_files_only(:obj:`bool`, `optional`, defaults to :obj:`False`):
|
local_files_only(:obj:`bool`, `optional`, defaults to :obj:`False`):
|
||||||
Whether or not to only look at local files (e.g., not try doanloading the model).
|
Whether or not to only look at local files (i.e., do not try to download the model).
|
||||||
revision(:obj:`str`, `optional`, defaults to :obj:`"main"`):
|
revision(:obj:`str`, `optional`, defaults to :obj:`"main"`):
|
||||||
The specific model version to use. It can be a branch name, a tag name, or a commit id, since we use a
|
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
|
git-based system for storing models and other artifacts on huggingface.co, so ``revision`` can be any
|
||||||
|
|||||||
Reference in New Issue
Block a user