ot-distill-qwen38-27b-luna-chat-3ep-lora
GPT-6 Luna response distillation for Qwen3.8-27B
2 min read
This is a set of LoRA adapters (lightweight add-ons on top of a base AI model) for the Qwen/Qwen3.8-27B language model by author helloelwin. The adapter was trained via distillation on 5,000 single-turn dialogues generated by the GPT-6 Luna model (in medium reasoning effort mode). The key training feature is that reasoning blocks were masked during loss calculation: the model learned to reproduce only the final answers and response endings rather than copying the thinking process itself. This development is suited for researchers and engineers experimenting with transferring the response style of powerful models to local Qwen weights.
Key features
- Focus on the final answer: out of 5,000 dataset examples
Luna-chat-5k(math, coding, and instruction following), 3,929 contained reasoning summaries withintags, but training proceeded strictly based on the final response text. - Three checkpoints to choose from: the repository contains separate folders for each of the three training epochs (
epoch-1,epoch-2, andepoch-3), allowing you to find the right balance between overfitting and style adherence. - Large-scale weight tuning: a high LoRA rank of 128 (alpha 256) was used for all linear layers of the text model, including Gated DeltaNet projections — totaling about 0.93 billion trainable parameters.
- Direct vLLM compatibility: key names in the weights are preserved in the full model format, so the adapter plugs into the vLLM inference engine without prior conversion.
What you can do
- Connect to a local API server: deploy
Qwen/Qwen3.8-27Bvia vLLM with the attachedepoch-2orepoch-3module to handle coding, math, and complex instruction-following tasks. - Compare epoch impact: test model behavior across different distillation stages (from epoch 1 to 3) to evaluate how drop in loss affects generation quality without memorizing reasoning chains.
Example
vllm serve Qwen/Qwen3.8-27B --enable-lora --max-lora-rank 128 \
--limit-mm-per-prompt '{"image":0,"video":0}' --reasoning-parser qwen3 \
--lora-modules luna-chat-e3=
Read more
DetailsTraining: 3 epochs (939 steps), effective batch 16 (4 GPUs × 4), bf16 precision, peak lr 3e-4.
Context length: up to 26,905 tokens without truncation; about 1.3 million trainable tokens per epoch.
Training loss dynamics by epoch: 0.733 / 0.367 / 0.110; recommended generation temperature is 1.0.
Limitations: no benchmarks were run by the author; to run via the
peft library (AutoModelForCausalLM), you need to rename the key prefix base_model.model.model.language_model.layers. to base_model.model.model.layers..









Comments