How to use from
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 qwp4w3hyb/gemma-2-9b-it-iMat-GGUF:
# Run inference directly in the terminal:
llama cli -hf qwp4w3hyb/gemma-2-9b-it-iMat-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf qwp4w3hyb/gemma-2-9b-it-iMat-GGUF:
# Run inference directly in the terminal:
llama cli -hf qwp4w3hyb/gemma-2-9b-it-iMat-GGUF:
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 qwp4w3hyb/gemma-2-9b-it-iMat-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf qwp4w3hyb/gemma-2-9b-it-iMat-GGUF:
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 qwp4w3hyb/gemma-2-9b-it-iMat-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf qwp4w3hyb/gemma-2-9b-it-iMat-GGUF:
Use Docker
docker model run hf.co/qwp4w3hyb/gemma-2-9b-it-iMat-GGUF:
Quick Links

Quant Infos

Updated for all recent llama.cpp fixes (final logit soft capping+sliding window+tokenizer)

  • quants done with an importance matrix for improved quantization loss
  • Requantized ggufs & imatrix from hf bf16
    • initial version was based on f32 gguf provided by google, which had various issues
    • also updated for all recent llama.cpp fixes (final logit soft capping+sliding window+tokenizer)
  • Wide coverage of different gguf quant types from Q_8_0 down to IQ1_S
    • experimental custom quant types
      • _L with --output-tensor-type f16 --token-embedding-type f16 (same as bartowski's)
  • Quantized with llama.cpp commit 5fac350b9cc49d0446fc291b9c4ad53666c77591 (master from 2024-07-02)
  • Imatrix generated with this multi-purpose dataset by bartowski.
    ./imatrix -m $model_name-bf16.gguf -f calibration_datav3.txt -o $model_name.imatrix
    

Original Model Card

TODO

Downloads last month
631
GGUF
Model size
9B params
Architecture
gemma2
Hardware compatibility
Log In to add your hardware

1-bit

2-bit

3-bit

4-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for qwp4w3hyb/gemma-2-9b-it-iMat-GGUF

Quantized
(172)
this model