初始化项目,由ModelHub XC社区提供模型

Model: Kakarikukuru/GLM-4.7-Flash-Uncensored-Heretic-NEO-CODE-Imatrix-MAX-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-21 05:14:16 +08:00
commit dab44eb7c6
14 changed files with 260 additions and 0 deletions

47
.gitattributes vendored Normal file
View File

@@ -0,0 +1,47 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
GLM-4.7-Flash-Uncen-Hrt-NEO-CODE-MAX-imat-D_AU-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ea32884884d8eda55b3e2abb658676f3e3172dd9f1b129575ac07579df7335f
size 10314638272

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4dc6b9ca03c08d433a9c7e232054e8ac510027473088c31322a9f45f7e62d4e1
size 13585456064

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8dad4615288e66e2fb3398a93b9d333c480600d9e41b8eb8e8f4d3ad5e3a1041
size 17330212800

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c0e559480d4a3e54bce13699f8695fba20fbc230086e93a604eaee678df90b55
size 16407478208

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1f902abdecd809f9f09c8662f27ce827c2561bc1ee394497fe1082aafc1f891
size 19181457344

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6eb0adad2033705c1b107c6303673a6bcff6cf6df8c798bc3dcaa5879fffd287
size 18506911680

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ff44d89d4ce7ba3b89e0c5bc63ac9eb63762e1a587fd907bf392a6c3825da6c
size 17446621120

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9408b81c07f16afa56eba439cddb33bc3f9c8115cca336b3ed17c732db0cd260
size 22883946432

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:444467bf5b8d43f8d8b81291f4392bc26b9cfa5ef9627ee4746ff2534949f514
size 21638705088

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dba1f084885197bcfea6b6482afd2c2e998141a3d4dc040778464cd4e84a0480
size 21038477248

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:544d5b58ec3797add72a589d6732a3c7bddc5095745199c767322dbd7a4bb972
size 24988976064

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e13bc93b85ddeee371c00a9ec182d1e1e98cd75b04df31cf2bffdbb1ef506f4
size 32140169152

177
README.md Normal file
View File

@@ -0,0 +1,177 @@
---
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
---
<h2>GLM-4.7-Flash-Uncensored-Heretic-NEO-CODE-Imatrix-MAX-GGUF</h2>
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).
NOTE: Latest Llamacpp 7789 commit, with corrected quants.
<B>Uncensored / Heretic'ed</B>
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
<B>Quants General:</B>
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".
<b>Specialized Quants</B>
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.
<b>Quant Enhancements:</B>
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.
---
<B>Using an "uncensored" (refusals removed) model VS trained "uncensored" model</B>
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.
---
<B>Settings: CHAT / ROLEPLAY and/or SMOOTHER operation of this model:</B>
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.
<B>Highest Quality Settings / Optimal Operation Guide / Parameters and Samplers</B>
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 ]