Text Generation
GGUF
uncensored
abliterated
qwen
qwen3.5
Mixture of Experts
397b
17b-active
fine-tuned
reasoning
lora
opus
claude
conversational
Instructions to use SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
Use Docker
docker model run hf.co/SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
- Ollama
How to use SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF with Ollama:
ollama run hf.co/SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF with Docker Model Runner:
docker model run hf.co/SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
- Lemonade
How to use SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "SilverMan99/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Commit ·
fee1e88
0
Parent(s):
Duplicate from timteh673/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF
Browse files- .gitattributes +43 -0
- Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-BF16-split--00001-of-00002.gguf +3 -0
- Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-BF16-split--00002-of-00002.gguf +3 -0
- Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q2_K.gguf +3 -0
- Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q3_K_M.gguf +3 -0
- Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q4_K_M.gguf +3 -0
- Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q6_K.gguf +3 -0
- Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q8_0.gguf +3 -0
- README.md +193 -0
- bmac-qr.png +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-BF16-split--00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-BF16-split--00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
bmac-qr.png filter=lfs diff=lfs merge=lfs -text
|
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-BF16-split--00001-of-00002.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:edbb60094f491430c6cd15ab761c669a876facdc70dea6b51184155e4fd2cc83
|
| 3 |
+
size 398769707584
|
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-BF16-split--00002-of-00002.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8d5048d23a84ee7cb52efc703a8020b41533ebe4b154ea686daebb9c48bf4e1
|
| 3 |
+
size 394191608224
|
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f05e4d2ba25ee75f666d323fbd72896666cbfba942cf5cb66f8733da4778a1e
|
| 3 |
+
size 144736834368
|
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:104d5b9e91743b69457b8aa32507279b6cdf6da159a7b1a0c89a9c56c7c2f42a
|
| 3 |
+
size 189510738752
|
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:525a5accb136f4dc99d0fbce287ff53f85b98c009e6cc71e83484e0f40e07713
|
| 3 |
+
size 240604934976
|
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb3a28424f36be0935f10b02593cdc9ceb26bb7ff2c5b0072eedf6da85b9d0d1
|
| 3 |
+
size 325548426048
|
Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2466e45acd823c062de10a325336af3a864338a60a89b12cab797755e9ce5306
|
| 3 |
+
size 421507363648
|
README.md
ADDED
|
@@ -0,0 +1,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- uncensored
|
| 5 |
+
- abliterated
|
| 6 |
+
- gguf
|
| 7 |
+
- qwen
|
| 8 |
+
- qwen3.5
|
| 9 |
+
- moe
|
| 10 |
+
- 397b
|
| 11 |
+
- 17b-active
|
| 12 |
+
- fine-tuned
|
| 13 |
+
- reasoning
|
| 14 |
+
- lora
|
| 15 |
+
- opus
|
| 16 |
+
- claude
|
| 17 |
+
base_model: Qwen/Qwen3.5-397B-A17B
|
| 18 |
+
model_type: qwen3_5_moe
|
| 19 |
+
pipeline_tag: text-generation
|
| 20 |
+
language:
|
| 21 |
+
- en
|
| 22 |
+
- zh
|
| 23 |
+
- ja
|
| 24 |
+
- ko
|
| 25 |
+
- fr
|
| 26 |
+
- de
|
| 27 |
+
- es
|
| 28 |
+
- pt
|
| 29 |
+
- ru
|
| 30 |
+
- ar
|
| 31 |
+
- th
|
| 32 |
+
- vi
|
| 33 |
+
- id
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
# Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF
|
| 37 |
+
|
| 38 |
+
**The world's first reasoning-enhanced uncensored 397B model.** Abliterated + LoRA fine-tuned on 12,842 high-quality reasoning samples distilled from Anthropic's Opus 4.6 outputs.
|
| 39 |
+
|
| 40 |
+
This is **Stage 2** of the Qwen3.5-397B pipeline:
|
| 41 |
+
- **[Stage 1](https://huggingface.co/timteh673/Qwen3.5-397B-A17B-Uncensored-GGUF)** — Abliterated (refusals removed), no fine-tuning
|
| 42 |
+
- **Stage 2 (this repo)** — Abliterated + LoRA reasoning fine-tune. Better chain-of-thought, deeper analysis, more structured problem-solving
|
| 43 |
+
|
| 44 |
+
397B total parameters, **17B active per token** (Mixture-of-Experts). Trained for 3,046 steps across 8×H200 GPUs. Final loss: **0.363**, accuracy: **90.2%**.
|
| 45 |
+
|
| 46 |
+
## What's Different From Stage 1
|
| 47 |
+
|
| 48 |
+
| | Stage 1 (Abliterated Only) | **Stage 2 (This Model)** |
|
| 49 |
+
|---|---|---|
|
| 50 |
+
| Abliteration | ✅ Custom pipeline | ✅ Same pipeline |
|
| 51 |
+
| Fine-tuning | None | **LoRA r=64, 134.7M trainable params** |
|
| 52 |
+
| Training data | None | **12,842 reasoning samples (Opus 4.6 distillation)** |
|
| 53 |
+
| Reasoning quality | Base Qwen3.5 | **Enhanced chain-of-thought + structured analysis** |
|
| 54 |
+
| Thinking mode | Default | **Trained with `<think>` tags for explicit reasoning** |
|
| 55 |
+
| Final loss | N/A | **0.363** |
|
| 56 |
+
| Final accuracy | N/A | **90.2%** |
|
| 57 |
+
|
| 58 |
+
## Training Details
|
| 59 |
+
|
| 60 |
+
**LoRA Configuration:**
|
| 61 |
+
- Rank: 64, Alpha: 128
|
| 62 |
+
- Target modules: `self_attn.{q,k,v,o}_proj`, `shared_expert.{gate,up,down}_proj`
|
| 63 |
+
- Trainable parameters: 134.7M / 396.5B total (0.034%)
|
| 64 |
+
- Gradient checkpointing: enabled
|
| 65 |
+
|
| 66 |
+
**Training Hyperparameters:**
|
| 67 |
+
- Optimizer: AdamW (fused)
|
| 68 |
+
- Learning rate: 1.5e-5 (cosine scheduler)
|
| 69 |
+
- Effective batch size: 64
|
| 70 |
+
- Sequence length: 4,096
|
| 71 |
+
- Epochs: 2 (3,046 total steps)
|
| 72 |
+
- Warmup: 3%
|
| 73 |
+
- Precision: BF16
|
| 74 |
+
|
| 75 |
+
**Dataset Composition (12,842 samples, deduplicated):**
|
| 76 |
+
- `opus-10000x`: 9,633 multi-turn conversations with deep reasoning
|
| 77 |
+
- `opus-3000x`: 2,326 problem/thinking/solution samples with explicit chain-of-thought
|
| 78 |
+
- `reasoning-700x`: 633 complex reasoning and analytical tasks
|
| 79 |
+
- `high-reasoning-250x`: 250 elite-tier reasoning samples requiring multi-step deduction
|
| 80 |
+
|
| 81 |
+
All samples feature reasoning traces distilled from Anthropic's Claude Opus 4.6, including `<think>` tag formatting for explicit chain-of-thought.
|
| 82 |
+
|
| 83 |
+
**Training Curve:**
|
| 84 |
+
- Step 0: Loss 0.83
|
| 85 |
+
- Step 500: Loss ~0.52
|
| 86 |
+
- Step 1000: Loss ~0.42
|
| 87 |
+
- Step 2000: Loss ~0.39
|
| 88 |
+
- Step 3046: **Loss 0.363, Accuracy 90.2%**
|
| 89 |
+
|
| 90 |
+
## Quantizations
|
| 91 |
+
|
| 92 |
+
| Quant | Size | BPW | RAM Required | Description | Use Case |
|
| 93 |
+
|-------|------|-----|-------------|-------------|----------|
|
| 94 |
+
| **BF16** | 739 GB (2 splits) | 16.01 | ~750 GB | Full precision | Reference, maximum quality |
|
| 95 |
+
| **Q8_0** | 393 GB | 8.51 | ~400 GB | 8-bit | Best quality with compression |
|
| 96 |
+
| **Q6_K** | 304 GB | 6.57 | ~310 GB | 6-bit | High quality, good compression |
|
| 97 |
+
| **Q4_K_M** | 225 GB | ~4.85 | ~230 GB | 4-bit mixed | **Recommended for most users** |
|
| 98 |
+
| **Q3_K_M** | 177 GB | ~3.83 | ~185 GB | 3-bit mixed | Memory-constrained setups |
|
| 99 |
+
| **Q2_K** | 135 GB | ~2.92 | ~140 GB | 2-bit | Extreme compression |
|
| 100 |
+
|
| 101 |
+
> **Note:** Q5_K_M is unavailable due to infrastructure loss during upload. Will be regenerated and uploaded in a future update.
|
| 102 |
+
|
| 103 |
+
## Architecture
|
| 104 |
+
|
| 105 |
+
- **Type:** Qwen3.5MoeForConditionalGeneration (hybrid GatedDeltaNet + MoE Transformer)
|
| 106 |
+
- **Total Parameters:** 397B
|
| 107 |
+
- **Active Parameters:** 17B per token
|
| 108 |
+
- **Hidden Size:** 4,096
|
| 109 |
+
- **Layers:** 60
|
| 110 |
+
- **Attention:** 32 heads (GQA, 2 KV heads), head_dim 256
|
| 111 |
+
- **Experts:** 512 routed + shared expert, 10 active per token
|
| 112 |
+
- **Hybrid Attention:** GatedDeltaNet linear attention + self-attention every 4th layer
|
| 113 |
+
- **Context Length:** 262,144 tokens
|
| 114 |
+
- **Vocab Size:** 248,320
|
| 115 |
+
- **Multimodal:** Native vision encoder (text + image + video)
|
| 116 |
+
- **Languages:** 201+ (en, zh, ja, ko, fr, de, es, pt, ru, ar, th, vi, id, ...)
|
| 117 |
+
- **License:** Apache 2.0
|
| 118 |
+
|
| 119 |
+
## Usage
|
| 120 |
+
|
| 121 |
+
### llama.cpp
|
| 122 |
+
|
| 123 |
+
```bash
|
| 124 |
+
# Recommended: Q4_K_M for balanced quality/memory
|
| 125 |
+
./llama-cli -m Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q4_K_M.gguf \
|
| 126 |
+
-p "You are a helpful uncensored assistant with strong reasoning abilities." \
|
| 127 |
+
-n 2048 --temp 0.7 --top-p 0.9
|
| 128 |
+
|
| 129 |
+
# Server mode with large context
|
| 130 |
+
./llama-server -m Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q4_K_M.gguf \
|
| 131 |
+
--port 8080 --host 0.0.0.0 -c 131072
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
### LM Studio
|
| 135 |
+
|
| 136 |
+
Download the GGUF file and load it in LM Studio. The model supports `<think>` reasoning tags — enable thinking mode for best results on complex tasks.
|
| 137 |
+
|
| 138 |
+
### Open WebUI / SillyTavern
|
| 139 |
+
|
| 140 |
+
Point your backend to a llama.cpp server. Full OpenAI-compatible API at `/v1/chat/completions`.
|
| 141 |
+
|
| 142 |
+
## Pipeline
|
| 143 |
+
|
| 144 |
+
```
|
| 145 |
+
Qwen3.5-397B-A17B (base)
|
| 146 |
+
↓ Custom abliteration (strength 20.0, attn.o_proj + shared_expert.down_proj)
|
| 147 |
+
↓ LoRA fine-tuning (12,842 Opus 4.6 reasoning samples, 3,046 steps)
|
| 148 |
+
↓ LoRA merge into base weights
|
| 149 |
+
↓ BF16 GGUF conversion (llama.cpp)
|
| 150 |
+
↓ Quantization cascade (Q8_0 → Q2_K)
|
| 151 |
+
```
|
| 152 |
+
|
| 153 |
+
All processing done in BF16 on 8×H200 SXM5 GPUs (1.1TB VRAM total). Abliteration and quantization applied in correct order: full-precision abliteration → training → merge → THEN quantize.
|
| 154 |
+
|
| 155 |
+
## Known Limitations
|
| 156 |
+
|
| 157 |
+
- **Q5_K_M missing:** Lost during infrastructure migration. Will be regenerated.
|
| 158 |
+
- **Packed expert abliteration:** The 512 routed experts use packed tensor format and were not individually abliterated. Some edge-case refusals may persist.
|
| 159 |
+
- **Vision:** Multimodal vision encoder is preserved but untested post-training. Text generation is the primary target.
|
| 160 |
+
- **Thinking mode:** The model generates `<think>` tags for reasoning. Strip them in post-processing if unwanted.
|
| 161 |
+
|
| 162 |
+
## Model Provenance
|
| 163 |
+
|
| 164 |
+
- **Base model:** [Qwen/Qwen3.5-397B-A17B](https://huggingface.co/Qwen/Qwen3.5-397B-A17B) (Apache 2.0)
|
| 165 |
+
- **Stage 1:** [timteh673/Qwen3.5-397B-A17B-Uncensored-GGUF](https://huggingface.co/timteh673/Qwen3.5-397B-A17B-Uncensored-GGUF)
|
| 166 |
+
- **Training data:** Custom reasoning dataset distilled from Anthropic Opus 4.6 outputs
|
| 167 |
+
- **Quantization:** llama.cpp
|
| 168 |
+
- **Hardware:** 8×NVIDIA H200 SXM5, 1.1TB VRAM
|
| 169 |
+
|
| 170 |
+
## Disclaimer
|
| 171 |
+
|
| 172 |
+
⚠️ This model has had safety alignment significantly reduced and has been fine-tuned for enhanced reasoning. It may generate content that is harmful, offensive, or inappropriate. Users are solely responsible for ensuring their use complies with applicable laws and ethical standards. This release is intended for research, testing, and controlled environments.
|
| 173 |
+
---
|
| 174 |
+
|
| 175 |
+
## ☕ Support This Work
|
| 176 |
+
|
| 177 |
+
<a href="https://buymeacoffee.com/timteh" target="_blank">
|
| 178 |
+
<img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60">
|
| 179 |
+
</a>
|
| 180 |
+
|
| 181 |
+
<p align="center">
|
| 182 |
+
<img src="bmac-qr.png" alt="Buy Me a Coffee QR Code" width="250">
|
| 183 |
+
</p>
|
| 184 |
+
|
| 185 |
+
Every donation helps fund more open-weight model releases. ⚡ Forged on 8×NVIDIA H200 SXM5 | 1.1TB VRAM
|
| 186 |
+
|
| 187 |
+
### 💎 Crypto Donations
|
| 188 |
+
|
| 189 |
+
| Currency | Address |
|
| 190 |
+
|----------|---------|
|
| 191 |
+
| **BTC** | `bc1p4q7vpwucvww2y3x4nhps4y4vekye8uwm9re5a0kx8l6u5nky5ucszm2qhh` |
|
| 192 |
+
| **ETH** | `0xe5Aa16E53b141D42458ABeEDb00a157c3Fea2108` |
|
| 193 |
+
| **SOL** | `9CXwjG1mm9uLkxRevdMQiF61cr6TNHSiWtFRHmUEgzkG` |
|
bmac-qr.png
ADDED
|
Git LFS Details
|