mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-04 05:10:06 +06:00
[docstring] Fix docstring for AlbertConfig
(#26636)
example fix docstring Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
9ad815e412
commit
360ea8fc72
@ -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 = [
|
|||||||
"TFGPT2Tokenizer",
|
"TFGPT2Tokenizer",
|
||||||
# Missing arguments in the docstring
|
# Missing arguments in the docstring
|
||||||
"ASTFeatureExtractor",
|
"ASTFeatureExtractor",
|
||||||
"AlbertConfig",
|
|
||||||
"AlbertModel",
|
"AlbertModel",
|
||||||
"AlbertTokenizerFast",
|
"AlbertTokenizerFast",
|
||||||
"AlignTextModel",
|
"AlignTextModel",
|
||||||
|
Loading…
Reference in New Issue
Block a user