Commit
•
8289db4
1
Parent(s):
ade534e
Update README.md (#1)
Browse files- Update README.md (d4860103dbaaf6245d5890e690faa2112a522db4)
Co-authored-by: Sam <sam-mosaic@users.noreply.huggingface.co>
README.md
CHANGED
@@ -25,7 +25,7 @@ March 2023
|
|
25 |
We recommend using the code in the [mosaicml/examples/bert repo](https://github.com/mosaicml/examples/tree/main/examples/bert) for pretraining and finetuning this model.
|
26 |
|
27 |
```python
|
28 |
-
from transformers import
|
29 |
mlm = AutoModelForMaskedLM.from_pretrained('mosaicml/mosaic-bert-base', trust_remote_code=True)
|
30 |
```
|
31 |
The tokenizer for this model is simply the Hugging Face `bert-base-uncased` tokenizer.
|
|
|
25 |
We recommend using the code in the [mosaicml/examples/bert repo](https://github.com/mosaicml/examples/tree/main/examples/bert) for pretraining and finetuning this model.
|
26 |
|
27 |
```python
|
28 |
+
from transformers import AutoModelForMaskedLM
|
29 |
mlm = AutoModelForMaskedLM.from_pretrained('mosaicml/mosaic-bert-base', trust_remote_code=True)
|
30 |
```
|
31 |
The tokenizer for this model is simply the Hugging Face `bert-base-uncased` tokenizer.
|