Instructions to use AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2 with 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 AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M # Run inference directly in the terminal: llama cli -hf AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M # Run inference directly in the terminal: llama cli -hf AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
Use Docker
docker model run hf.co/AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
- Ollama
How to use AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2 with Ollama:
ollama run hf.co/AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
- Unsloth Desktop
- Pi
How to use AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2 with Docker Model Runner:
docker model run hf.co/AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
- Lemonade
How to use AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
Run and chat with the model
lemonade run user.Qwen2.5-Coder-7B-Instruct-DatasetGen-v2-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "AronDaron/Qwen2.5-Coder-7B-Instruct-DatasetGen-v2:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,97 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Qwen/Qwen2.5-Coder-7B-Instruct
|
| 4 |
+
tags:
|
| 5 |
+
- code
|
| 6 |
+
- fine-tune
|
| 7 |
+
- qwen
|
| 8 |
+
- coding-assistant
|
| 9 |
+
- gguf
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Qwen2.5-Coder-7B-Instruct — Dataset Generator V2 Fine-tune
|
| 16 |
+
|
| 17 |
+
Fine-tuned version of [Qwen2.5-Coder-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct)
|
| 18 |
+
trained on [Dataset Generator V2](https://huggingface.co/datasets/AronDaron/dataset-gen-v2)
|
| 19 |
+
— synthetic coding dataset generated with [Dataset Generator](https://github.com/AronDaron/dataset-generator).
|
| 20 |
+
|
| 21 |
+
## Benchmark Results
|
| 22 |
+
|
| 23 |
+
| Model | HumanEval | HumanEval+ |
|
| 24 |
+
|---|---|---|
|
| 25 |
+
| Base Qwen2.5-Coder-7B-Instruct | 55.5% (±2.1) | 49.0% (±1.9) |
|
| 26 |
+
| **This model (FT V2)** | **60.0% (±0.9)** | **54.0% (±1.8)** |
|
| 27 |
+
|
| 28 |
+
**+4.5pp on HumanEval, +5.0pp on HumanEval+** vs base — error bars don't
|
| 29 |
+
overlap, statistically significant improvement (5 runs averaged).
|
| 30 |
+
|
| 31 |
+
<img src="./benchmark-v2.png" alt="Benchmark" width="600">
|
| 32 |
+
|
| 33 |
+
## Training
|
| 34 |
+
|
| 35 |
+
- **Method:** QLoRA
|
| 36 |
+
- **Base model:** Qwen2.5-Coder-7B-Instruct
|
| 37 |
+
- **Dataset:** Dataset Generator V2 (1,135 multi-turn examples after dedup)
|
| 38 |
+
- **Quantization:** Q4_K_M GGUF (served via Ollama)
|
| 39 |
+
|
| 40 |
+
## Usage
|
| 41 |
+
|
| 42 |
+
### Ollama
|
| 43 |
+
|
| 44 |
+
\`\`\`bash
|
| 45 |
+
ollama pull AronDaron/qwen2.5-coder-7b-datasetgen-v2
|
| 46 |
+
ollama run AronDaron/qwen2.5-coder-7b-datasetgen-v2
|
| 47 |
+
\`\`\`
|
| 48 |
+
|
| 49 |
+
### llama.cpp
|
| 50 |
+
|
| 51 |
+
\`\`\`bash
|
| 52 |
+
./main -m qwen2.5-coder-7b-datasetgen-v2-q4_k_m.gguf -p "Write a Python function to..."
|
| 53 |
+
\`\`\`
|
| 54 |
+
|
| 55 |
+
## Training Data
|
| 56 |
+
|
| 57 |
+
Trained on [Dataset Generator V2](https://huggingface.co/datasets/AronDaron/dataset-gen-v2)
|
| 58 |
+
— 1,135 multi-turn conversations across 8 coding categories:
|
| 59 |
+
|
| 60 |
+
- Code Generation & Debugging
|
| 61 |
+
- API, DevOps & Infrastructure
|
| 62 |
+
- Architecture, Testing & Refactoring
|
| 63 |
+
- Terminal, CLI & Tooling
|
| 64 |
+
- Algorithms & Data Manipulation
|
| 65 |
+
- Data Processing & Transformation
|
| 66 |
+
- Code Reasoning & Review
|
| 67 |
+
- Practical Multi-step Problem Solving
|
| 68 |
+
|
| 69 |
+
See the [dataset card](https://huggingface.co/datasets/AronDaron/dataset-gen-v2)
|
| 70 |
+
for full details including generation models and methodology.
|
| 71 |
+
|
| 72 |
+
## Training
|
| 73 |
+
|
| 74 |
+
- **Method:** QLoRA fine-tuning
|
| 75 |
+
- **Base model:** Qwen2.5-Coder-7B-Instruct
|
| 76 |
+
- **Dataset:** Dataset Generator V2 (1,135 multi-turn examples)
|
| 77 |
+
- **Hardware:** RTX 4070 Ti 16GB
|
| 78 |
+
- **Quantization:** Q4_K_M GGUF (served via Ollama)
|
| 79 |
+
- **Evaluation:** 5 runs on HumanEval/HumanEval+
|
| 80 |
+
|
| 81 |
+
Training logs and exact hyperparameters were not preserved — this was
|
| 82 |
+
an exploratory fine-tune.
|
| 83 |
+
|
| 84 |
+
## Limitations
|
| 85 |
+
|
| 86 |
+
- **Optimized for algorithmic coding and reasoning** — shows measurable
|
| 87 |
+
improvement on HumanEval/HumanEval+
|
| 88 |
+
- **Not optimized for library-heavy workflows** (pandas, numpy, requests) —
|
| 89 |
+
for those use cases, train on a dataset with library-focused categories
|
| 90 |
+
using [Dataset Generator](https://github.com/AronDaron/dataset-generator)
|
| 91 |
+
- **Multi-turn conversational style** — produces explanations alongside code
|
| 92 |
+
|
| 93 |
+
## License
|
| 94 |
+
|
| 95 |
+
Apache-2.0 — inherited from base model Qwen2.5-Coder-7B-Instruct.
|
| 96 |
+
|
| 97 |
+
Built with [Dataset Generator](https://github.com/AronDaron/dataset-generator).
|