Instructions to use lionpromax/qwen-code-finetuned 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 lionpromax/qwen-code-finetuned 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 lionpromax/qwen-code-finetuned:Q4_K_M # Run inference directly in the terminal: llama cli -hf lionpromax/qwen-code-finetuned:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf lionpromax/qwen-code-finetuned:Q4_K_M # Run inference directly in the terminal: llama cli -hf lionpromax/qwen-code-finetuned: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 lionpromax/qwen-code-finetuned:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf lionpromax/qwen-code-finetuned:Q4_K_M
Use Docker
docker model run hf.co/lionpromax/qwen-code-finetuned:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use lionpromax/qwen-code-finetuned with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lionpromax/qwen-code-finetuned" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lionpromax/qwen-code-finetuned", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/lionpromax/qwen-code-finetuned:Q4_K_M
- Ollama
How to use lionpromax/qwen-code-finetuned with Ollama:
ollama run hf.co/lionpromax/qwen-code-finetuned:Q4_K_M
- Unsloth Desktop
- Pi
How to use lionpromax/qwen-code-finetuned with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lionpromax/qwen-code-finetuned: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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "lionpromax/qwen-code-finetuned:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use lionpromax/qwen-code-finetuned with Docker Model Runner:
docker model run hf.co/lionpromax/qwen-code-finetuned:Q4_K_M
- Lemonade
How to use lionpromax/qwen-code-finetuned with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lionpromax/qwen-code-finetuned:Q4_K_M
Run and chat with the model
lemonade run user.qwen-code-finetuned-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use lionpromax/qwen-code-finetuned with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lionpromax/qwen-code-finetuned: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:8080/v1 hermes config set model.default lionpromax/qwen-code-finetuned:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use lionpromax/qwen-code-finetuned with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lionpromax/qwen-code-finetuned: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:8080/v1 \ --custom-model-id "lionpromax/qwen-code-finetuned: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"
QwenCoder 3B Custom v1
An experimental code-focused fine-tune of Qwen2.5-Coder-3B-Instruct.
Model information
| Property | Value |
|---|---|
| Architecture | Qwen2 |
| Base model | Qwen2.5-Coder-3B-Instruct |
| Parameters | 3B |
| Fine-tuning | QLoRA / LoRA |
| LoRA rank | 16 |
| Training examples | 1,024 |
| Training epochs | 1 |
| Training steps | 128 |
| Training GPU | NVIDIA Tesla T4 |
| Merged format | FP16 |
| Quantization | Q4_K_M |
| GGUF size | Approximately 1.8 GB |
Available versions
FP16
The root directory contains the merged FP16 model, configuration and tokenizer.
Compatible with Hugging Face Transformers.
GGUF Q4_K_M
The gguf directory contains the quantized GGUF model and an Ollama Modelfile.
Compatible with llama.cpp and Ollama.
Training datasets
- Magicoder OSS Instruct 75K
- CodeFeedback Filtered Instruction
The final training run used 1,024 sampled examples from the combined dataset.
Original datasets: https://huggingface.co/datasets/ise-uiuc/Magicoder-OSS-Instruct-75K https://huggingface.co/datasets/m-a-p/CodeFeedback-Filtered-Instruction
Preliminary tests
The GGUF version was loaded successfully with llama.cpp.
- Python Fibonacci generation: basic test passed.
- Russian-language generation: passed.
- C++ duplicate-removal test: failed to preserve the original element order.
These are preliminary manual tests, not a formal benchmark.
Limitations
This is a small experimental fine-tune, not a model trained from scratch.
Generated code must be reviewed and tested.
License
The base model is distributed under the Qwen Research license. Please review the original license before redistribution or commercial use.
https://huggingface.co/Qwen/Qwen2.5-Coder-3B-Instruct
The training datasets have their own licenses and usage conditions.
- Downloads last month
- 42