Buckets:
2.08 GB
16 files
Updated 4 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| onnx | 8 items | ||
| .gitattributes | 1.57 kB xet | aacf151a | |
| README.md | 1.08 kB xet | ccca2fca | |
| config.json | 658 Bytes xet | 58ecdb3b | |
| quant_config.json | 674 Bytes xet | 0bcc68cc | |
| sentencepiece.bpe.model | 5.07 MB xet | 8b03b9e0 | |
| special_tokens_map.json | 167 Bytes xet | 03a020d3 | |
| tokenizer.json | 17.1 MB xet | 1c8f7c8f | |
| tokenizer_config.json | 443 Bytes xet | 30ec7091 |
https://huggingface.co/intfloat/multilingual-e5-small with ONNX weights to be compatible with Transformers.js.
Usage (Transformers.js)
If you haven't already, you can install the Transformers.js JavaScript library from NPM using:
npm i @huggingface/transformers
Example: Run feature extraction.
import { pipeline } from '@huggingface/transformers';
const extractor = await pipeline('feature-extraction', 'Xenova/multilingual-e5-small');
const output = await extractor('This is a simple test.');
Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).
- Total size
- 2.08 GB
- Files
- 16
- Last updated
- Jul 27
- Pre-warmed CDN
- US EU US EU