Sentence Similarity
sentence-transformers
PyTorch
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use crewdon/AICategoryMapping-multilingual-e5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use crewdon/AICategoryMapping-multilingual-e5-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("crewdon/AICategoryMapping-multilingual-e5-small") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use crewdon/AICategoryMapping-multilingual-e5-small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("crewdon/AICategoryMapping-multilingual-e5-small") model = AutoModel.from_pretrained("crewdon/AICategoryMapping-multilingual-e5-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from crewdon/AICategoryMapping-multilingual-e5-small: direct link, hf CLI and curl.
- Browser
- Download file 17.1 MB
-
https://huggingface.co/crewdon/AICategoryMapping-multilingual-e5-small/resolve/main/tokenizer.json
- Command line
-
hf download hf://crewdon/AICategoryMapping-multilingual-e5-small/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/crewdon/AICategoryMapping-multilingual-e5-small/resolve/main/tokenizer.json
17.1 MB
- Xet hash:
- 1e1bd6cfc694372cae4f3db2a7fc012739db95055c754644cc25670d4fcbe8ab
- Size of remote file:
- 17.1 MB
- SHA256:
- 3ca5f734b9407eb910ec87ecf2a0325a7c5c3436836ba12c600b0ce787b8c3a6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.