Views
No views yet

Qwen3.5-27B-Unredacted-MAX is an optimized release built on top of huihui-ai/Huihui-Qwen3.5-27B-abliterated. This version focuses on updated model sharding, repository optimization, and compatibility improvements for the latest Transformers releases, while preserving the reasoning and instruction-following capabilities of the base model. The result is a powerful 27B parameter language model designed for stable inference, efficient deployment, and modern ecosystem integration.
[!IMPORTANT] This model is intended for research and learning purposes only. Any outputs generated by this model are the sole responsibility of the user. The authors and hosting platform disclaim all liability for generated content. Users must ensure safe, ethical, and lawful usage.
1pip install transformers==5.3.0
2# or
3pip install git+https://github.com/huggingface/transformers.git1from transformers import Qwen3_5ForConditionalGeneration, AutoProcessor
2import torch
3
4model = Qwen3_5ForConditionalGeneration.from_pretrained(
5 "prithivMLmods/Qwen3.5-27B-Unredacted-MAX",
6 torch_dtype="auto",
7 device_map="auto"
8)
9
10processor = AutoProcessor.from_pretrained(
11 "prithivMLmods/Qwen3.5-27B-Unredacted-MAX"
12)
13
14messages = [
15 {
16 "role": "user",
17 "content": [
18 {"type": "text", "text": "Explain how transformer models work in simple terms."}
19 ],
20 }
21]
22
23text = processor.apply_chat_template(
24 messages, tokenize=False, add_generation_prompt=True
25)
26
27inputs = processor(
28 text=[text],
29 padding=True,
30 return_tensors="pt"
31).to("cuda")
32
33generated_ids = model.generate(**inputs, max_new_tokens=256)
34
35generated_ids_trimmed = [
36 out_ids[len(in_ids):] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
37]
38
39output_text = processor.batch_decode(
40 generated_ids_trimmed,
41 skip_special_tokens=True,
42 clean_up_tokenization_spaces=False
43)
44
45print(output_text)Important Note: This model inherits the behavior and limitations of its base model.