Update README.md
Browse files
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(**
|
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 |
|