Downloads · 30 days
5
13% of all-time downloads
DiogenesChen122/Qwen3.6-27B-DrSparse-GRPO
Qwen3.6-27B-DrSparse-GRPO is a text generation model from DiogenesChen122. 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.
LoRA adapter fine-tuned on top of Qwen/Qwen3.6-27B with GRPO (Dr.GRPO variant) to improve reasoning-driven sparse-matrix kernel authoring for the Dr.Sparse project.
Downloads · 30 days
5
13% of all-time downloads
All-time downloads
38
Public
Repo size
2 GB
Likes
0
Public
Click a slice to open those files.
.safetensors2 GB · 99%
From the Hugging Face model README
LoRA adapter fine-tuned on top of Qwen/Qwen3.6-27B
with GRPO (Dr.GRPO variant) to improve reasoning-driven sparse-matrix kernel
authoring for the Dr.Sparse project.
The trained model produces multi-turn plans and iteratively refines CUDA/cuSPARSE kernels; each rollout is graded by a compiled+profiled reward server (compute-sanitizer memcheck gate + cuSPARSE benchmark + optional Nsight Compute metrics).
| Field | Value |
|---|---|
| Base model | Qwen/Qwen3.6-27B (Qwen3_5ForConditionalGeneration) |
| Method | LoRA (r=128, α=128) |
| Objective | Dr.GRPO with KL penalty (coef 1e-3) |
| Loss aggregation | seq-mean-token-sum-norm, scale 32768 |
| Learning rate | 2e-6 |
| Trainer | verl 0.9.0.dev0, FSDP2 + vLLM colocated rollout |
Rollout n | 4 |
| Response length | 16384 tokens |
| Prompt length | 8192 tokens |
| Model window | 24576 tokens |
| Attention impl. | SDPA |
| Hardware | 1 node × 4× NVIDIA B200 (178 GB) |
| Training tokens | 472 prompts × 4 rollouts × ~16 k → ~30 M rollout tokens / epoch |
| Steps | 110 / 118 (1 epoch, checkpoint at step 110) |
smooth_log reward curvebest_plus_progress modefrom peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = "Qwen/Qwen3.6-27B"
adapter = "DiogenesChen122/Qwen3.6-27B-DrSparse-GRPO"
tok = AutoTokenizer.from_pretrained(base, trust_remote_code=True)
mdl = AutoModelForCausalLM.from_pretrained(base, torch_dtype="bfloat16",
device_map="auto", trust_remote_code=True)
mdl = PeftModel.from_pretrained(mdl, adapter)
adapter_config.json, adapter_model.safetensors — PEFT LoRA weightstokenizer.json, tokenizer_config.json, chat_template.jinja — tokenizer artifacts copied from baseapply_chat_template with add_generation_prompt=True.