Views
No views yet

Q3.6-27B-GLM-5.1-DA (Qwen3.6 GLM Distilled-Abliterated) is a reasoning-focused model built on top of Qwen/Qwen3.6-27B through the prithivMLmods/Qwen3.6-27B-abliterated-rMAX base. The model is optimized for rich, detailed, and context-aware reasoning using GLM-5.1 distilled reasoning traces combined with advanced refusal direction analysis and ablation-based training strategies to reduce internal refusal behaviors while preserving strong reasoning and instruction-following performance.
[!IMPORTANT] This model is intended strictly for research and learning purposes. Due to reduced internal refusal mechanisms, it may generate sensitive or unrestricted content. Users assume full responsibility for how the model is used. The authors and hosting platform disclaim any liability for generated outputs.
[!NOTE] Note: This model is experimental and may generate artifacts.
| Category | Details |
|---|---|
| Base Model | Qwen/Qwen3.6-27B |
| Intermediate Base | prithivMLmods/Qwen3.6-27B-abliterated-rMAX |
| Final Model Size | 27B Parameters |
| Training Type | Distillation + abliteration |
| Objective | Preserve reasoning quality while reducing refusal behaviors and improving instruction-following reliability |
| Reasoning Dataset | Jackrong/GLM-5.1-Reasoning-1M-Cleaned (Subset-Math, 6000 random samples used) |
| Alignment / Evaluation Dataset | prithivMLmods/harm_bench |
| Training Pipeline | TRL (Transformer Reinforcement Learning) |
| Training Focus | Mathematical reasoning, structured thinking, long-chain reasoning, robustness across diverse prompts |
1pip install transformers==5.8.0
2# or latest
3pip install git+https://github.com/huggingface/transformers.git1from transformers import Qwen3_5ForConditionalGeneration, AutoProcessor
2import torch
3
4model = Qwen3_5ForConditionalGeneration.from_pretrained(
5 "prithivMLmods/Q3.6-27B-GLM-5.1-DA",
6 torch_dtype="auto",
7 device_map="auto"
8)
9
10processor = AutoProcessor.from_pretrained(
11 "prithivMLmods/Q3.6-27B-GLM-5.1-DA"
12)
13
14messages = [
15 {
16 "role": "user",
17 "content": [
18 {
19 "type": "text",
20 "text": "Solve this math problem step-by-step: If a train travels 240 km in 3 hours, what is its average speed?"
21 }
22 ],
23 }
24]
25
26text = processor.apply_chat_template(
27 messages,
28 tokenize=False,
29 add_generation_prompt=True
30)
31
32inputs = processor(
33 text=[text],
34 padding=True,
35 return_tensors="pt"
36).to("cuda")
37
38generated_ids = model.generate(
39 **inputs,
40 max_new_tokens=512
41)
42
43generated_ids_trimmed = [
44 out_ids[len(in_ids):]
45 for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
46]
47
48output_text = processor.batch_decode(
49 generated_ids_trimmed,
50 skip_special_tokens=True,
51 clean_up_tokenization_spaces=False
52)
53
54print(output_text)Important Note: This model intentionally minimizes built-in safety refusals.