Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
1aec9916
Unverified
Commit
1aec9916
authored
Aug 08, 2020
by
Patrick von Platen
Committed by
GitHub
Aug 08, 2020
Browse files
[GPT2] Correct typo in docs (#6352)
parent
9f57e39f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/configuration_gpt2.py
src/transformers/configuration_gpt2.py
+1
-1
No files found.
src/transformers/configuration_gpt2.py
View file @
1aec9916
...
@@ -71,7 +71,7 @@ class GPT2Config(PretrainedConfig):
...
@@ -71,7 +71,7 @@ class GPT2Config(PretrainedConfig):
The dropout ratio for the attention.
The dropout ratio for the attention.
layer_norm_epsilon (:obj:`float`, optional, defaults to 1e-5):
layer_norm_epsilon (:obj:`float`, optional, defaults to 1e-5):
The epsilon to use in the layer normalization layers
The epsilon to use in the layer normalization layers
initializer_range (:obj:`float`, optional, defaults to
16
):
initializer_range (:obj:`float`, optional, defaults to
0.02
):
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.
summary_type (:obj:`string`, optional, defaults to "cls_index"):
summary_type (:obj:`string`, optional, defaults to "cls_index"):
Argument used when doing sequence summary. Used in for the multiple choice head in
Argument used when doing sequence summary. Used in for the multiple choice head in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment