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

  • Log In
  • Sign Up

RedHatAI
/
embeddinggemma-300m

Sentence Similarity
sentence-transformers
PyTorch
google-tensorflow TensorFlow
Rust
ONNX
Safetensors
OpenVINO
gemma3_text
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("RedHatAI/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
embeddinggemma-300m / examples
25.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
robgreenberg3's picture
robgreenberg3
Upload folder using huggingface_hub
b078da4 verified 3 months ago
  • India_900498_S2Hand.tif
    2.15 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • Spain_7370579_S2Hand.tif
    2.32 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • USA_430764_S2Hand.tif
    2.2 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • subsetted_512x512_HLS.S30.T10SEH.2018190.v1.4_merged.tif
    6.3 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • subsetted_512x512_HLS.S30.T10SFF.2018190.v1.4_merged.tif
    6.3 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • subsetted_512x512_HLS.S30.T10SGF.2020217.v1.4_merged.tif
    6.3 MB
    xet
    Upload folder using huggingface_hub 3 months ago