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 koshuro/Llama-3B-Coder:
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": "koshuro/Llama-3B-Coder:"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Llama-3B-Coder : GGUF

This model was fine tuned using 1 Billion tokens of Alpaca format code feedback (the dataset is linked). This model is the first of many, I plan to run a full epoch of this dataset soon, and update the model along with it, currently ive only done around 10% of an epoch.

Example usage:

  • For text only LLMs: llama-cli -hf koshuro/Llama-3B-Coder --jinja
  • For multimodal models: llama-mtmd-cli -hf koshuro/Llama-3B-Coder --jinja

Benchmarks

On basic reasoning, math, and ela benchmarks, this model scored close to its base model, and near the same score as google/gemma-3n-e4b.

compare_bar_objective

Available Model files:

  • llama-3.2-3b-instruct.Q5_K_M.gguf
  • llama-3.2-3b-instruct.F16.gguf
  • llama-3.2-3b-instruct.Q4_K_M.gguf
  • llama-3.2-3b-instruct.Q8_0.gguf
Downloads last month
1,773
GGUF
Model size
3B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

8-bit

16-bit

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

Model tree for koshuro/Llama-3B-Coder

Quantized
(500)
this model

Dataset used to train koshuro/Llama-3B-Coder