Unverified Commit 0e52af4d authored by Sparty's avatar Sparty Committed by GitHub
Browse files

[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: default avatarvignesh-raghunathan <vignesh_raghunathan@intuit.com>
parent 0dd58d96
...@@ -61,6 +61,12 @@ class CanineConfig(PretrainedConfig): ...@@ -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.
......
...@@ -120,7 +120,6 @@ OBJECTS_TO_IGNORE = [ ...@@ -120,7 +120,6 @@ OBJECTS_TO_IGNORE = [
"CamembertConfig", "CamembertConfig",
"CamembertModel", "CamembertModel",
"CamembertTokenizerFast", "CamembertTokenizerFast",
"CanineConfig",
"CanineModel", "CanineModel",
"CanineTokenizer", "CanineTokenizer",
"ChineseCLIPImageProcessor", "ChineseCLIPImageProcessor",
......
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