Instructions to use Xenova/multilingual-e5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/multilingual-e5-small with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('feature-extraction', 'Xenova/multilingual-e5-small');
Fix model_max_length (#2)
Browse files- Fix model_max_length (7008bdc7cc6e9edb502e96a0bd1634dc38446d69)
Co-authored-by: Fatih Cetinkaya <devfacet@users.noreply.huggingface.co>
- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
"rstrip": false,
|
| 12 |
"single_word": false
|
| 13 |
},
|
| 14 |
-
"model_max_length":
|
| 15 |
"pad_token": "<pad>",
|
| 16 |
"sep_token": "</s>",
|
| 17 |
"sp_model_kwargs": {},
|
|
|
|
| 11 |
"rstrip": false,
|
| 12 |
"single_word": false
|
| 13 |
},
|
| 14 |
+
"model_max_length": 512,
|
| 15 |
"pad_token": "<pad>",
|
| 16 |
"sep_token": "</s>",
|
| 17 |
"sp_model_kwargs": {},
|