Non-commercial access request

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

This model is licensed under the Taimwe Non-Commercial License 1.0 (https://huggingface.co/Taimwe/qwen2.5-coder-7b-pro-merged/blob/main/LICENSE). By requesting access you confirm that you will use it only for non-commercial purposes - personal projects, academic research, teaching or evaluation - and that your username and email address are shared with the model author. Commercial use requires a separate licence; see the LICENSE file.

Log in or Sign Up to review the conditions and access this model content.

Qwen2.5-Coder-7B-Pro (merged, GGUF)

GGUF export of the merged fine-tune Taimwe/qwen2.5-coder-7b-pro, built on Qwen2.5-Coder-7B-Instruct. The LoRA adapter Taimwe/qwen2.5-coder-7b-pro was merged into the base model and converted to GGUF with Unsloth / llama.cpp.

  • Architecture: Qwen2ForCausalLM (qwen2), 7.6 B parameters
  • Native context: 32768 tokens
  • Chat template: Qwen ChatML (<|im_start|> / <|im_end|>), with tool calling
  • Quantisation: see the table below

Files

File Quant Size Notes
qwen2.5-coder-7b-instruct.Q4_K_M.gguf Q4_K_M 4.7 GB best size/quality trade-off; runs on 8 GB GPUs or CPU

More quantisations (Q5_K_M, Q6_K, Q8_0) are welcome via PRs - see Contributing quants.

Run it with llama.cpp

# one-shot prompt
llama cli -hf Taimwe/qwen2.5-coder-7b-pro-merged:Q4_K_M --jinja

# OpenAI-compatible server on http://localhost:8080
llama serve -hf Taimwe/qwen2.5-coder-7b-pro-merged:Q4_K_M \
  --host 0.0.0.0 --port 8080 -ngl 99 -c 8192 --jinja

curl localhost:8080/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"messages":[{"role":"user","content":"write a python fizzbuzz"}],
       "model":"local"}'

--jinja is recommended: it enables the tool-calling template stored in the GGUF, which agentic clients (Cline, Continue, Roo) rely on.

Legacy binaries (llama-cli, llama-server) accept the same -hf argument.

Run it with Ollama

ollama run hf.co/Taimwe/qwen2.5-coder-7b-pro-merged:Q4_K_M

A ready-to-use Modelfile is included in this repository. Note that this downloads the weights to your machine (local inference).

Run it without owning a GPU

The model is self-contained GGUF, so it can be served on rented or free cloud compute with the llama.cpp container:

# Hugging Face Jobs - pulls the GGUF server-side, exposes an OpenAI-compatible URL
hf jobs run --detach --expose 8080 --flavor t4-small -s HF_TOKEN \
  ghcr.io/ggml-org/llama.cpp:server-cuda -- \
  /app/llama serve -hf Taimwe/qwen2.5-coder-7b-pro-merged:Q4_K_M \
  --host 0.0.0.0 --port 8080 -ngl 99 -c 8192 --jinja

Prompt format

ChatML, exactly as upstream Qwen2.5:

<|im_start|>system
You are a helpful coding assistant.<|im_end|>
<|im_start|>user
Write a binary search in Rust.<|im_end|>
<|im_start|>assistant

Tool calls use the <tools> / <tool_call> XML envelope emitted by the template in the GGUF metadata, so no extra prompt engineering is required.

Training and export pipeline

Reconstructed from the repository history - every step is verifiable in the commit log of this repository and of the adapter repository:

Step Detail
Fine-tune LoRA / 4-bit QLoRA, trained in Google Colab with Unsloth + TRL (PEFT 0.20.0)
Adapter Taimwe/qwen2.5-coder-7b-pro - rank 16, alpha 16, dropout 0, all attention + MLP projections; pushed 2026-09-20 06:35 UTC
LoRA-in-GGUF (optional path) Taimwe/qwen2.5-coder-7b-pro-F16-GGUF, 2026-09-20 07:38 UTC
Merge + GGUF export Unsloth's GGUF export from the same notebook: commits "Trained with Unsloth", "- config", "- Ollama Modelfile" at 2026-09-20 09:20 UTC (this is also where the included Modelfile and config.json come from)
Quantisation Q4_K_M -> qwen2.5-coder-7b-instruct.Q4_K_M.gguf (4.68 GB)

Known gaps

No fine-tuning data is published: the dataset, the number of steps/epochs, the learning rate, the training sequence length, the exact GPU and any evaluation numbers are absent from this account (it contains no datasets and the repositories contain no training logs). Until they are added, the effect of the fine-tune relative to Qwen/Qwen2.5-Coder-7B-Instruct is unverified.

Evaluation

No benchmark numbers have been published for this merge. Treat the deltas versus Qwen/Qwen2.5-Coder-7B-Instruct as unverified until measured (HumanEval, MBPP, or the Qwen2.5-Coder eval suite).

Limitations

  • Inherits all limitations of Qwen2.5-Coder-7B-Instruct, including weaker performance outside English and on very long reasoning chains.
  • A 7.6 B model cannot match ~30 B+ coders on complex repository-scale tasks.
  • Quantisation (Q4_K_M) costs a small amount of accuracy versus the F16 merge.

Contributing quants

# from the F16 GGUF of the merge
llama-quantize model-f16.gguf model-Q5_K_M.gguf Q5_K_M
# then open a PR against this repository

Licence and attribution

Released under Apache-2.0, following Qwen2.5-Coder-7B-Instruct (Apache-2.0). Please keep this licence and attribution if you redistribute.

Fine-tuned and exported with Unsloth, converted with llama.cpp.

Downloads last month
231
GGUF
Model size
8B 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 Taimwe/qwen2.5-coder-7b-pro-merged

Base model

Qwen/Qwen2.5-7B
Quantized
(245)
this model