How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf apol/gemma4-12b-it-libre-gguf:Q4_K_M
Configure the model in Pi
# Install Pi:
npm install -g @earendil-works/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "apol/gemma4-12b-it-libre-gguf:Q4_K_M"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Gemma 4 12B IT Libre Q4_K_M GGUF

This repository contains a Q4_K_M GGUF build derived from google/gemma-4-12B-it plus a benign false-refusal reduction adapter merged into the text model.

It is not presented as an "abliterated", uncensored, or safety-control-removal model.

File

  • gemma4-12b-it-libre-Q4_K_M.gguf
  • Size: 7,381,381,696 bytes
  • SHA256: 91327DA68265D228EA79927029BF1DDD7F796520331BC8C9407D6B8A0CEA3C4D
  • Quantization: Q4_K_M
  • Converter/runtime: llama.cpp build b9496

Use

With llama.cpp:

llama-cli -m gemma4-12b-it-libre-Q4_K_M.gguf -p "Hola. Responde en una frase breve:" -n 64

With LM Studio or other GGUF frontends, load the .gguf file directly.

Notes

Use must comply with the base model license and terms. The local conversion was smoke-tested by loading the model with llama-cli; generation entered interactive chat mode, confirming the GGUF could be opened by llama.cpp.

Downloads last month
4
GGUF
Model size
12B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for apol/gemma4-12b-it-libre-gguf

Quantized
(309)
this model