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

  • Log In
  • Sign Up

TeamDelta
/
gemma_coder_9b

Safetensors
GGUF
gemma2
conversational
Model card Files Files and versions
xet
Community

Instructions to use TeamDelta/gemma_coder_9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • llama-cpp-python

    How to use TeamDelta/gemma_coder_9b with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="TeamDelta/gemma_coder_9b",
    	filename="unsloth.BF16.gguf",
    )
    
    llm.create_chat_completion(
    	messages = "No input example has been defined for this model task."
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • llama.cpp

    How to use TeamDelta/gemma_coder_9b with llama.cpp:

    Install from brew
    brew install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf TeamDelta/gemma_coder_9b:BF16
    # Run inference directly in the terminal:
    llama-cli -hf TeamDelta/gemma_coder_9b:BF16
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf TeamDelta/gemma_coder_9b:BF16
    # Run inference directly in the terminal:
    llama-cli -hf TeamDelta/gemma_coder_9b:BF16
    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 TeamDelta/gemma_coder_9b:BF16
    # Run inference directly in the terminal:
    ./llama-cli -hf TeamDelta/gemma_coder_9b:BF16
    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 TeamDelta/gemma_coder_9b:BF16
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf TeamDelta/gemma_coder_9b:BF16
    Use Docker
    docker model run hf.co/TeamDelta/gemma_coder_9b:BF16
  • LM Studio
  • Jan
  • Ollama

    How to use TeamDelta/gemma_coder_9b with Ollama:

    ollama run hf.co/TeamDelta/gemma_coder_9b:BF16
  • Unsloth Studio new

    How to use TeamDelta/gemma_coder_9b with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for TeamDelta/gemma_coder_9b to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for TeamDelta/gemma_coder_9b to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for TeamDelta/gemma_coder_9b to start chatting
  • Docker Model Runner

    How to use TeamDelta/gemma_coder_9b with Docker Model Runner:

    docker model run hf.co/TeamDelta/gemma_coder_9b:BF16
  • Lemonade

    How to use TeamDelta/gemma_coder_9b with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull TeamDelta/gemma_coder_9b:BF16
    Run and chat with the model
    lemonade run user.gemma_coder_9b-BF16
    List all available models
    lemonade list
gemma_coder_9b
71 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Holy-fox's picture
Holy-fox
Upload logical_9b_zip.zip
60b9f7d verified over 1 year ago
  • .gitattributes
    1.68 kB
    Upload 13 files over 1 year ago
  • README.md
    26 Bytes
    initial commit over 1 year ago
  • config.json
    1.02 kB
    Upload 13 files over 1 year ago
  • generation_config.json
    190 Bytes
    Upload 13 files over 1 year ago
  • logical_9b_zip.zip
    28.2 GB
    xet
    Upload logical_9b_zip.zip over 1 year ago
  • model-00001-of-00004.safetensors
    4.9 GB
    xet
    Upload 13 files over 1 year ago
  • model-00002-of-00004.safetensors
    4.95 GB
    xet
    Upload 13 files over 1 year ago
  • model-00003-of-00004.safetensors
    4.96 GB
    xet
    Upload 13 files over 1 year ago
  • model-00004-of-00004.safetensors
    3.67 GB
    xet
    Upload 13 files over 1 year ago
  • model.safetensors.index.json
    39.1 kB
    Upload 13 files over 1 year ago
  • special_tokens_map.json
    636 Bytes
    Upload 13 files over 1 year ago
  • tokenizer.json
    17.5 MB
    xet
    Upload 13 files over 1 year ago
  • tokenizer.model
    4.24 MB
    xet
    Upload 13 files over 1 year ago
  • tokenizer_config.json
    47 kB
    Upload 13 files over 1 year ago
  • unsloth.BF16.gguf
    18.5 GB
    xet
    Upload 13 files over 1 year ago
  • unsloth.Q4_K_M.gguf
    5.76 GB
    xet
    Upload 13 files over 1 year ago