Cyrile commited on
Commit
586054b
1 Parent(s): a6d9bdb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
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