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
d89acd07
"git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "4dcf1b2227e18aa5d366fea5cf0392b740a4fa27"
Unverified
Commit
d89acd07
authored
Aug 05, 2020
by
Zhu Baohe
Committed by
GitHub
Aug 05, 2020
Browse files
fix (#6257)
parent
24c5a6e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/configuration_xlnet.py
src/transformers/configuration_xlnet.py
+1
-1
No files found.
src/transformers/configuration_xlnet.py
View file @
d89acd07
...
@@ -82,7 +82,7 @@ class XLNetConfig(PretrainedConfig):
...
@@ -82,7 +82,7 @@ class XLNetConfig(PretrainedConfig):
Whether to use the same attention length for each token.
Whether to use the same attention length for each token.
summary_type (:obj:`string`, optional, defaults to "last"):
summary_type (:obj:`string`, optional, defaults to "last"):
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
:class:transformers.XLNetForSequenceClassification` and :class:`~transformers.XLNetForMultipleChoice`.
:class:
`~
transformers.XLNetForSequenceClassification` and :class:`~transformers.XLNetForMultipleChoice`.
Is one of the following options:
Is one of the following options:
- 'last' => take the last token hidden state (like XLNet)
- 'last' => take the last token hidden state (like XLNet)
...
...
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