Fix task guide formatting (#21409)

fix formatting
This commit is contained in:
Steven Liu
2023-02-02 10:06:26 -08:00
committed by GitHub
parent a6d8a149a8
commit 0a75717602
9 changed files with 9 additions and 0 deletions

View File

@@ -155,6 +155,7 @@ Before you start training your model, create a map of the expected ids to their
If you aren't familiar with finetuning a model with the [`Trainer`], take a look at the basic tutorial [here](../training#train-with-pytorch-trainer)!
</Tip>
You're ready to start training your model now! Load DistilBERT with [`AutoModelForSequenceClassification`] along with the number of expected labels, and the label mappings:
```py