harshit158
commited on
Commit
•
3e263b8
1
Parent(s):
77de1f7
Update README.md
Browse files
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,
|