fix (#6257)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user