Update README.md
#19
by
harshit158
- opened
README.md
CHANGED
@@ -127,7 +127,7 @@ You can use this model directly with a pipeline for masked language modeling:
|
|
127 |
|
128 |
```python
|
129 |
>>> from transformers import pipeline
|
130 |
-
>>> unmasker = pipeline('fill-mask', model='
|
131 |
>>> unmasker("Hello I'm a <mask> model.")
|
132 |
|
133 |
[{'score': 0.10563907772302628,
|
|
|
127 |
|
128 |
```python
|
129 |
>>> from transformers import pipeline
|
130 |
+
>>> unmasker = pipeline('fill-mask', model='mlm_hf')
|
131 |
>>> unmasker("Hello I'm a <mask> model.")
|
132 |
|
133 |
[{'score': 0.10563907772302628,
|