Update README.md
Browse files
README.md
CHANGED
@@ -51,7 +51,7 @@ Load CamemBERT and its sub-word tokenizer :
|
|
51 |
```python
|
52 |
from transformers import CamembertModel, CamembertTokenizer
|
53 |
|
54 |
-
|
55 |
model = CamembertModel.from_pretrained("cmarkea/distilcamembert-base")
|
56 |
model.eval()
|
57 |
...
|
|
|
51 |
```python
|
52 |
from transformers import CamembertModel, CamembertTokenizer
|
53 |
|
54 |
+
tokenizer = CamembertTokenizer.from_pretrained("cmarkea/distilcamembert-base")
|
55 |
model = CamembertModel.from_pretrained("cmarkea/distilcamembert-base")
|
56 |
model.eval()
|
57 |
...
|