Downloads · 30 days
10
11% of all-time downloads
GalaxyNexus/galaxy-coder-reasoner-v1
galaxy-coder-reasoner-v1 is a text generation model from GalaxyNexus. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
A QLoRA fine-tune of Qwen3.5-9B-DeepSeek-V4-Flash for agentic coding + reasoning.
Downloads · 30 days
10
11% of all-time downloads
All-time downloads
90
Public
Repo size
78.2 MB
Likes
0
Public
Click a slice to open those files.
.safetensors58.2 MB · 74%
From the Hugging Face model README
A QLoRA fine-tune of Qwen3.5-9B-DeepSeek-V4-Flash for agentic coding + reasoning.
| Base model | Jackrong/Qwen3.5-9B-DeepSeek-V4-Flash |
| Architecture | Qwen3.5 (hybrid Gated DeltaNet + Gated Attention, qwen3_5_text) |
| Parameters | 9B total / 29M trainable (LoRA, 0.53%) |
| Fine-tuning | QLoRA (4-bit NF4, double quant, BF16 compute) |
| LoRA config | r=16, α=32, dropout=0.05, all linear layers |
| Training data | 2,893 DeepSeek-R1 reasoning traces (code + math) |
| Hardware | NVIDIA L4 (24GB, Ada Lovelace) on AWS g6.xlarge |
| Runtime | SGLang v0.5.15 (RadixAttention + FP8 + multi-LoRA) |
| License | Apache 2.0 |
This adapter was trained on a curated mix of DeepSeek-R1 chain-of-thought reasoning traces from the open-r1/Mixture-of-Thoughts dataset:
After length filtering (≤8192 tokens), 2,893 examples were used for training.
The base model (Qwen3.5-9B-DeepSeek-V4-Flash) is already a reasoning model distilled from DeepSeek-V4. We fine-tuned it further to:
| Metric | Step 1 | Step 50 | Step 100 |
|---|---|---|---|
| Loss | 0.8839 | 0.5212 | ~0.50 |
| Token accuracy | 73.8% | 83.2% | ~84% |
| Improvement | — | -41% loss | -43% loss |
Loss decreased 43% over 100 steps, with token accuracy climbing from 73.8% to ~84%.
Base model (Qwen3.5-9B-DeepSeek-V4-Flash) scored 10/11 (91%) on our agentic-coding benchmark suite covering Python, Docker, Terraform, Kubernetes, Linux, and reasoning tasks.
# Serve base + adapter via SGLang multi-LoRA
python3 -m sglang.launch_server \
--model-path Qwen3.5-9B-DeepSeek-V4-Flash \
--enable-lora \
--max-lora-rank 16 \
--lora-paths gnx-coder=/path/to/galaxy-coder-reasoner-v1 \
--quantization fp8 \
--kv-cache-dtype fp8 \
--trust-remote-code \
--mem-fraction-static 0.88
Then call the adapter:
import openai
client = openai.OpenAI(base_url="http://localhost:8000/v1", api_key="...")
response = client.chat.completions.create(
model="gnx-coder", # ← use the adapter name
messages=[{"role": "user", "content": "Write a Terraform S3 bucket with versioning"}]
)
@misc{galaxynexus_coder_reasoner_v1,
title={Galaxy Nexus Coder-Reasoner v1: QLoRA Fine-tune of Qwen3.5-9B for Agentic Coding},
author={Galaxy Nexus AI},
year={2026},
url={https://huggingface.co/GalaxyNexus/galaxy-coder-reasoner-v1}
}
Apache 2.0 — commercial use permitted.