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 code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Qwen2.5-Coder-1.5B (base) โ€” GGUF for Code2LoRA

A GGUF conversion of the base (non-instruct) Qwen/Qwen2.5-Coder-1.5B, quantized to Q4_K_M, for use as the frozen base model of the Code2LoRA terminal tool (pip install code2lora) via the gguf/llama.cpp backend.

The base (not Instruct) weights are required so the repo-conditioned LoRA adapters injected by Code2LoRA match the model they were generated for.

File: qwen2.5-coder-1.5b-q4_k_m.gguf (~986 MB).

Downloads last month
97
GGUF
Model size
2B params
Architecture
qwen2
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 code2lora/Qwen2.5-Coder-1.5B-GGUF

Quantized
(48)
this model