Instructions to use moka-ai/m3e-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use moka-ai/m3e-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("moka-ai/m3e-small") 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
Download pytorch_model.bin from moka-ai/m3e-small: direct link, hf CLI and curl.
- Browser
- Download file 95.8 MB
-
https://huggingface.co/moka-ai/m3e-small/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://moka-ai/m3e-small/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/moka-ai/m3e-small/resolve/main/pytorch_model.bin
95.8 MB
- Xet hash:
- 0a53195248695e6ca2393f43e1dc65e9fb8f9b507efd8c492aef56e67b889d0d
- Size of remote file:
- 95.8 MB
- SHA256:
- 78fbbe22d9bc31a59a95dfd1b1ceb4f9b65cf4ddf54d948a20952789c9ec4973
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.