@@ -164,7 +164,7 @@ If you can't find a model for your use-case, you'll need to finetune a pretraine
...
@@ -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"/>
<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`].
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`].