Revert "Xlnet outputs (#5881)" (#5882)

This reverts commit 13be487212.
This commit is contained in:
Teven
2020-07-18 17:15:40 +02:00
committed by GitHub
parent 13be487212
commit a55809241f
4 changed files with 45 additions and 133 deletions

View File

@@ -47,7 +47,7 @@ class PretrainedConfig(object):
Whether or not the model should return all hidden-states.
output_attentions (:obj:`bool`, `optional`, defaults to :obj:`False`):
Whether or not the model should returns all attentions.
use_cache (:obj:`bool`, `optional`, defaults to :obj:`True`):
use_cache (:obj:`bool`, `optional`, defaults to :obj:`False`):
Whether or not the model should return the last key/values attentions (not used by all models).
return_tuple (:obj:`bool`, `optional`, defaults to :obj:`False`):
Whether or not the model should return tuples instead of :obj:`ModelOutput` objects.