dtamayo commited on
Commit
5a52a11
·
verified ·
1 Parent(s): 4aae4e3

Update README

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -88,6 +88,7 @@ You can use the pipeline for masked language modeling:
88
  ```python
89
  >>> from transformers import pipeline
90
  >>> from pprint import pprint
 
91
 
92
  >>> pprint(unmasker("I love the<mask>of Barcelona.",top_k=3))
93
  [{'score': 0.44038116931915283,
 
88
  ```python
89
  >>> from transformers import pipeline
90
  >>> from pprint import pprint
91
+ >>> unmasker = pipeline('fill-mask', model='BSC-LT/mRoBERTa')
92
 
93
  >>> pprint(unmasker("I love the<mask>of Barcelona.",top_k=3))
94
  [{'score': 0.44038116931915283,