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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

PrunaAI
/
codegemma-7b-it-GGUF-smashed

Pruna AI
GGUF
conversational
Model card Files Files and versions
xet
Community
1

Instructions to use PrunaAI/codegemma-7b-it-GGUF-smashed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Pruna AI

    How to use PrunaAI/codegemma-7b-it-GGUF-smashed with Pruna AI:

    from pruna import PrunaModel
    model = PrunaModel.from_pretrained("PrunaAI/codegemma-7b-it-GGUF-smashed")
    
  • llama-cpp-python

    How to use PrunaAI/codegemma-7b-it-GGUF-smashed with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="PrunaAI/codegemma-7b-it-GGUF-smashed",
    	filename="codegemma-7b-it.IQ3_M.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 PrunaAI/codegemma-7b-it-GGUF-smashed with llama.cpp:

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

    How to use PrunaAI/codegemma-7b-it-GGUF-smashed with Ollama:

    ollama run hf.co/PrunaAI/codegemma-7b-it-GGUF-smashed:Q4_K_M
  • Unsloth Studio new

    How to use PrunaAI/codegemma-7b-it-GGUF-smashed 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 PrunaAI/codegemma-7b-it-GGUF-smashed 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 PrunaAI/codegemma-7b-it-GGUF-smashed to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for PrunaAI/codegemma-7b-it-GGUF-smashed to start chatting
  • Docker Model Runner

    How to use PrunaAI/codegemma-7b-it-GGUF-smashed with Docker Model Runner:

    docker model run hf.co/PrunaAI/codegemma-7b-it-GGUF-smashed:Q4_K_M
  • Lemonade

    How to use PrunaAI/codegemma-7b-it-GGUF-smashed with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull PrunaAI/codegemma-7b-it-GGUF-smashed:Q4_K_M
    Run and chat with the model
    lemonade run user.codegemma-7b-it-GGUF-smashed-Q4_K_M
    List all available models
    lemonade list
codegemma-7b-it-GGUF-smashed
21.7 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 6 commits
johnrachwanpruna's picture
johnrachwanpruna
8987ee3c7468e2b35dece1713f6c33423b3e2b8650360497c4425b5639f6ce55
70193e0 verified about 2 years ago
  • .gitattributes
    1.84 kB
    8987ee3c7468e2b35dece1713f6c33423b3e2b8650360497c4425b5639f6ce55 about 2 years ago
  • codegemma-7b-it.IQ3_M.gguf
    4.11 GB
    xet
    a5d390d582e923f05c778144388a6198cd69891913919808074fac00a0ece4bc about 2 years ago
  • codegemma-7b-it.IQ3_S.gguf
    3.98 GB
    xet
    3cc51962400408800176777391eee02e1c5b459bcf2fc09dfb027a0310a7cded about 2 years ago
  • codegemma-7b-it.IQ3_XS.gguf
    3.8 GB
    xet
    9d50fa302643860d4f44ca47dc2c3a5ac6319718d6c32e4a581ace39bddbcbb3 about 2 years ago
  • codegemma-7b-it.IQ4_NL.gguf
    5.04 GB
    xet
    26fc87742f9a1e918b7c54fe16f82e46f6e53af74ad6262c6dd8377e55f9f860 about 2 years ago
  • codegemma-7b-it.IQ4_XS.gguf
    4.81 GB
    xet
    8987ee3c7468e2b35dece1713f6c33423b3e2b8650360497c4425b5639f6ce55 about 2 years ago