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

Qwythos-9B-v2-GGUF

HF 源站

empero-ai/Qwythos-9B-v2-GGUF is an uncensored open-source model hosted on Hugging Face.

Image-Text-to-Textllama.cppGGUFEnglishLicense: apache-2.09Bquantizedqwythosqwen3.5ftporeasoninguncensoredlong-context1M-contextfunction-callingmultimodalvisionconversational
README.md说明 / 使用方法

license: apache-2.0 base_model: empero-ai/Qwythos-9B-v2 base_model_relation: quantized language:

  • en pipeline_tag: image-text-to-text library_name: gguf tags:
  • gguf
  • llama.cpp
  • quantized
  • qwythos
  • qwen3.5
  • ftpo
  • reasoning
  • uncensored
  • long-context
  • 1M-context
  • function-calling
  • multimodal
  • vision

Qwythos-9B-v2-GGUF

适用于 llama.cpp、Ollama、LM Studio、jan、KoboldCpp 以及其他 GGUF 运行时的 empero-ai/Qwythos-9B-v2 GGUF 量化版本。

Qwythos-9B-v2 是全新且经过改进的 Qwythos —— 保留了基础版 Qwythos 所有的深度思维链(Chain-of-Thought)推理能力,并修复了循环生成(looping)问题。彻底消除了贪婪采样(greedy decoding)或低温解码时出现的循环/退化现象(6.7% → 0%),恢复了原生 MTP 头(多 Token 预测),并精简规范了身份识别提示词 —— 与此同时,知识库与推理能力保持在(或超过)基础版 Qwythos 的水准。

此修复采用了 FTPO(尾 Token 偏好优化,Final-Token Preference Optimization) 技术:精确定位触发循环重复的具体 Token,并在该位置轻量级训练模型偏好连贯的替代词,从而完全不影响其余分布 —— 因此其原有的知识储备与推理能力不受丝毫损害。

如需完整的训练细节、评估数据及生成样例,请参阅 基础模型卡片。


相比基础版 Qwythos 的新特性

  • 🔁 彻底消除循环现象 —— 在贪婪采样 / 低温解码下的重复率从 6.7% 降至 0%。贪婪采样现在非常安全 —— 您不再需要将 repeat-penalty 作为权宜之计。
  • 🧩 恢复 MTP 头 —— 原生多 Token 预测(multi-token-prediction)模块在 -MTP- 文件中重新回归,因此支持投机采样(speculative-decoding,--spec-type draft-mtp)。
  • 🧠 推理能力完好保留 —— MMLU / GSM8K / GPQA / ARC 评测保持在或超过基础版 Qwythos 的水平(详见模型卡片)。
  • 🪪 更纯净的身份认知 —— 仅在被明确提问时声明自身身份一次。
  • 🔓 仍然保持刻意的无审查(uncensored)特性,依然具备 1M Token 上下文(YaRN),依然具备多模态能力(Qwen3.5 视觉塔)。

模型文件

常规文本权重 —— 仅主干(32 个模块)

文件名量化类型大小说明
Qwythos-9B-v2-Q4_K_M.ggufQ4_K_M5.34 GiB / 5.74 GB推荐默认选项 —— 体积最小且实用,质量优异
Qwythos-9B-v2-Q5_K_M.ggufQ5_K_M6.08 GiB / 6.52 GB质量与体积的平衡之选
Qwythos-9B-v2-Q6_K.ggufQ6_K6.95 GiB / 7.46 GB高质量
Qwythos-9B-v2-Q8_0.ggufQ8_08.87 GiB / 9.53 GB近乎无损
Qwythos-9B-v2-BF16.ggufBF1616.69 GiB / 17.92 GB全精度(转换基准)

如果您不知道该选哪一个,Q4_K_M 是最佳起点。

启用 MTP 的文本权重(33 个模块,nextn_predict_layers = 1)

这些文件嵌入了恢复的 Qwen3.5 兼容 MTP 头。可与支持 MTP 草稿投机采样的 llama.cpp 版本(--spec-type draft-mtp)配合使用。在所有量化变体中,MTP 矩阵均保留为 Q8_0 精度。

文件名量化类型大小说明
Qwythos-9B-v2-MTP-Q4_K_M.ggufQ4_K_M + MTP5.50 GiB / 5.90 GB推荐 MTP 默认选项
Qwythos-9B-v2-MTP-Q5_K_M.ggufQ5_K_M + MTP6.25 GiB / 6.71 GB质量与体积平衡
Qwythos-9B-v2-MTP-Q6_K.ggufQ6_K + MTP7.14 GiB / 7.67 GB高质量
Qwythos-9B-v2-MTP-Q8_0.ggufQ8_0 + MTP9.11 GiB / 9.79 GB近乎无损
Qwythos-9B-v2-MTP-BF16.ggufBF16 + MTP17.14 GiB / 18.41 GB全精度(转换基准)

视觉投影层(Vision Projector)—— 用于图像输入

文件名大小说明
mmproj-Qwythos-9B-v2-BF16.gguf0.86 GiB / 0.92 GB原生 BF16 精度的 CLIP 风格视觉编码器与投影层;处理图像必需,可与上方任意文本量化文件搭配使用

该视觉塔完全继承自 Qwen3.5-9B,未作任何改动 —— 在基础版 Qwythos SFT 以及 v2 FTPO 微调过程中全程保持冻结,因此图像处理特性与原生 Qwen3.5-9B 一致。该 mmproj 文件与任何 Qwen3.5-9B 的 mmproj-*.gguf 均可互换通用。


混合精度量化(Gated-DeltaNet / SSM 张量)

Qwythos 是一个**混合架构(hybrid)**模型 —— 包含 3:1 比例的 Gated-DeltaNet 线性注意力(SSM)模块与全注意力(full-attention)模块。线性注意力状态张量对低比特量化异常敏感,因此本处的 K-quants 对这些张量保持了比周围权重更高的精度:

量化等级ssm_alphassm_betassm_out
Q6_KQ8_0Q8_0Q8_0
Q5_K_MQ8_0Q8_0Q6_K
Q4_K_MQ8_0Q8_0Q6_K

其余 SSM 状态张量(ssm_a、ssm_conv1d、ssm_dt、ssm_norm)在转换时均保留为 F32 精度。这样在相比统一平坦 K-quant 仅增加极小文件体积(约 2–4%)的前提下,完美保护了混合架构/SSM 模块。Q8_0 与 BF16 本身精度统一,无需进行针对性覆盖设置。


快速上手

llama.cpp

llama-cli \
  -m Qwythos-9B-v2-Q4_K_M.gguf \
  -p "Walk through the biochemistry of how organophosphate nerve agents inhibit acetylcholinesterase." \
  -n 8192 \
  --temp 0.6 --top-p 0.95 --top-k 20 --repeat-penalty 1.05 \
  -c 16384

由于 v2 的循环问题已彻底训练消除,--repeat-penalty 参数现在为可选项,且贪婪采样解码(--temp 0)依然能保持极高连贯性。

Ollama

ollama run hf.co/empero-ai/Qwythos-9B-v2-GGUF:Q4_K_M

LM Studio / jan / KoboldCpp

将任意 .gguf 文件放入运行时的模型目录即可。Qwythos 使用标准 Qwen3.5 对话模板;现代 GGUF 运行时会自动从文件中读取加载该模板。

MTP 草稿投机采样(Draft Speculation)

llama-server \
  -m Qwythos-9B-v2-MTP-Q4_K_M.gguf \
  --spec-type draft-mtp \
  --spec-draft-n-max 6 \
  -c 16384 --port 8080

MTP 特性需要较新版本的 llama.cpp。如果您的运行时暂未支持 MTP,请使用常规模型文件。


视觉处理(图像输入)

下载文本量化文件以及 mmproj-*.gguf,然后运行 llama.cpp 的多模态 CLI/服务端:

llama-mtmd-cli \
  -m Qwythos-9B-v2-Q4_K_M.gguf \
  --mmproj mmproj-Qwythos-9B-v2-BF16.gguf \
  --image ./photo.jpg \
  -p "Describe this image in detail." \
  --temp 0.6 --top-p 0.95 --top-k 20 -c 16384

诚挚说明: Qwythos 的所有训练(基础版 SFT 及 v2 FTPO)均为纯文本训练 —— 视觉塔从未进行微调,因此基于图像的推理能力直接继承自原生 Qwen3.5-9B,本次发布未对其进行独立评估。


采样参数推荐

Qwythos 是一个推理型模型 —— 每个回复在给出最终答案前,都会以 <think>...</think> 思考块开始。

参数推荐值
temperature0.6
top_p0.95
top_k20
repeat_penalty1.05(在 v2 中为可选)
max_new_tokens16384

与基础版 Qwythos 不同,v2 在贪婪采样/低温解码下不会陷入死循环 —— 您可以使用 --temp 0 进行确定性生成而不会产生重复。上述 0.6 温度设置依然符合 Qwen3.5 官方对思考模式的最佳推荐,以获取最高输出质量。


长上下文(1M Tokens)

本 GGUF 预置了 YaRN RoPE 缩放,原生支持 1,048,576 Token 上下文窗口(原生 262,144 的 4 倍)。最高可将 -c 设置为 1048576;对于较短的提示词,可调小该值以减少 KV 缓存显存占用。单张 H100/H200 级别的 GPU 可轻松应对 256k–512k 上下文;完整的 1M 上下文通常需要多 GPU 环境或激进的 KV 缓存卸载方案。


模型转换与校验

  • 使用 llama.cpp(convert_hf_to_gguf.py、llama-quantize)进行转换与量化,架构为 qwen35,格式为 GGUF v3。
  • MTP 变体:默认转换(33 模块,nextn_predict_layers = 1,15 个 MTP 张量,MTP 矩阵锁定为 Q8_0)。常规变体:--no-mtp(32 模块纯主干)。mmproj:--mmproj --outtype bf16。
  • 按照上表应用了混合精度覆盖。
  • 经过结构验证(架构 / 模块数量 / nextn 键 / 单张量类型),并通过了加载及连贯文本生成的冒烟测试。
  • 提供 shasum -a 256 -c SHA256SUMS 校验,涵盖全部 11 个文件。

开源协议与鸣谢

遵循 Apache-2.0 协议,继承自 Qwen3.5-9B。按现状提供,仅供研究与实验使用。

  • 由 Empero AI 开发并发布
  • 基础模型:Qwen3.5-9B(阿里巴巴 Qwen 团队)
  • 循环修复技术:FTPO (Final-Token Preference Optimization)
  • 量化工具:llama.cpp(ggml-org)
  • Hugging Face 模型:empero-ai/Qwythos-9B-v2
源站原文

license: apache-2.0 base_model: empero-ai/Qwythos-9B-v2 base_model_relation: quantized language:

  • en pipeline_tag: image-text-to-text library_name: gguf tags:
  • gguf
  • llama.cpp
  • quantized
  • qwythos
  • qwen3.5
  • ftpo
  • reasoning
  • uncensored
  • long-context
  • 1M-context
  • function-calling
  • multimodal
  • vision

Qwythos-9B-v2-GGUF

GGUF quantizations of empero-ai/Qwythos-9B-v2 for llama.cpp, Ollama, LM Studio, jan, KoboldCpp, and other GGUF runtimes.

Qwythos-9B-v2 is the new and improved Qwythos — all the deep chain-of-thought reasoning of the base Qwythos, with the looping behavior fixed. The looping/degeneration that showed up under greedy or low-temperature decoding is trained out (6.7% → 0%), the native MTP head is restored, and the identity prompt is cleaned up — while knowledge and reasoning are held at (or above) the base Qwythos level.

The fix uses FTPO (Final-Token Preference Optimization): the exact token that starts a repetition loop is identified and the model is gently trained to prefer coherent alternatives at that one position, leaving the rest of the distribution — and therefore its knowledge and reasoning — untouched.

For full training details, evaluation numbers, and sample generations, see the base model card.


What's new vs. the base Qwythos

  • 🔁 Looping behavior eliminated — repetition under greedy / low-temp decoding dropped 6.7% → 0%. Greedy decoding is now safe — you no longer need repeat-penalty as a band-aid.
  • 🧩 MTP head restored — the native multi-token-prediction module is back in the -MTP- files, so speculative-decoding (--spec-type draft-mtp) works.
  • 🧠 Reasoning preserved — MMLU / GSM8K / GPQA / ARC held at or above the base Qwythos level (see the model card).
  • 🪪 Cleaner identity — states who it is once, only when asked.
  • 🔓 Still intentionally uncensored, still 1M-token context (YaRN), still multimodal-capable (Qwen3.5 vision tower).

Files

Normal text weights — trunk only (32 blocks)

FileQuantSizeNotes
Qwythos-9B-v2-Q4_K_M.ggufQ4_K_M5.34 GiB / 5.74 GBrecommended default — smallest practical, good quality
Qwythos-9B-v2-Q5_K_M.ggufQ5_K_M6.08 GiB / 6.52 GBbalanced quality / size
Qwythos-9B-v2-Q6_K.ggufQ6_K6.95 GiB / 7.46 GBhigh quality
Qwythos-9B-v2-Q8_0.ggufQ8_08.87 GiB / 9.53 GBnear-lossless
Qwythos-9B-v2-BF16.ggufBF1616.69 GiB / 17.92 GBfull precision (conversion base)

If you don't know which to pick, Q4_K_M is the right starting point.

MTP-enabled text weights (33 blocks, nextn_predict_layers = 1)

These embed the restored Qwen3.5-compatible MTP head. Use them with llama.cpp builds that support MTP draft speculation (--spec-type draft-mtp). The MTP matrices are retained at Q8_0 in every quantized variant.

FileQuantSizeNotes
Qwythos-9B-v2-MTP-Q4_K_M.ggufQ4_K_M + MTP5.50 GiB / 5.90 GBrecommended MTP default
Qwythos-9B-v2-MTP-Q5_K_M.ggufQ5_K_M + MTP6.25 GiB / 6.71 GBbalanced quality / size
Qwythos-9B-v2-MTP-Q6_K.ggufQ6_K + MTP7.14 GiB / 7.67 GBhigh quality
Qwythos-9B-v2-MTP-Q8_0.ggufQ8_0 + MTP9.11 GiB / 9.79 GBnear-lossless
Qwythos-9B-v2-MTP-BF16.ggufBF16 + MTP17.14 GiB / 18.41 GBfull precision (conversion base)

Vision projector — for image input

FileSizeNotes
mmproj-Qwythos-9B-v2-BF16.gguf0.86 GiB / 0.92 GBCLIP-style vision encoder + projector at BF16 native precision; required for images, pairs with any text quant above

The vision tower is inherited unchanged from Qwen3.5-9B — it was frozen through both the base Qwythos SFT and the v2 FTPO fine-tune, so image behavior matches base Qwen3.5-9B. This mmproj is interchangeable with any Qwen3.5-9B mmproj-*.gguf.


Hybrid-precision quantization (Gated-DeltaNet / SSM tensors)

Qwythos is a hybrid model — a 3:1 mix of Gated-DeltaNet linear-attention (SSM) blocks and full-attention blocks. The linear-attention state tensors are disproportionately sensitive to low-bit quantization, so the K-quants here keep them at higher precision than the surrounding weights:

Quantssm_alphassm_betassm_out
Q6_KQ8_0Q8_0Q8_0
Q5_K_MQ8_0Q8_0Q6_K
Q4_K_MQ8_0Q8_0Q6_K

The remaining SSM state tensors (ssm_a, ssm_conv1d, ssm_dt, ssm_norm) are kept at F32 by the converter. This preserves the hybrid/SSM blocks for a small (~2–4%) increase in file size over a flat K-quant. Q8_0 and BF16 are uniform and need no overrides.


Quick start

llama.cpp

llama-cli \
  -m Qwythos-9B-v2-Q4_K_M.gguf \
  -p "Walk through the biochemistry of how organophosphate nerve agents inhibit acetylcholinesterase." \
  -n 8192 \
  --temp 0.6 --top-p 0.95 --top-k 20 --repeat-penalty 1.05 \
  -c 16384

Because v2's looping is trained out, --repeat-penalty is now optional and greedy decoding (--temp 0) stays coherent.

Ollama

ollama run hf.co/empero-ai/Qwythos-9B-v2-GGUF:Q4_K_M

LM Studio / jan / KoboldCpp

Drop any .gguf into your runtime's model directory. Qwythos uses the standard Qwen3.5 chat template; modern GGUF runtimes load it automatically from the file.

MTP draft speculation

llama-server \
  -m Qwythos-9B-v2-MTP-Q4_K_M.gguf \
  --spec-type draft-mtp \
  --spec-draft-n-max 6 \
  -c 16384 --port 8080

MTP support requires a recent llama.cpp build. If your runtime doesn't support MTP yet, use the normal files.


Vision (image input)

Download a text quant plus the mmproj-*.gguf, then run llama.cpp's multimodal CLI/server:

llama-mtmd-cli \
  -m Qwythos-9B-v2-Q4_K_M.gguf \
  --mmproj mmproj-Qwythos-9B-v2-BF16.gguf \
  --image ./photo.jpg \
  -p "Describe this image in detail." \
  --temp 0.6 --top-p 0.95 --top-k 20 -c 16384

Honest note: all Qwythos training (base SFT and v2 FTPO) was text-only — the vision tower was never fine-tuned, so image-grounded reasoning inherits base Qwen3.5-9B behavior and has not been independently evaluated for this release.


Sampling recommendations

Qwythos is a reasoning model — every response opens with a <think>...</think> block before the answer.

ParameterValue
temperature0.6
top_p0.95
top_k20
repeat_penalty1.05 (optional in v2)
max_new_tokens16384

Unlike the base Qwythos, v2 does not loop under greedy / low-temperature decoding — you can use --temp 0 for deterministic runs without repetition. The 0.6-temperature settings above still match Qwen3.5's official thinking-mode recommendations for best quality.


Long context (1M tokens)

The GGUFs ship with YaRN rope-scaling baked in for a 1,048,576-token context window (4× the 262,144 native). Set -c up to 1048576; lower it to reduce KV-cache memory for shorter prompts. A single H100/H200-class GPU comfortably handles 256k–512k; the full 1M typically needs multi-GPU or aggressive KV-cache offload.


Conversion & verification

  • Converted and quantized with llama.cpp (convert_hf_to_gguf.py, llama-quantize), architecture qwen35, GGUF v3.
  • MTP variants: default conversion (33-block, nextn_predict_layers = 1, 15 MTP tensors, MTP matrices pinned Q8_0). Normal variants: --no-mtp (32-block trunk-only). mmproj: --mmproj --outtype bf16.
  • Hybrid-precision overrides applied per the table above.
  • Structurally verified (arch / block count / nextn key / per-tensor types) and smoke-tested for load + coherent generation.
  • shasum -a 256 -c SHA256SUMS covers all 11 artifacts.

License & acknowledgements

Apache-2.0, inherited from Qwen3.5-9B. Shared for research and experimentation, as-is.

  • Developed and released by Empero AI
  • Base model: Qwen3.5-9B (Alibaba Qwen team)
  • Looping fixed with FTPO (Final-Token Preference Optimization)
  • Quantization: llama.cpp (ggml-org)
  • HF model: empero-ai/Qwythos-9B-v2
HUGGING FACE

上游数据

HF 下载量64.6万
HF 点赞量273

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

SITE STATS

本站统计

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

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

来源与版本

作者
empero-ai
最近更新
未知
最新创建
2026/07/09
HF 趋势
109
数据快照
2026/09/16
版本
未知
许可证
apache-2.0