Unverified Commit d89acd07 authored by Zhu Baohe's avatar Zhu Baohe Committed by GitHub
Browse files

fix (#6257)

parent 24c5a6e3
...@@ -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)
......
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