We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c63d8b commit 3d06b20Copy full SHA for 3d06b20
docs/source/en/model_doc/distilbert.md
@@ -50,7 +50,7 @@ The examples below demonstrate how to use DistilBERT for text classification wit
50
<hfoptions id="usage">
51
52
<hfoption id="Pipeline">
53
- ```python
+ ```py
54
from transformers import pipeline
55
56
classifier = pipeline(
@@ -65,7 +65,7 @@ The examples below demonstrate how to use DistilBERT for text classification wit
65
</hfoption>
66
67
<hfoption id="AutoModel">
68
69
from transformers import AutoTokenizer, AutoModelForSequenceClassification
70
import torch.nn.functional as F
71
0 commit comments