Run this model with HF Jobs
Run elastic/multilingual-e5-small-optimized on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/elastic/multilingual-e5-small-optimized. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/elastic/multilingual-e5-small-optimized on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use elastic/multilingual-e5-small-optimized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use elastic/multilingual-e5-small-optimized with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("elastic/multilingual-e5-small-optimized") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Commit ·
1a42a40
1
Parent(s): 8d16b25
Initial model card commit
Browse files123---license: mit---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114---tags:- Sentence Transformers- sentence-similarity- sentence-transformerslicense: mitpipeline_tag: sentence-similaritylanguage:- multilingual- af- am- ar- as- az- be- bg- bn- br- bs- ca- cs- cy- da- de- el- en- eo- es- et- eu- fa- fi- fr- fy- ga- gd- gl- gu- ha- he- hi- hr- hu- hy- id- is- it- ja- jv- ka- kk- km- kn- ko- ku- ky- la- lo- lt- lv- mg- mk- ml- mn- mr- ms- my- ne- nl- 'no'- om- or- pa- pl- ps- pt- ro- ru- sa- sd- si- sk- sl- so- sq- sr- su- sv- sw- ta- te- th- tl- tr- ug- uk- ur- uz- vi- xh- yi- zh---A quantized version of [multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small) for Intel CPUs.[Text Embeddings by Weakly-Supervised Contrastive Pre-training](https://arxiv.org/pdf/2212.03533.pdf).Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, Furu Wei, arXiv 2022This model has 12 layers and the embedding size is 384.## UsageTBD
README.md+111