Skip to content

Commit 3d06b20

Browse files
Updated the distilbert model card
1 parent 1c63d8b commit 3d06b20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/en/model_doc/distilbert.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The examples below demonstrate how to use DistilBERT for text classification wit
5050
<hfoptions id="usage">
5151

5252
<hfoption id="Pipeline">
53-
```python
53+
```py
5454
from transformers import pipeline
5555

5656
classifier = pipeline(
@@ -65,7 +65,7 @@ The examples below demonstrate how to use DistilBERT for text classification wit
6565
</hfoption>
6666

6767
<hfoption id="AutoModel">
68-
```python
68+
```py
6969
from transformers import AutoTokenizer, AutoModelForSequenceClassification
7070
import torch.nn.functional as F
7171

0 commit comments

Comments
 (0)