Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

headwAI
/
embeddinggemma-300m

Sentence Similarity
sentence-transformers
Safetensors
English
German
gemma3_text
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use headwAI/embeddinggemma-300m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use headwAI/embeddinggemma-300m with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("headwAI/embeddinggemma-300m")
    
    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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Update model card: Add GitHub link and refine pipeline tag for EmbeddingGemma

#1 opened 7 months ago by
nielsr
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs