Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

richtext
/
foodmapper-gte-large

Sentence Similarity
MLX
sentence-transformers
English
bert
feature-extraction
food
embeddings
apple-silicon
text-embeddings-inference
Model card Files Files and versions
xet
Community

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]
    
    huggingface-cli download --local-dir foodmapper-gte-large richtext/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
  • LM Studio
foodmapper-gte-large
671 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
richtext's picture
richtext
Upload folder using huggingface_hub
0b7a788 verified 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    2.67 kB
    Upload folder using huggingface_hub 4 months ago
  • config.json
    619 Bytes
    Upload folder using huggingface_hub 4 months ago
  • gte-large.safetensors
    670 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • special_tokens_map.json
    125 Bytes
    Upload folder using huggingface_hub 4 months ago
  • test_baseline.npy
    20.6 kB
    xet
    Upload folder using huggingface_hub 4 months ago
  • test_texts.json
    165 Bytes
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    342 Bytes
    Upload folder using huggingface_hub 4 months ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub 4 months ago