Cyrile commited on
Commit
c31f0ee
1 Parent(s): 1550e2a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -59,7 +59,7 @@ Filling masks using pipeline :
59
  from transformers import pipeline
60
 
61
  model_fill_mask = pipeline(“fill-mask”, model=”cmarkea/distilcamembert-base”, tokenizer=”cmarkea/distilcamembert-base”)
62
- results = model_fill_mask(“Le camembert est <mask>  :)”)
63
  #results
64
  #[{'sequence': '<s> Le camembert est délicieux :)</s>', 'score': 0.3878222405910492, 'token': 7200},
65
  # {'sequence': '<s> Le camembert est excellent :)</s>', 'score': 0.06469205021858215, 'token': 2183},
 
59
  from transformers import pipeline
60
 
61
  model_fill_mask = pipeline(“fill-mask”, model=”cmarkea/distilcamembert-base”, tokenizer=”cmarkea/distilcamembert-base”)
62
+ results = model_fill_mask(“Le camembert est <mask> :)”)
63
  #results
64
  #[{'sequence': '<s> Le camembert est délicieux :)</s>', 'score': 0.3878222405910492, 'token': 7200},
65
  # {'sequence': '<s> Le camembert est excellent :)</s>', 'score': 0.06469205021858215, 'token': 2183},