Unverified Commit 5bfda28d authored by dekomori_sanae09's avatar dekomori_sanae09 Committed by GitHub
Browse files

[docstring] fix docstring `DPRConfig` (#26674)



* fix docstring dpr config

* fix style

* Update descp
Co-authored-by: default avatarYih-Dar <2521628+ydshieh@users.noreply.github.com>

---------
Co-authored-by: default avatarYih-Dar <2521628+ydshieh@users.noreply.github.com>
parent 288bf5c1
......@@ -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",
......
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