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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

aneforge
/
gte-small

Sentence Similarity
ANEForge
Safetensors
sentence-transformers
bert
apple-neural-engine
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use aneforge/gte-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • ANEForge

    How to use aneforge/gte-small with ANEForge:

    # Run this model's encoder on the Apple Neural Engine, without CoreML.
    from aneforge.sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("aneforge/gte-small")
    embeddings = model.encode(["Hello from the Neural Engine"], normalize_embeddings=True)
  • sentence-transformers

    How to use aneforge/gte-small with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("aneforge/gte-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]
  • Notebooks
  • Google Colab
  • Kaggle
gte-small
67.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
sbryngelson's picture
sbryngelson
card: add the aneforge[models] install line to the snippet
a732a6b verified 11 days ago
  • 1_Pooling
    duplicate thenlper/gte-small weights, tagged for ANEForge 11 days ago
  • .gitattributes
    1.52 kB
    initial commit 11 days ago
  • README.md
    1.05 kB
    card: add the aneforge[models] install line to the snippet 11 days ago
  • config.json
    583 Bytes
    duplicate thenlper/gte-small weights, tagged for ANEForge 11 days ago
  • model.safetensors
    66.7 MB
    xet
    duplicate thenlper/gte-small weights, tagged for ANEForge 11 days ago
  • modules.json
    385 Bytes
    duplicate thenlper/gte-small weights, tagged for ANEForge 11 days ago
  • sentence_bert_config.json
    57 Bytes
    duplicate thenlper/gte-small weights, tagged for ANEForge 11 days ago
  • special_tokens_map.json
    125 Bytes
    duplicate thenlper/gte-small weights, tagged for ANEForge 11 days ago
  • tokenizer.json
    712 kB
    duplicate thenlper/gte-small weights, tagged for ANEForge 11 days ago
  • tokenizer_config.json
    394 Bytes
    duplicate thenlper/gte-small weights, tagged for ANEForge 11 days ago
  • vocab.txt
    232 kB
    duplicate thenlper/gte-small weights, tagged for ANEForge 11 days ago