Update README.md
Browse files
README.md
CHANGED
@@ -56,6 +56,8 @@ model.eval()
|
|
56 |
|
57 |
Filling masks using pipeline :
|
58 |
```python
|
|
|
|
|
59 |
model_fill_mask = pipeline(“fill-mask”, model=”cmarkea/distilcamembert-base”, tokenizer=”cmarkea/distilcamembert-base”)
|
60 |
result = model_fill_mask(“Le camembert est <mask> :)”)
|
61 |
#results
|
|
|
56 |
|
57 |
Filling masks using pipeline :
|
58 |
```python
|
59 |
+
from transformers import pipeline
|
60 |
+
|
61 |
model_fill_mask = pipeline(“fill-mask”, model=”cmarkea/distilcamembert-base”, tokenizer=”cmarkea/distilcamembert-base”)
|
62 |
result = model_fill_mask(“Le camembert est <mask> :)”)
|
63 |
#results
|