Update checkpoint identifiers
Browse files
README.md
CHANGED
@@ -56,7 +56,7 @@ You can use this model directly with a pipeline for masked language modeling:
|
|
56 |
|
57 |
```python
|
58 |
>>> from transformers import pipeline
|
59 |
-
>>> unmasker = pipeline('fill-mask', model='bert-large-uncased')
|
60 |
>>> unmasker("Hello I'm a [MASK] model.")
|
61 |
[
|
62 |
{
|
@@ -117,7 +117,7 @@ predictions:
|
|
117 |
|
118 |
```python
|
119 |
>>> from transformers import pipeline
|
120 |
-
>>> unmasker = pipeline('fill-mask', model='bert-large-uncased')
|
121 |
>>> unmasker("The man worked as a [MASK].")
|
122 |
[
|
123 |
{
|
|
|
56 |
|
57 |
```python
|
58 |
>>> from transformers import pipeline
|
59 |
+
>>> unmasker = pipeline('fill-mask', model='bert-large-uncased-whole-word-masking')
|
60 |
>>> unmasker("Hello I'm a [MASK] model.")
|
61 |
[
|
62 |
{
|
|
|
117 |
|
118 |
```python
|
119 |
>>> from transformers import pipeline
|
120 |
+
>>> unmasker = pipeline('fill-mask', model='bert-large-uncased-whole-word-masking')
|
121 |
>>> unmasker("The man worked as a [MASK].")
|
122 |
[
|
123 |
{
|