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 code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M
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 code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M
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 code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/code2lora/Qwen2.5-Coder-1.5B-GGUF:Q4_K_M
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