qilowoq commited on
Commit
d089493
1 Parent(s): 721c594

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -30,7 +30,7 @@ model = XLMRobertaModel.from_pretrained('qilowoq/bge-m3-en-ru')
30
 
31
  sentences = ["This is an example sentence", "Это пример предложения"]
32
 
33
- embeddings = new_model(**new_tokenizer(sentences, return_tensors="pt", padding=True, truncation=True)).pooler_output
34
  ```
35
 
36
 
 
30
 
31
  sentences = ["This is an example sentence", "Это пример предложения"]
32
 
33
+ embeddings = new_model(**tokenizer(sentences, return_tensors="pt", padding=True, truncation=True)).pooler_output
34
  ```
35
 
36