jacobfulano
commited on
Commit
•
3970aa9
1
Parent(s):
785d4c8
Update README.md
Browse files
README.md
CHANGED
@@ -53,7 +53,7 @@ config file and reload the model.
|
|
53 |
|
54 |
```python
|
55 |
config = transformers.BertConfig.from_pretrained('mosaicml/mosaic-bert-base')
|
56 |
-
config.alibi_starting_size = 1024 # maximum sequence length updated to
|
57 |
|
58 |
mosaicbert = AutoModelForMaskedLM.from_pretrained('mosaicml/mosaic-bert-base',config=config,trust_remote_code=True)
|
59 |
```
|
|
|
53 |
|
54 |
```python
|
55 |
config = transformers.BertConfig.from_pretrained('mosaicml/mosaic-bert-base')
|
56 |
+
config.alibi_starting_size = 1024 # maximum sequence length updated to 1024 from config default of 512
|
57 |
|
58 |
mosaicbert = AutoModelForMaskedLM.from_pretrained('mosaicml/mosaic-bert-base',config=config,trust_remote_code=True)
|
59 |
```
|