[docstring] Fix docstring for CanineConfig (#26771)

* Remove CanineConfig from check_docstrings

* Run fix_and_overwrite for CanineConfig

* Replace <fill_type> and <fill_docstring> in configuration_canine.py with type and docstring values

---------

Co-authored-by: vignesh-raghunathan <vignesh_raghunathan@intuit.com>
This commit is contained in:
Sparty
2023-10-16 04:08:44 -04:00
committed by GitHub
parent 0dd58d96a0
commit 0e52af4d7b
2 changed files with 6 additions and 1 deletions

View File

@@ -61,6 +61,12 @@ class CanineConfig(PretrainedConfig):
The standard deviation of the truncated_normal_initializer for initializing all weight matrices. The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
layer_norm_eps (`float`, *optional*, defaults to 1e-12): layer_norm_eps (`float`, *optional*, defaults to 1e-12):
The epsilon used by the layer normalization layers. The epsilon used by the layer normalization layers.
pad_token_id (`int`, *optional*, defaults to 0):
Padding token id.
bos_token_id (`int`, *optional*, defaults to 57344):
Beginning of stream token id.
eos_token_id (`int`, *optional*, defaults to 57345):
End of stream token id.
downsampling_rate (`int`, *optional*, defaults to 4): downsampling_rate (`int`, *optional*, defaults to 4):
The rate at which to downsample the original character sequence length before applying the deep Transformer The rate at which to downsample the original character sequence length before applying the deep Transformer
encoder. encoder.

View File

@@ -120,7 +120,6 @@ OBJECTS_TO_IGNORE = [
"CamembertConfig", "CamembertConfig",
"CamembertModel", "CamembertModel",
"CamembertTokenizerFast", "CamembertTokenizerFast",
"CanineConfig",
"CanineModel", "CanineModel",
"CanineTokenizer", "CanineTokenizer",
"ChineseCLIPImageProcessor", "ChineseCLIPImageProcessor",