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

mradermacher
/
splade-code-06B-GGUF

Transformers
GGUF
sentence-transformers
English
splade
sparse-encoder
code
feature-extraction
Model card Files Files and versions
xet
Community

Instructions to use mradermacher/splade-code-06B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mradermacher/splade-code-06B-GGUF with Transformers:

    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("mradermacher/splade-code-06B-GGUF", device_map="auto")
  • sentence-transformers

    How to use mradermacher/splade-code-06B-GGUF with sentence-transformers:

    from sentence_transformers import SparseEncoder
    
    model = SparseEncoder("mradermacher/splade-code-06B-GGUF")
    
    queries = ["Which planet is known as the Red Planet?"]
    documents = [
    	"Venus is often called Earth's twin because of its similar size and proximity.",
    	"Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    	"Jupiter, the largest planet in our solar system, has a prominent red spot.",
    ]
    
    query_embeddings = model.encode_query(queries)
    document_embeddings = model.encode_document(documents)
    
    similarities = model.similarity(query_embeddings, document_embeddings)
    print(similarities)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use mradermacher/splade-code-06B-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 mradermacher/splade-code-06B-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf mradermacher/splade-code-06B-GGUF:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf mradermacher/splade-code-06B-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf mradermacher/splade-code-06B-GGUF:Q4_K_M
    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 mradermacher/splade-code-06B-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    ./llama-cli -hf mradermacher/splade-code-06B-GGUF:Q4_K_M
    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 mradermacher/splade-code-06B-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf mradermacher/splade-code-06B-GGUF:Q4_K_M
    Use Docker
    docker model run hf.co/mradermacher/splade-code-06B-GGUF:Q4_K_M
  • LM Studio
  • Jan
  • Ollama

    How to use mradermacher/splade-code-06B-GGUF with Ollama:

    ollama run hf.co/mradermacher/splade-code-06B-GGUF:Q4_K_M
  • Unsloth Desktop
  • Docker Model Runner

    How to use mradermacher/splade-code-06B-GGUF with Docker Model Runner:

    docker model run hf.co/mradermacher/splade-code-06B-GGUF:Q4_K_M
  • Lemonade

    How to use mradermacher/splade-code-06B-GGUF with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull mradermacher/splade-code-06B-GGUF:Q4_K_M
    Run and chat with the model
    lemonade run user.splade-code-06B-GGUF-Q4_K_M
    List all available models
    lemonade list
  • Atomic Chat
splade-code-06B-GGUF
5.7 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
mradermacher's picture
mradermacher
auto-patch README.md
6155ee5 verified 6 months ago
  • .gitattributes
    2.28 kB
    uploaded from leia 6 months ago
  • README.md
    3.7 kB
    auto-patch README.md 6 months ago
  • splade-code-06B.IQ4_XS.gguf
    369 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.Q2_K.gguf
    296 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.Q3_K_L.gguf
    368 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.Q3_K_M.gguf
    347 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.Q3_K_S.gguf
    323 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.Q4_K_M.gguf
    397 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.Q4_K_S.gguf
    383 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.Q5_K_M.gguf
    444 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.Q5_K_S.gguf
    437 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.Q6_K.gguf
    495 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.Q8_0.gguf
    639 MB
    xet
    uploaded from leia 6 months ago
  • splade-code-06B.f16.gguf
    1.2 GB
    xet
    uploaded from leia 6 months ago