[docstring] fix docstring `DPRConfig` (#26674)
* fix docstring dpr config * fix style * Update descp Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> --------- Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
This commit is contained in:
parent
288bf5c1d2
commit
5bfda28dd3
|
@ -83,6 +83,8 @@ class DPRConfig(PretrainedConfig):
|
|||
The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
|
||||
layer_norm_eps (`float`, *optional*, defaults to 1e-12):
|
||||
The epsilon used by the layer normalization layers.
|
||||
pad_token_id (`int`, *optional*, defaults to 0):
|
||||
Padding token id.
|
||||
position_embedding_type (`str`, *optional*, defaults to `"absolute"`):
|
||||
Type of position embedding. Choose one of `"absolute"`, `"relative_key"`, `"relative_key_query"`. For
|
||||
positional embeddings use `"absolute"`. For more information on `"relative_key"`, please refer to
|
||||
|
|
|
@ -143,7 +143,6 @@ OBJECTS_TO_IGNORE = [
|
|||
"CvtConfig",
|
||||
"CvtModel",
|
||||
"DeiTImageProcessor",
|
||||
"DPRConfig",
|
||||
"DPRReaderTokenizer",
|
||||
"DPRReaderTokenizerFast",
|
||||
"DPTModel",
|
||||
|
|
Loading…
Reference in New Issue