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 teolm30/Ult1-coding:Q8_0
# Run inference directly in the terminal:
llama cli -hf teolm30/Ult1-coding:Q8_0
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf teolm30/Ult1-coding:Q8_0
# Run inference directly in the terminal:
llama cli -hf teolm30/Ult1-coding:Q8_0
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 teolm30/Ult1-coding:Q8_0
# Run inference directly in the terminal:
./llama-cli -hf teolm30/Ult1-coding:Q8_0
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 teolm30/Ult1-coding:Q8_0
# Run inference directly in the terminal:
./build/bin/llama-cli -hf teolm30/Ult1-coding:Q8_0
Use Docker
docker model run hf.co/teolm30/Ult1-coding:Q8_0
Quick Links

Ult1-Coding

A 3-billion-parameter coding specialist -- master-level software engineer.

Based on Qwen2.5-3B-Instruct with an embedded master programmer system prompt containing few-shot coding demonstrations and a coding-focused LoRA adapter (rank 16, 8 target module types).

Usage:

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("teolm30/Ult1-coding")
tokenizer = AutoTokenizer.from_pretrained("teolm30/Ult1-coding")

messages = [{"role": "user", "content": "Write a Python async web scraper with retry logic"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

The system prompt with few-shot examples is auto-injected by the chat template - no manual system prompt needed.

GGUF: Download Ult1-Coding-Q8_0.gguf for CPU inference with llama.cpp.

Training Data: training_data.json contains 10 coding Q&A pairs (Python, JavaScript, Rust, SQL, TypeScript, Go). Use with train.py on a GPU.

Details:

  • Base: Qwen2.5-3B-Instruct (3B params)
  • LoRA: Rank 16, targets q/k/v/o + gate/up/down projections
  • Context: 32,768 tokens
  • Focus: Code generation, algorithms, system design, debugging
Downloads last month
94
GGUF
Model size
3B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

8-bit

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

Model tree for teolm30/Ult1-coding

Base model

Qwen/Qwen2.5-3B
Adapter
(1306)
this model