Views
No views yet
| Parameter | Value |
|---|---|
| Base model | Qwen/Qwen3.5-27B (27B dense, Apache 2.0) |
| Method | LoRA r=64, alpha=128, all-linear projections |
| Precision | BF16 |
| Framework | HuggingFace SFTTrainer + PEFT + DeepSpeed ZeRO-2 |
| Hardware | 16× NVIDIA H200 SXM (141 GB each), 2 nodes |
| GPU utilization | 91% VRAM, 91-100% compute |
| Training steps | 250 (early stopped — loss plateaued) |
| Training time | ~4 hours |
| Final loss | 0.70 (down from 1.13, -40%) |
| Final accuracy | 80.0% token accuracy |
| Dataset | Examples | Purpose |
|---|---|---|
| Magicoder-Evol-Instruct-110K | 110K | Complex coding tasks from real GitHub code |
| CodeAlpaca-20K | 20K | Short tasks, broad language coverage |
| Tested-143k-Python-Alpaca | 143K | Execution-verified Python code |
| python_code_instructions_18k | 18K | Python idioms and patterns |
| Total | 291K |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model = AutoModelForCausalLM.from_pretrained(
5 "mahernaija/Qwen3.5-27B-Coder",
6 torch_dtype=torch.bfloat16,
7 device_map="auto",
8)
9tokenizer = AutoTokenizer.from_pretrained("mahernaija/Qwen3.5-27B-Coder")
10
11messages = [{"role": "user", "content": "Write a Python binary search function with type hints."}]
12text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
13inputs = tokenizer(text, return_tensors="pt").to("cuda")
14outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.2)
15print(tokenizer.decode(outputs[0], skip_special_tokens=True))