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 Ilya626/gemma-4-E4B-it-SDFT_Heretic: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": "Ilya626/gemma-4-E4B-it-SDFT_Heretic:Q4_K_M"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Ilya626/gemma-4-E4B-it-SDFT_Heretic

This repo stores labeled LoRA and release artifacts for the fixed-teacher SDFT workflow.

Experimental research model. Safety guardrails may be weakened or degraded; use with caution. Outputs may be unsafe, explicit, offensive, illegal, or incorrect. Do not use for harmful or illegal purposes, safety-critical applications, or unsupervised public deployment.

Updated: 2026-04-09T16:15:06+00:00

Downloads last month
243
GGUF
Model size
8B 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