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

jrc2139
/
embeddinggemma-300m-qat-q8_0-unquantized-ONNX

Feature Extraction
sentence-transformers
ONNX
Safetensors
Transformers
gemma3_text
onnxruntime
reranker
int8
int4
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use jrc2139/embeddinggemma-300m-qat-q8_0-unquantized-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use jrc2139/embeddinggemma-300m-qat-q8_0-unquantized-ONNX with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jrc2139/embeddinggemma-300m-qat-q8_0-unquantized-ONNX")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Transformers

    How to use jrc2139/embeddinggemma-300m-qat-q8_0-unquantized-ONNX with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="jrc2139/embeddinggemma-300m-qat-q8_0-unquantized-ONNX")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("jrc2139/embeddinggemma-300m-qat-q8_0-unquantized-ONNX")
    model = AutoModel.from_pretrained("jrc2139/embeddinggemma-300m-qat-q8_0-unquantized-ONNX", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
embeddinggemma-300m-qat-q8_0-unquantized-ONNX
2.67 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
jrc2139's picture
jrc2139
Upload folder using huggingface_hub
340475c verified 3 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 3 months ago
  • 2_Dense
    Upload folder using huggingface_hub 3 months ago
  • 3_Dense
    Upload folder using huggingface_hub 3 months ago
  • onnx
    Upload folder using huggingface_hub 3 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 6 months ago
  • README.md
    776 Bytes
    Upload folder using huggingface_hub 3 months ago
  • config.json
    1.48 kB
    Upload folder using huggingface_hub 3 months ago
  • config_sentence_transformers.json
    987 Bytes
    Upload folder using huggingface_hub 3 months ago
  • modules.json
    677 Bytes
    Upload folder using huggingface_hub 3 months ago
  • sentence_bert_config.json
    241 Bytes
    Upload folder using huggingface_hub 3 months ago
  • special_tokens_map.json
    662 Bytes
    Upload folder using huggingface_hub 6 months ago
  • tokenizer.json
    33.4 MB
    xet
    Upload folder using huggingface_hub 6 months ago
  • tokenizer_config.json
    1.16 MB
    Upload folder using huggingface_hub 6 months ago