ai-forever commited on
Commit
5ecce4a
1 Parent(s): e06323f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -34,8 +34,8 @@ sentences = ['Привет! Как твои дела?',
34
  'А правда, что 42 твое любимое число?']
35
 
36
  #Load AutoModel from huggingface model repository
37
- tokenizer = AutoTokenizer.from_pretrained("ai-forever/ruELECTRA-large")
38
- model = AutoModel.from_pretrained("ai-forever/ruELECTRA-large")
39
 
40
  #Tokenize sentences
41
  encoded_input = tokenizer(sentences, padding=True, truncation=True, max_length=24, return_tensors='pt')
 
34
  'А правда, что 42 твое любимое число?']
35
 
36
  #Load AutoModel from huggingface model repository
37
+ tokenizer = AutoTokenizer.from_pretrained("ai-forever/ruElectra-large")
38
+ model = AutoModel.from_pretrained("ai-forever/ruElectra-large")
39
 
40
  #Tokenize sentences
41
  encoded_input = tokenizer(sentences, padding=True, truncation=True, max_length=24, return_tensors='pt')