Downloads · 30 days
161
15% of all-time downloads
Nikhil69/Qwen3.5-4B-ebpf-it
Qwen3.5-4B-ebpf-it is a machine learning model from Nikhil69. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a research experiment, not a production model.
Downloads · 30 days
161
15% of all-time downloads
All-time downloads
1K
Public
Repo size
25.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf22.4 GB · 100%
From the Hugging Face model README
This is a research experiment, not a production model.
Can a general-purpose conversational model get a meaningful boost on a niche coding domain with a small synthetic dataset — and if so, what does that imply for coder-specific base models?
eBPF is a good stress test: niche enough that general LLMs hallucinate APIs, with multiple distinct frameworks (Rust/aya, Go/cilium-ebpf, C/libbpf) that each have their own conventions. A model that "knows eBPF" in the conceptual sense still fails to write compilable code.
| Model | pass@1 | libbpf_c | cilium_go | aya_kernel | conceptual |
|---|---|---|---|---|---|
| Qwen3.5-4B baseline | 12.5% (5/40) | 0% | 0% | 0% | 83% |
| This model (fine-tuned) | 22.5% (9/40) | 30% | 0% | 0% | 100% |
+10pp absolute / +80% relative over the untuned base on a 40-problem benchmark.
The improvement is real but narrow — libbpf C benefited most from clean CO-RE style signal in the training data. aya (Rust) and cilium/ebpf (Go) still score 0%; they need more targeted examples.
This used a conversational base model (Qwen3.5-4B), not a code-specialized one. The same pipeline applied to a coder-specific base — Qwen2.5-Coder, DeepSeek-Coder, or similar — should compound: the base model already understands code structure, so domain-specific fine-tuning has a stronger foundation to build on.
This experiment establishes a floor. A coder base model is the logical next step.
unsloth/Qwen3.5-4BFull write-up and eval code: github.com/Nikhil690/ebpf-llm-training-experiment
| File | Quantization | Size |
|---|---|---|
Qwen3.5-4B.F16.gguf | F16 | 8.42 GB |
Qwen3.5-4B.Q8_0.gguf | Q8_0 | 4.48 GB |
Qwen3.5-4B.Q5_K_M.gguf | Q5_K_M | 3.07 GB |
Qwen3.5-4B.Q4_K_M.gguf | Q4_K_M | 2.71 GB |
This model was finetuned and converted to GGUF format using Unsloth.
Example usage:
llama-cli -hf Nikhil69/Qwen3.5-4B-ebpf-it --jinjallama-mtmd-cli -hf Nikhil69/Qwen3.5-4B-ebpf-it --jinjaQwen3.5-4B.F16.ggufQwen3.5-4B.BF16-mmproj.gguf
This was trained 2x faster with Unsloth
<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>