Update README.md
Browse files
README.md
CHANGED
@@ -2661,7 +2661,7 @@ print(embeddings)
|
|
2661 |
|
2662 |
The model natively supports scaling of the sequence length past 2048 tokens. To do so,
|
2663 |
|
2664 |
-
```
|
2665 |
- tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased')
|
2666 |
+ tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', model_max_length=8192)
|
2667 |
|
|
|
2661 |
|
2662 |
The model natively supports scaling of the sequence length past 2048 tokens. To do so,
|
2663 |
|
2664 |
+
```diff
|
2665 |
- tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased')
|
2666 |
+ tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', model_max_length=8192)
|
2667 |
|