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

GLM-4.7-Flash-Uncensored-Heretic-NEO-CODE-Imatrix-MAX-GGUF

HF 源站

DavidAU/GLM-4.7-Flash-Uncensored-Heretic-NEO-CODE-Imatrix-MAX-GGUF is an uncensored open-source model hosted on Hugging Face.

Text GenerationGGUFChineseEnglishMultilingualLicense: mitGLM 4.7 FlashthinkingreasoningNEO ImatrixMAX Quants16 bit precision output tensorhereticuncensoredabliterateddeep reasoningfine tunecreativecreative writingfiction writingplot generationsub-plot generationstory generationscene continuestorytellingfiction storyscience fictionromanceall genresstorywritingvivid prosingvivid writingfictionroleplayingbfloat16swearingrphorrorimatrixconversational
README.md说明 / 使用方法

language:

  • en
  • zh license: mit tags:
  • GLM 4.7 Flash
  • thinking
  • reasoning
  • NEO Imatrix
  • MAX Quants
  • 16 bit precision output tensor
  • heretic
  • uncensored
  • abliterated
  • thinking
  • reasoning
  • deep reasoning
  • fine tune
  • creative
  • creative writing
  • fiction writing
  • plot generation
  • sub-plot generation
  • fiction writing
  • story generation
  • scene continue
  • storytelling
  • fiction story
  • science fiction
  • romance
  • all genres
  • story
  • writing
  • vivid prosing
  • vivid writing
  • fiction
  • roleplaying
  • bfloat16
  • swearing
  • rp
  • horror pipeline_tag: text-generation base_model:
  • Olafangensan/GLM-4.7-Flash-heretic

为全新的 GLM-4.7-Flash(30B-A3B MoE 混合专家模型)专门打造并强化的无审查 / HERETIC GGUF 量化版本。

[ https://huggingface.co/zai-org/GLM-4.7-Flash ]

由于每次仅激活 4 个专家(约 20 亿激活参数),该模型可在 GPU 和/或 CPU 上顺畅运行。

无审查(Uncensored)/ Heretic 处理

由 Heretic 提供的去审查处理(特别鸣谢 "Olafangensan")在某些情况下似乎缩减了思考块(thinking blocks)的大小,并且/或者使模型的表现更加“专注”。

默认设置(适用于大多数任务)

temperature: 1.0
top-p: 0.95
max new tokens: 131072

重复惩罚(REP PEN):1.1 或 1.0(关闭)(如果遇到重复生成问题)

您也可以尝试 GLM 4.6 的推荐设置(来自 unsloth):

temperature = 0.8

top_p = 0.6 (推荐)

top_k = 2 (推荐)

max_generate_tokens = 16,384

话虽如此,我建议最低上下文窗口设置为 8k-16K,因为最终输出(思考过程之后的内容)可能非常长且详尽,并且在多次观察中,模型会在输出部分对最终结果进行一次或多次“润色”。

(模型无需 RoPE 扩展即可支持高达 200k 上下文。)

未去审查(原版)量化版本:

https://huggingface.co/DavidAU/GLM-4.7-Flash-Uncensored-Heretic-NEO-CODE-Imatrix-MAX-GGUF

量化概述:

量化版本与重要性矩阵(imatrix)均使用最新的 LLAMACPP(commit: 7789, 2026年1月21日)计算生成,该版本包含了针对此模型的专门修复。

在此 commit 之前的量化版本(以及重要性矩阵生成)表现不佳(必须重新量化并重新生成 imatrix)。

另外请注意,Flash Attn 存在一些导致生成速度变慢的问题(因为 Flash 在某些情况下会被卸载到 CPU 上)。在此问题得到解决或合并入“llamacpp / ai 流水线”之前,请暂时禁用 Flash Attn。

专用量化版本(Specialized Quants)

专用量化版本(IQ4_NL、Q5_1、Q4_1、Q8_0)经过精度平衡调优,以解决所有层中需要特定量化类型的特定张量问题。

其他“常规”量化版本同样具有非常出色的表现。

量化增强特性:

重要性矩阵(imatrix)采用 DavidAU 的 NEO 与 Code 数据集——采用双重要性矩阵(Dual Imatrix,分别独立生成的两套 imatrix)以提升模型性能。

所有量化版本(包括专用与“常规”版本)均使用 16 位(全精度)“输出张量(output tensor)”进行强化,从而进一步提升模型质量。

输出张量直接影响模型 10-20% 的精细输出质量——同时涵盖思考过程与最终输出生成。

特别鸣谢:

  • ZAI-ORG 团队打造了如此卓越的模型。
  • P-E-W 团队在 Heretic 系统上付出的杰出工作。
  • Olafangensan 团队完成了该模型的 Heretic 去审查处理。

使用“去审查”(移除拒绝机制)模型 VS 原生训练的“无审查”模型

通常情况下,当你要求一个模型生成恐怖、粗口或成人内容时,只需下达指令即可获得对应类型的内容。

而在本模型中,它绝不会拒绝你的请求,但在某些情况下,它需要被稍加“推动”或给予更多明确的引导。

尽管该模型同样可以生成成人内容,但类似地,你需要指示它使用特定的“俚语/粗俗语”(并给出你想要的词汇),以便让它按照“预期的”程度准确生成内容。

如果没有这些额外的指令引导,与专门针对无审查内容训练的模型相比,生成的内容可能会显得较为“平淡”。

大体而言,模型会尝试生成相应内容,但其“默认”设置倾向较为“温和”,因此需要一定的推动力才能达到预期的露骨描写、粗口或露骨情节水平。

即使给予最基本的指引(例如:使用这些粗口词汇:x, y, z),也足以推动模型按照……所预期的形式生成所需内容。


设置建议:聊天 / 角色扮演(ROLEPLAY)及/或更平滑的模型运行设置:

在 "KoboldCpp"、"oobabooga/text-generation-webui" 或 "Silly Tavern" 中:

将 "Smoothing_factor" 设置为 1.5

: 在 KoboldCpp 中 -> Settings->Samplers->Advanced-> "Smooth_F"

: 在 text-generation-webui 中 -> parameters -> 右下角。

: 在 Silly Tavern 中此项名为:"Smoothing"

注意:对于 "text-generation-webui"

-> 如果使用 GGUF,你需要选择 "llama_HF"(这需要从本模型的源版本下载部分配置文件)

我发布的模型源版本(及配置文件)请见此处:

https://huggingface.co/collections/DavidAU/d-au-source-files-for-gguf-exl2-awq-gptq-hqq-etc-etc-66b55cb8ba25f914cbf210be

其他选项:

  • 将重复惩罚(rep pen)增加至 1.1 到 1.15(如果使用了 "smoothing_factor" 则无需此项)

  • 如果你用于运行 AI 模型的界面/程序支持“二次采样(Quadratic Sampling)”(即“平滑/smoothing”),请按照上述说明调整即可。

最高质量设置 / 最佳运行指南 / 参数与采样器

这是一个“Class 1(一级)”模型:

如需查看适用于该模型的所有设置(包括针对其“Class”分类的具体设置)、生成示例,以及高级设置指南(通常能解决绝大多数模型问题),包括针对各种用例(以及对话聊天、角色扮演等)提升模型性能的方法,请参阅:

[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]

若要查看生成所用的全部参数,以及充分发挥该模型潜力的高级参数与采样器设置,请参阅此处:

[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]

源站原文

language:

  • en
  • zh license: mit tags:
  • GLM 4.7 Flash
  • thinking
  • reasoning
  • NEO Imatrix
  • MAX Quants
  • 16 bit precision output tensor
  • heretic
  • uncensored
  • abliterated
  • thinking
  • reasoning
  • deep reasoning
  • fine tune
  • creative
  • creative writing
  • fiction writing
  • plot generation
  • sub-plot generation
  • fiction writing
  • story generation
  • scene continue
  • storytelling
  • fiction story
  • science fiction
  • romance
  • all genres
  • story
  • writing
  • vivid prosing
  • vivid writing
  • fiction
  • roleplaying
  • bfloat16
  • swearing
  • rp
  • horror pipeline_tag: text-generation base_model:
  • Olafangensan/GLM-4.7-Flash-heretic

Specialized and Enhanced UNCENSORED/HERETIC GGUF quants for the new GLM-4.7-Flash, 30B-A3B MOE, mixture of experts model.

[ https://huggingface.co/zai-org/GLM-4.7-Flash ]

This model can be run on the GPU(s) and/or CPU due to 4 experts activated (appox 2B parameters active).

Uncensored / Heretic'ed

De-censoring by Heretic (special thanks to "Olafangensan") seems to have reduced the size of thinking blocks in some cases and/or "focused" the model more.

Default Settings (Most Tasks)

temperature: 1.0
top-p: 0.95
max new tokens: 131072

REP PEN: 1.1 OR 1.0 (off) (if you get repeat issues)

You might also try GLM 4.6 settings (unsloth):

temperature = 0.8

top_p = 0.6 (recommended)

top_k = 2 (recommended)

max_generate_tokens = 16,384

That being said, I suggest min context of 8k-16K as final outputs (post thinking) can be long and detailed and in a number of cases has been observed "polishing" the final output one or more times IN the output section.

(Model can handle 200k context, non-roped.)

NON-UNCENSORED QUANTS:

https://huggingface.co/DavidAU/GLM-4.7-Flash-Uncensored-Heretic-NEO-CODE-Imatrix-MAX-GGUF

Quants General:

Quants and Imatrixes computed using latest LLAMACPP (commit: 7789, Jan 21 2026) which contains specific fixes for this model.

Quants prior to this commit (as well as Imatrix generation) performed poorly (re-quanization and re-imatrix generation are required).

Also note there are some issues with Flash Attn and low token generation speed (as Flash is offloaded to CPU in some cases). Disable Flash Attn until this issue is resolved / makes its way thru the "llamacpp / ai pipeline".

Specialized Quants

Specialized quants (IQ4_NL, Q5_1, Q4_1, Q8_0) are precision balanced to address a specific tensor issues in all layers that requires a specific quant type.

Other "normal" quants will also perform very well.

Quant Enhancements:

Imatrix is NEO and Code datasets by DavidAU - Dual Imatrix (2 imatrixes separately generated) to improve model performance.

All quants (specialized and "normal") are also enhanced with 16 bit (full) precision "output tensor" to further improve model performance.

Output tensor affects 10-20% of the fine output of the model - both thinking and output (final) generation.

Special thanks to :

  • Team ZAI-ORG for making an outstanding model.
  • Team P-E-W for fanstastic work on Heretic system.
  • Team Olafangensan for Heretic'ing the model.

Using an "uncensored" (refusals removed) model VS trained "uncensored" model

Usually when you a tell a model to generate horror, swear or x-rated content this is all you have to do to get said content type.

In the case of this model, it will not refuse your request, however it needs to be "pushed" a bit / directed a bit more in SOME CASES.

Although this model will generated x-rated content too, likewise you need to tell it to use "slang" (and include the terms you want) to get it generate the content correctly as the "expected" content level too.

Without these added directive(s), the content can be "bland" by comparison to an "uncensored model" or model trained on uncensored content.

Roughly, the model tries to generate the content but the "default" setting(s) are so "tame" it needs a push to generate at expected graphic, cursing or explicit levels.

Even with minimal direction (ie, use these words to swear: x,y,z), this will be enough to push the model to generate the requested content in the ahh... expected format.


Settings: CHAT / ROLEPLAY and/or SMOOTHER operation of this model:

In "KoboldCpp" or "oobabooga/text-generation-webui" or "Silly Tavern" ;

Set the "Smoothing_factor" to 1.5

: in KoboldCpp -> Settings->Samplers->Advanced-> "Smooth_F"

: in text-generation-webui -> parameters -> lower right.

: In Silly Tavern this is called: "Smoothing"

NOTE: For "text-generation-webui"

-> if using GGUFs you need to use "llama_HF" (which involves downloading some config files from the SOURCE version of this model)

Source versions (and config files) of my models are here:

https://huggingface.co/collections/DavidAU/d-au-source-files-for-gguf-exl2-awq-gptq-hqq-etc-etc-66b55cb8ba25f914cbf210be

OTHER OPTIONS:

  • Increase rep pen to 1.1 to 1.15 (you don't need to do this if you use "smoothing_factor")

  • If the interface/program you are using to run AI MODELS supports "Quadratic Sampling" ("smoothing") just make the adjustment as noted.

Highest Quality Settings / Optimal Operation Guide / Parameters and Samplers

This a "Class 1" model:

For all settings used for this model (including specifics for its "class"), including example generation(s) and for advanced settings guide (which many times addresses any model issue(s)), including methods to improve model performance for all use case(s) as well as chat, roleplay and other use case(s) please see:

[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]

You can see all parameters used for generation, in addition to advanced parameters and samplers to get the most out of this model here:

[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]

HUGGING FACE

上游数据

HF 下载量3.6万
HF 点赞量421

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

SITE STATS

本站统计

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

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

来源与版本

作者
DavidAU
最近更新
2026/06/12
最新创建
2026/01/22
HF 趋势
170
数据快照
2026/09/16
版本
未知
许可证
mit