Instructions to use ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF 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 ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF 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 ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf ahmetggg/Luck-Qwen3-4b-Code-FineTune-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 ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf ahmetggg/Luck-Qwen3-4b-Code-FineTune-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 ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf ahmetggg/Luck-Qwen3-4b-Code-FineTune-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 ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M
Use Docker
docker model run hf.co/ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF with Ollama:
ollama run hf.co/ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF: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": "ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF with Docker Model Runner:
docker model run hf.co/ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M
- Lemonade
How to use ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Luck-Qwen3-4b-Code-FineTune-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF: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 ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF: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 "ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF: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"
Luck-Qwen3-4b-Code-FineTune-GGUF
This repository contains official GGUF quantizations for ahmetggg/Luck-Qwen3-4b-Code-FineTune (a 4.05B parameter QLoRA fine-tune optimized for agentic coding, tool use, multi-step reasoning, and calibrated uncertainty). Complete training logs, dataset details, and base weights are in the main repository.
======================================================================== SCORES
category base fine-tune delta
tool 93.8% 0.0% -93.8pp multistep 90.0% 0.0% -90.0pp calib_answer 100.0% 87.5% -12.5pp calib_idk 100.0% 10.0% -90.0pp reason 100.0% 100.0% +0.0pp code 87.5% 0.0% -87.5pp agent 100.0% 50.0% -50.0pp
FOCUS avg 95.9% 15.0% -80.9pp CALIBRATION 100.0% 48.8% -51.2pp MACRO avg 95.9% 35.4% -60.5pp
KARAR: KALDI
- FOCUS ortalama geriledi; fine-tune bu sette fayda gรถstermedi.
- IDK setinde iyileลme yok; belirsizlik kalibrasyonu bu sette gรถrรผnmedi.
- Tool-call skoru dรผลmรผล; ลablon kaymasฤฑ olabilir.
- Kod pass oranฤฑ dรผลmรผล โ tavan/genel coding gerilemesi var, iddia ile รงeliลebilir.
- Bu SWE-bench / BFCL deฤildir. Hold-out mini set: tool format, ilk-aksiyon, R-Tuning tarzฤฑ IDK, kฤฑsa muhakeme, unit-test kod, repo-ajan muhakemesi.
elapsed: 12.1 min raw: /content/luck_eval_results/raw_results.json
Provided Quantizations
All files are located in the repository root, generated via llama.cpp's convert_hf_to_gguf.py and llama-quantize.
| Quant | File Name | Size | Notes |
|---|---|---|---|
| F16 | Luck-Qwen3-4B-F16.gguf | ~8.1 GB | Unquantized full precision |
| Q8_0 | Luck-Qwen3-4B-Q8_0.gguf | ~4.3 GB | Extremely high fidelity |
| Q6_K | Luck-Qwen3-4B-Q6_K.gguf | ~3.4 GB | Near-lossless quality |
| Q5_K_M | Luck-Qwen3-4B-Q5_K_M.gguf | ~2.9 GB | High quality, low loss |
| Q5_K_S | Luck-Qwen3-4B-Q5_K_S.gguf | ~2.7 GB | Slightly smaller Q5 variant |
| Q4_K_M | Luck-Qwen3-4B-Q4_K_M.gguf | ~2.5 GB | Recommended: Optimal speed/quality balance |
| Q4_K_S | Luck-Qwen3-4B-Q4_K_S.gguf | ~2.3 GB | Compact 4-bit quantization |
| IQ4_NL | Luck-Qwen3-4B-IQ4_NL.gguf | ~2.2 GB | Non-linear 4-bit quantization |
| IQ4_XS | Luck-Qwen3-4B-IQ4_XS.gguf | ~2.1 GB | Extra small 4-bit quantization |
| Q3_K_M | Luck-Qwen3-4B-Q3_K_M.gguf | ~1.9 GB | Medium 3-bit quantization |
| Q3_K_S | Luck-Qwen3-4B-Q3_K_S.gguf | ~1.8 GB | Small 3-bit quantization |
| IQ3_M | Luck-Qwen3-4B-IQ3_M.gguf | ~1.7 GB | Advanced 3-bit quantization |
| IQ3_XS | Luck-Qwen3-4B-IQ3_XS.gguf | ~1.5 GB | Extra small 3-bit quantization |
| Q2_K | Luck-Qwen3-4B-Q2_K.gguf | ~1.4 GB | High compression, lower accuracy |
| IQ2_M | Luck-Qwen3-4B-IQ2_M.gguf | ~1.3 GB | Extreme compression |
Usage Instructions
Use with llama.cpp
Run directly using Hugging Face integration:
./llama-cli -hf ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M -p "Write a Python script to parse JSON."
Use with Ollama
Run directly via the Hugging Face hub integration:
ollama run hf.co/ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF:Q4_K_M
Use with LM Studio
Search for ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF within the LM Studio search bar and download your desired quantization directly.
Note: Standard downstream benchmarks (SWE-bench, BFCL, etc.) have not been conducted yet; results will be published once available.
- Downloads last month
- 400
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for ahmetggg/Luck-Qwen3-4b-Code-FineTune-GGUF
Base model
Qwen/Qwen3-4B-Instruct-2507