Unverified Commit 389bdba6 authored by joaoareis's avatar joaoareis Committed by GitHub
Browse files

Fix PretrainedConfig `min_length` docstring (#23471)

parent b455ad0a
...@@ -119,7 +119,7 @@ class PretrainedConfig(PushToHubMixin): ...@@ -119,7 +119,7 @@ class PretrainedConfig(PushToHubMixin):
max_length (`int`, *optional*, defaults to 20): max_length (`int`, *optional*, defaults to 20):
Maximum length that will be used by default in the `generate` method of the model. Maximum length that will be used by default in the `generate` method of the model.
min_length (`int`, *optional*, defaults to 10): min_length (`int`, *optional*, defaults to 0):
Minimum length that will be used by default in the `generate` method of the model. Minimum length that will be used by default in the `generate` method of the model.
do_sample (`bool`, *optional*, defaults to `False`): do_sample (`bool`, *optional*, defaults to `False`):
Flag that will be used by default in the `generate` method of the model. Whether or not to use sampling ; Flag that will be used by default in the `generate` method of the model. Whether or not to use sampling ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment