From d89acd07cc42a2352cca18c8facefb9442fd08ab Mon Sep 17 00:00:00 2001 From: Zhu Baohe Date: Wed, 5 Aug 2020 19:37:57 +0800 Subject: [PATCH] fix (#6257) --- src/transformers/configuration_xlnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/configuration_xlnet.py b/src/transformers/configuration_xlnet.py index 79a226d515..4c50335d7e 100644 --- a/src/transformers/configuration_xlnet.py +++ b/src/transformers/configuration_xlnet.py @@ -82,7 +82,7 @@ class XLNetConfig(PretrainedConfig): Whether to use the same attention length for each token. summary_type (:obj:`string`, optional, defaults to "last"): 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: - 'last' => take the last token hidden state (like XLNet)