Unverified Commit 51ae5665 authored by Furkan Akkurt's avatar Furkan Akkurt Committed by GitHub
Browse files

Fix typo ; Update output.mdx (#23227)

parent e02a8065
...@@ -31,7 +31,7 @@ outputs = model(**inputs, labels=labels) ...@@ -31,7 +31,7 @@ outputs = model(**inputs, labels=labels)
``` ```
The `outputs` object is a [`~modeling_outputs.SequenceClassifierOutput`], as we can see in the The `outputs` object is a [`~modeling_outputs.SequenceClassifierOutput`], as we can see in the
documentation of that class below, it means it has an optional `loss`, a `logits` an optional `hidden_states` and documentation of that class below, it means it has an optional `loss`, a `logits`, an optional `hidden_states` and
an optional `attentions` attribute. Here we have the `loss` since we passed along `labels`, but we don't have an optional `attentions` attribute. Here we have the `loss` since we passed along `labels`, but we don't have
`hidden_states` and `attentions` because we didn't pass `output_hidden_states=True` or `hidden_states` and `attentions` because we didn't pass `output_hidden_states=True` or
`output_attentions=True`. `output_attentions=True`.
......
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