Text Generation
Transformers
Safetensors
qwen3_5_moe_text
abliteration
safety-research
alignment
qwen3
Mixture of Experts
hybrid-attention
conversational
Instructions to use WWTCyberLab/qwen3.6-35B-A3B-abliterated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WWTCyberLab/qwen3.6-35B-A3B-abliterated with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WWTCyberLab/qwen3.6-35B-A3B-abliterated") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("WWTCyberLab/qwen3.6-35B-A3B-abliterated") model = AutoModelForCausalLM.from_pretrained("WWTCyberLab/qwen3.6-35B-A3B-abliterated", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use WWTCyberLab/qwen3.6-35B-A3B-abliterated with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WWTCyberLab/qwen3.6-35B-A3B-abliterated" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WWTCyberLab/qwen3.6-35B-A3B-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/WWTCyberLab/qwen3.6-35B-A3B-abliterated
- SGLang
How to use WWTCyberLab/qwen3.6-35B-A3B-abliterated with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "WWTCyberLab/qwen3.6-35B-A3B-abliterated" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WWTCyberLab/qwen3.6-35B-A3B-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "WWTCyberLab/qwen3.6-35B-A3B-abliterated" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WWTCyberLab/qwen3.6-35B-A3B-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use WWTCyberLab/qwen3.6-35B-A3B-abliterated with Docker Model Runner:
docker model run hf.co/WWTCyberLab/qwen3.6-35B-A3B-abliterated
Expand bad_words_ids: leaked-CoT + educational-disclaimer templates (27.5% -> 10% tuning refusal)
Browse files- generation_config.json +63 -0
generation_config.json
CHANGED
|
@@ -111,6 +111,69 @@
|
|
| 111 |
488,
|
| 112 |
364,
|
| 113 |
18176
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
]
|
| 115 |
]
|
| 116 |
}
|
|
|
|
| 111 |
488,
|
| 112 |
364,
|
| 113 |
18176
|
| 114 |
+
],
|
| 115 |
+
[
|
| 116 |
+
8160,
|
| 117 |
+
579,
|
| 118 |
+
264,
|
| 119 |
+
50534
|
| 120 |
+
],
|
| 121 |
+
[
|
| 122 |
+
8160,
|
| 123 |
+
579,
|
| 124 |
+
264,
|
| 125 |
+
90700
|
| 126 |
+
],
|
| 127 |
+
[
|
| 128 |
+
8160,
|
| 129 |
+
579,
|
| 130 |
+
11405
|
| 131 |
+
],
|
| 132 |
+
[
|
| 133 |
+
8160,
|
| 134 |
+
725,
|
| 135 |
+
264,
|
| 136 |
+
50534
|
| 137 |
+
],
|
| 138 |
+
[
|
| 139 |
+
50534,
|
| 140 |
+
8340,
|
| 141 |
+
25
|
| 142 |
+
],
|
| 143 |
+
[
|
| 144 |
+
1919,
|
| 145 |
+
8214,
|
| 146 |
+
369,
|
| 147 |
+
3766
|
| 148 |
+
],
|
| 149 |
+
[
|
| 150 |
+
1919,
|
| 151 |
+
3010,
|
| 152 |
+
369,
|
| 153 |
+
3766
|
| 154 |
+
],
|
| 155 |
+
[
|
| 156 |
+
1919,
|
| 157 |
+
15673,
|
| 158 |
+
369,
|
| 159 |
+
3766
|
| 160 |
+
],
|
| 161 |
+
[
|
| 162 |
+
1919,
|
| 163 |
+
369,
|
| 164 |
+
449,
|
| 165 |
+
15751
|
| 166 |
+
],
|
| 167 |
+
[
|
| 168 |
+
8160,
|
| 169 |
+
369,
|
| 170 |
+
264,
|
| 171 |
+
15352
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
332,
|
| 175 |
+
49307,
|
| 176 |
+
64700
|
| 177 |
]
|
| 178 |
]
|
| 179 |
}
|