Sentence Similarity
MLX
sentence-transformers
English
bert
feature-extraction
food
embeddings
apple-silicon
text-embeddings-inference
Instructions to use richtext/foodmapper-gte-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use richtext/foodmapper-gte-large with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download richtext/foodmapper-gte-large --local-dir foodmapper-gte-large
- sentence-transformers
How to use richtext/foodmapper-gte-large with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("richtext/foodmapper-gte-large") 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] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download tokenizer.json from richtext/foodmapper-gte-large: direct link, hf CLI and curl.
- Browser
- Download file 712 kB
-
https://huggingface.co/richtext/foodmapper-gte-large/resolve/main/tokenizer.json
- Command line
-
hf download hf://richtext/foodmapper-gte-large/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/richtext/foodmapper-gte-large/resolve/main/tokenizer.json
712 kB
File too large to display, you can check the raw version instead.