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

ggml-org
/
embeddinggemma-300M-qat-q4_0-GGUF

Feature Extraction
sentence-transformers
GGUF
sentence-similarity
Model card Files Files and versions
xet
Community
1

Instructions to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("ggml-org/embeddinggemma-300M-qat-q4_0-GGUF")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
    # Run inference directly in the terminal:
    llama cli -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
    # Run inference directly in the terminal:
    llama cli -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
    Use pre-built binary
    # Download pre-built binary from:
    # https://github.com/ggerganov/llama.cpp/releases
    # Start a local OpenAI-compatible server with a web UI:
    ./llama-server -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
    # Run inference directly in the terminal:
    ./llama-cli -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
    Build from source code
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-server llama-cli
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama-server -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
    Use Docker
    docker model run hf.co/ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
  • LM Studio
  • Jan
  • Ollama

    How to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with Ollama:

    ollama run hf.co/ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
  • Unsloth Desktop
  • Docker Model Runner

    How to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with Docker Model Runner:

    docker model run hf.co/ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
  • Lemonade

    How to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
    Run and chat with the model
    lemonade run user.embeddinggemma-300M-qat-q4_0-GGUF-Q4_0
    List all available models
    lemonade list
  • Atomic Chat
embeddinggemma-300M-qat-q4_0-GGUF
278 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 5 commits
ggerganov's picture
ggerganov HF Staff
olegshulyakov's picture
olegshulyakov
Update README.md (#1)
8dd0ca2 verified about 1 year ago
  • .gitattributes
    1.59 kB
    Upload embeddinggemma-300M-qat-Q4_0.gguf about 1 year ago
  • README.md
    1.51 kB
    Update README.md (#1) about 1 year ago
  • embeddinggemma-300M-qat-Q4_0.gguf
    278 MB
    xet
    Upload embeddinggemma-300M-qat-Q4_0.gguf about 1 year ago