Small fixes to the documentation (#16180)
This commit is contained in:
@@ -1181,9 +1181,9 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin, PushToHubMix
|
||||
Mirror source to accelerate downloads in China. If you are from China and have an accessibility
|
||||
problem, you can set this option to resolve it. Note that we do not guarantee the timeliness or safety.
|
||||
Please refer to the mirror site for more information.
|
||||
_fast_init(`bool`, *optional*, defaults to ```True`):
|
||||
_fast_init(`bool`, *optional*, defaults to `True`):
|
||||
Whether or not to disable fast initialization.
|
||||
low_cpu_mem_usage(`bool``, *optional*, defaults to ```False`):
|
||||
low_cpu_mem_usage(`bool``, *optional*, defaults to `False`):
|
||||
Tries to not use more than 1x model size in CPU memory (including peak memory) while loading the model.
|
||||
This is an experimental feature and a subject to change at any moment.
|
||||
torch_dtype (`str` or `torch.dtype`, *optional*):
|
||||
|
||||
Reference in New Issue
Block a user