zpn commited on
Commit
bb5a9bb
1 Parent(s): 08ba5f6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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
- ```python
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