This commit is contained in:
Zhu Baohe
2020-08-05 19:37:57 +08:00
committed by GitHub
parent 24c5a6e351
commit d89acd07cc

View File

@@ -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)