Skip to content

Commit

Permalink
typo fix (huggingface#20891)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-barry authored and MKhalusova committed Dec 28, 2022
1 parent 9a4205e commit 6a88b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/quicktour.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ If you can't find a model for your use-case, you'll need to finetune a pretraine

<Youtube id="AhChOFRegn4"/>

Under the hood, the [`AutoModelForSequenceClassification`] and [`AutoTokenizer`] classes work together to power the [`pipeline`] you used above. An [AutoClass](./model_doc/auto) is a shortcut that automatically retrieves the architecture of a pretrained model from it's name or path. You only need to select the appropriate `AutoClass` for your task and it's associated preprocessing class.
Under the hood, the [`AutoModelForSequenceClassification`] and [`AutoTokenizer`] classes work together to power the [`pipeline`] you used above. An [AutoClass](./model_doc/auto) is a shortcut that automatically retrieves the architecture of a pretrained model from its name or path. You only need to select the appropriate `AutoClass` for your task and it's associated preprocessing class.

Let's return to the example from the previous section and see how you can use the `AutoClass` to replicate the results of the [`pipeline`].

Expand Down

0 comments on commit 6a88b27

Please sign in to comment.