Views
No views yet
| Property | Value |
|---|---|
| Base model | Qwen/Qwen3.5-0.8B-Base |
| Method | QLoRA (4-bit base + LoRA r=16, alpha=32) |
| Trainable params | 6.4M / 759M (0.84%) |
| Dataset | CodeSearchNet Python — 408K samples (13,590 repos) |
| Task | Docstring → Python function code |
| Sequence length | 2048 |
| Precision | BF16 |
| Hardware | NVIDIA RTX 4060 8GB |
| Metric | Value |
|---|---|
| Train loss | 0.330 |
| Eval loss | 1.214 |
| Steps | 25,524 (1 epoch) |
| Runtime | ~25.7h |
| Benchmark | Base | Fine-tuned | Improvement |
|---|---|---|---|
| HumanEval | 1.2% | 17.7% | 14.5x |
| MBPP | 0.0% | 0.2% | 0 → 1 |
reports/evaluation_report.md in the training repo.1from unsloth import FastLanguageModel
2
3model, tokenizer = FastLanguageModel.from_pretrained(
4 "Qwen/Qwen3.5-0.8B-Base",
5 max_seq_length=2048,
6 load_in_4bit=True,
7)
8model, tokenizer = FastLanguageModel.from_pretrained(
9 "jaweed123/Qwen3.5-0.8B-Python-SFT",
10 max_seq_length=2048,
11 load_in_4bit=True,
12)1# llama.cpp
2llama-cli -m qwen3.5-0.8b-python-sft-q4_k_m.gguf -p "Write a Python function that..."
3
4# Ollama
5ollama create qwen3.5-python -f Modelfile1# Modelfile
2FROM qwen3.5-0.8b-python-sft-q4_k_m.gguf
3TEMPLATE "{{ if .System }}<|im_start|>system
4{{ .System }}<|im_end|>
5{{ end }}<|im_start|>user
6{{ .Prompt }}<|im_end|>
7<|im_start|>assistant
8"| File | Description |
|---|---|
adapter_model.safetensors | LoRA adapter (small, ~13MB) |
model.safetensors | Merged 16-bit model |
qwen3.5-0.8b-python-sft-q4_k_m.gguf | GGUF Q4_K_M (~0.5GB) |
qwen3.5-0.8b-python-sft-q8_0.gguf | GGUF Q8_0 (~0.9GB) |
qwen3.5-0.8b-python-sft-f16.gguf | GGUF F16 |