update QuickTour docs to reflect model output object (#11462)

* update docs to reflect model output object

* run make style`
This commit is contained in:
Hamel Husain
2021-04-26 19:18:37 -07:00
committed by GitHub
parent 741d48f5c7
commit 88ac60f7b5
2 changed files with 12 additions and 13 deletions

View File

@@ -13,8 +13,8 @@
Model outputs
-----------------------------------------------------------------------------------------------------------------------
PyTorch models have outputs that are instances of subclasses of :class:`~transformers.file_utils.ModelOutput`. Those
are data structures containing all the information returned by the model, but that can also be used as tuples or
All models have outputs that are instances of subclasses of :class:`~transformers.file_utils.ModelOutput`. Those are
data structures containing all the information returned by the model, but that can also be used as tuples or
dictionaries.
Let's see of this looks on an example: