Update README.md
Browse files
README.md
CHANGED
@@ -140,7 +140,7 @@ Then, you can use the following code to interact with the model:
|
|
140 |
```js
|
141 |
import { AutoTokenizer, AutoModelForSequenceClassification } from '@xenova/transformers';
|
142 |
|
143 |
-
const model_id = 'jinaai/jina-reranker-
|
144 |
const model = await AutoModelForSequenceClassification.from_pretrained(model_id, { dtype: 'fp32' });
|
145 |
const tokenizer = await AutoTokenizer.from_pretrained(model_id);
|
146 |
|
|
|
140 |
```js
|
141 |
import { AutoTokenizer, AutoModelForSequenceClassification } from '@xenova/transformers';
|
142 |
|
143 |
+
const model_id = 'jinaai/jina-reranker-v2-base-multilingual';
|
144 |
const model = await AutoModelForSequenceClassification.from_pretrained(model_id, { dtype: 'fp32' });
|
145 |
const tokenizer = await AutoTokenizer.from_pretrained(model_id);
|
146 |
|