jacobfulano
commited on
Commit
•
f4619c8
1
Parent(s):
1dc825e
Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ We recommend using the code in the [mosaicml/examples/bert repo](https://github.
|
|
25 |
|
26 |
```python
|
27 |
from transformers import AutoModelforForMaskedLM
|
28 |
-
mlm = AutoModelForMaskedLM.from_pretrained('mosaicml/mosaic-bert-base',
|
29 |
```
|
30 |
The tokenizer for this model is simply the Hugging Face `bert-base-uncased` tokenizer.
|
31 |
|
|
|
25 |
|
26 |
```python
|
27 |
from transformers import AutoModelforForMaskedLM
|
28 |
+
mlm = AutoModelForMaskedLM.from_pretrained('mosaicml/mosaic-bert-base', trust_remote_code=True)
|
29 |
```
|
30 |
The tokenizer for this model is simply the Hugging Face `bert-base-uncased` tokenizer.
|
31 |
|