Unverified Commit 360ea8fc authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

[docstring] Fix docstring for `AlbertConfig` (#26636)



example fix docstring
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 9ad815e4
...@@ -85,6 +85,12 @@ class AlbertConfig(PretrainedConfig): ...@@ -85,6 +85,12 @@ class AlbertConfig(PretrainedConfig):
[Self-Attention with Relative Position Representations (Shaw et al.)](https://arxiv.org/abs/1803.02155). [Self-Attention with Relative Position Representations (Shaw et al.)](https://arxiv.org/abs/1803.02155).
For more information on `"relative_key_query"`, please refer to *Method 4* in [Improve Transformer Models For more information on `"relative_key_query"`, please refer to *Method 4* in [Improve Transformer Models
with Better Relative Position Embeddings (Huang et al.)](https://arxiv.org/abs/2009.13658). with Better Relative Position Embeddings (Huang et al.)](https://arxiv.org/abs/2009.13658).
pad_token_id (`int`, *optional*, defaults to 0):
Padding token id.
bos_token_id (`int`, *optional*, defaults to 2):
Beginning of stream token id.
eos_token_id (`int`, *optional*, defaults to 3):
End of stream token id.
Examples: Examples:
......
...@@ -75,7 +75,6 @@ OBJECTS_TO_IGNORE = [ ...@@ -75,7 +75,6 @@ OBJECTS_TO_IGNORE = [
"TFGPT2Tokenizer", "TFGPT2Tokenizer",
# Missing arguments in the docstring # Missing arguments in the docstring
"ASTFeatureExtractor", "ASTFeatureExtractor",
"AlbertConfig",
"AlbertModel", "AlbertModel",
"AlbertTokenizerFast", "AlbertTokenizerFast",
"AlignTextModel", "AlignTextModel",
......
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