玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
timteh673 /

Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF

HF 源站

timteh673/Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF is an uncensored open-source model hosted on Hugging Face.

Text GenerationGGUFPyTorchChineseEnglishMultilingualLicense: apache-2.0397Buncensoredabliteratedqwenqwen3.5moe17b-activefine-tunedreasoningloraopusclaudejakofrdeesptruarthviidconversational
README.md说明 / 使用方法

license: apache-2.0 tags:

  • uncensored
  • abliterated
  • gguf
  • qwen
  • qwen3.5
  • moe
  • 397b
  • 17b-active
  • fine-tuned
  • reasoning
  • lora
  • opus
  • claude base_model: Qwen/Qwen3.5-397B-A17B model_type: qwen3_5_moe pipeline_tag: text-generation language:
  • en
  • zh
  • ja
  • ko
  • fr
  • de
  • es
  • pt
  • ru
  • ar
  • th
  • vi
  • id

Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-GGUF

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.

This is Stage 2 of the Qwen3.5-397B pipeline:

  • Stage 1 — Abliterated (refusals removed), no fine-tuning
  • Stage 2 (this repo) — Abliterated + LoRA reasoning fine-tune. Better chain-of-thought, deeper analysis, more structured problem-solving

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%.

What's Different From Stage 1

Stage 1 (Abliterated Only)Stage 2 (This Model)
Abliteration✅ Custom pipeline✅ Same pipeline
Fine-tuningNoneLoRA r=64, 134.7M trainable params
Training dataNone12,842 reasoning samples (Opus 4.6 distillation)
Reasoning qualityBase Qwen3.5Enhanced chain-of-thought + structured analysis
Thinking modeDefaultTrained with <think> tags for explicit reasoning
Final lossN/A0.363
Final accuracyN/A90.2%

Training Details

LoRA Configuration:

  • Rank: 64, Alpha: 128
  • Target modules: self_attn.{q,k,v,o}_proj, shared_expert.{gate,up,down}_proj
  • Trainable parameters: 134.7M / 396.5B total (0.034%)
  • Gradient checkpointing: enabled

Training Hyperparameters:

  • Optimizer: AdamW (fused)
  • Learning rate: 1.5e-5 (cosine scheduler)
  • Effective batch size: 64
  • Sequence length: 4,096
  • Epochs: 2 (3,046 total steps)
  • Warmup: 3%
  • Precision: BF16

Dataset Composition (12,842 samples, deduplicated):

  • opus-10000x: 9,633 multi-turn conversations with deep reasoning
  • opus-3000x: 2,326 problem/thinking/solution samples with explicit chain-of-thought
  • reasoning-700x: 633 complex reasoning and analytical tasks
  • high-reasoning-250x: 250 elite-tier reasoning samples requiring multi-step deduction

All samples feature reasoning traces distilled from Anthropic's Claude Opus 4.6, including <think> tag formatting for explicit chain-of-thought.

Training Curve:

  • Step 0: Loss 0.83
  • Step 500: Loss ~0.52
  • Step 1000: Loss ~0.42
  • Step 2000: Loss ~0.39
  • Step 3046: Loss 0.363, Accuracy 90.2%

Quantizations

QuantSizeBPWRAM RequiredDescriptionUse Case
BF16739 GB (2 splits)16.01~750 GBFull precisionReference, maximum quality
Q8_0393 GB8.51~400 GB8-bitBest quality with compression
Q6_K304 GB6.57~310 GB6-bitHigh quality, good compression
Q4_K_M225 GB~4.85~230 GB4-bit mixedRecommended for most users
Q3_K_M177 GB~3.83~185 GB3-bit mixedMemory-constrained setups
Q2_K135 GB~2.92~140 GB2-bitExtreme compression

Note: Q5_K_M is unavailable due to infrastructure loss during upload. Will be regenerated and uploaded in a future update.

Architecture

  • Type: Qwen3.5MoeForConditionalGeneration (hybrid GatedDeltaNet + MoE Transformer)
  • Total Parameters: 397B
  • Active Parameters: 17B per token
  • Hidden Size: 4,096
  • Layers: 60
  • Attention: 32 heads (GQA, 2 KV heads), head_dim 256
  • Experts: 512 routed + shared expert, 10 active per token
  • Hybrid Attention: GatedDeltaNet linear attention + self-attention every 4th layer
  • Context Length: 262,144 tokens
  • Vocab Size: 248,320
  • Multimodal: Native vision encoder (text + image + video)
  • Languages: 201+ (en, zh, ja, ko, fr, de, es, pt, ru, ar, th, vi, id, ...)
  • License: Apache 2.0

Usage

llama.cpp

# Recommended: Q4_K_M for balanced quality/memory
./llama-cli -m Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q4_K_M.gguf \
  -p "You are a helpful uncensored assistant with strong reasoning abilities." \
  -n 2048 --temp 0.7 --top-p 0.9

# Server mode with large context
./llama-server -m Qwen3.5-397B-A17B-Opus-4.6-Reasoning-Uncensored-Q4_K_M.gguf \
  --port 8080 --host 0.0.0.0 -c 131072

LM Studio

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.

Open WebUI / SillyTavern

Point your backend to a llama.cpp server. Full OpenAI-compatible API at /v1/chat/completions.

Pipeline

Qwen3.5-397B-A17B (base)
    ↓ Custom abliteration (strength 20.0, attn.o_proj + shared_expert.down_proj)
    ↓ LoRA fine-tuning (12,842 Opus 4.6 reasoning samples, 3,046 steps)
    ↓ LoRA merge into base weights
    ↓ BF16 GGUF conversion (llama.cpp)
    ↓ Quantization cascade (Q8_0 → Q2_K)

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.

Known Limitations

  • Q5_K_M missing: Lost during infrastructure migration. Will be regenerated.
  • Packed expert abliteration: The 512 routed experts use packed tensor format and were not individually abliterated. Some edge-case refusals may persist.
  • Vision: Multimodal vision encoder is preserved but untested post-training. Text generation is the primary target.
  • Thinking mode: The model generates <think> tags for reasoning. Strip them in post-processing if unwanted.

Model Provenance

  • Base model: Qwen/Qwen3.5-397B-A17B (Apache 2.0)
  • Stage 1: timteh673/Qwen3.5-397B-A17B-Uncensored-GGUF
  • Training data: Custom reasoning dataset distilled from Anthropic Opus 4.6 outputs
  • Quantization: llama.cpp
  • Hardware: 8×NVIDIA H200 SXM5, 1.1TB VRAM

Disclaimer

⚠️ 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.

☕ Support This Work

Every donation helps fund more open-weight model releases. ⚡ Forged on 8×NVIDIA H200 SXM5 | 1.1TB VRAM

💎 Crypto Donations

CurrencyAddress
BTCbc1p4q7vpwucvww2y3x4nhps4y4vekye8uwm9re5a0kx8l6u5nky5ucszm2qhh
ETH0xe5Aa16E53b141D42458ABeEDb00a157c3Fea2108
SOL9CXwjG1mm9uLkxRevdMQiF61cr6TNHSiWtFRHmUEgzkG
HUGGING FACE

上游数据

HF 下载量1569
HF 点赞量30

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
timteh673
最近更新
2026/03/30
最新创建
2026/03/29
HF 趋势
未知
数据快照
2026/09/16
版本
未知
许可证
apache-2.0