FedorFesarov commited on
Commit
50f104c
·
verified ·
1 Parent(s): 176aa14

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,22 @@ saved_model/**/* 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ imatrix.dat filter=lfs diff=lfs merge=lfs -text
37
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-F16.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-IQ3_M-imat.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-IQ4_XS-imat.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q2_K-imat.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_L-imat.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_M-imat.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_S-imat.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q4_K_M-imat.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q4_K_S-imat.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-F16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:259fe67612e037a95226afad12825318828370f268b790d722501a8a97a99900
3
+ size 8343845440
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-IQ3_M-imat.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:396eadb437641acba72dee59216f9a3e37ce7a8a50f9088206506298f6826572
3
+ size 2081819488
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-IQ4_XS-imat.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:186a39a64707ee802c4a49506c4e278a53b16bbfa31dcebba5dc1a0baacfdefc
3
+ size 2378003296
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q2_K-imat.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e121f6d5236a52ec11f47b1678d2e0458ea21091fc8b19ab179fe8e4086181e
3
+ size 1756095328
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b42df8f66b805426c12a1f96bae9f68184b34be4228de75d0e014bf05c3c7260
3
+ size 1756095040
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_L-imat.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4c24cd50909b679ec4e8a8f93383531ec211b021eccfb8dcc6c1818a529411a
3
+ size 2307783520
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4aef5bed7b66ef1497423560e8b1114f97bd400d925639b379f8408d92e97c74
3
+ size 2307783232
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_M-imat.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3af7e90dc046cf569d986b6590008915849db19b5f99066866773210e069c9c
3
+ size 2165439328
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c4daa2d753daff3210e05d48604f49808f19625e07f19ee2da3f7bd5b650b1e
3
+ size 2165439040
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_S-imat.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:808a978e9f162915a4bb255c3824b99afcb1200ce635b85a481bf009782c7aa5
3
+ size 1995545440
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:add1dd77c708dd8d3695a0d059ad7faf01787eb6e8dfa5192ddbabe7d8e2ab29
3
+ size 1995545152
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q4_K_M-imat.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3234f4adb1e35d103d05c0b088cb9f2771cc362e12025ae7ee20a0abbdbf1b48
3
+ size 2574807904
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a1f9abc052366e03a1433dabcccbd38ba16940e42be39a5bef98c2103a89d80
3
+ size 2574807616
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q4_K_S-imat.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b706dd83123c7b69dba3c20bb5415a6113d58e99f6eb095a47ae5dc28b18e95a
3
+ size 2503758688
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ed3f56724a93e4646f5fcd3d2ee7a2b14c1be2ba212fee05df9e7d4183204f5
3
+ size 2503758400
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5832e5676cd08145398ef530e83160e2540db1f72181b4642cab0a8b28ab5188
3
+ size 2986996288
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6e6b090a89ad9be01d5585f526720c62a23648c4cc275204ce02c03654220c3
3
+ size 3424946752
Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18942fb13e026d94528ce3cdad4eb3b5f5935258639ef3e45f1bdd7fcc905e93
3
+ size 4434786880
README.md ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: FedorFesarov/Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic
3
+ base_model_relation: quantized
4
+ license: apache-2.0
5
+ language:
6
+ - en
7
+ - zh
8
+ library_name: gguf
9
+ pipeline_tag: text-generation
10
+ tags:
11
+ - gguf
12
+ - llama.cpp
13
+ - quantized
14
+ - abliteration
15
+ - heretic
16
+ - uncensored
17
+ - nanbeige
18
+ - looped-transformer
19
+ ---
20
+
21
+ # Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic — GGUF
22
+
23
+ GGUF quantizations of [**FedorFesarov/Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic**](https://huggingface.co/FedorFesarov/Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic) — an abliterated build of [AnkitAI/Parable-Nanbeige4.2-3B-Claude-Fable-5](https://huggingface.co/AnkitAI/Parable-Nanbeige4.2-3B-Claude-Fable-5), itself a Claude Fable 5 fine-tune of [Nanbeige/Nanbeige4.2-3B](https://huggingface.co/Nanbeige/Nanbeige4.2-3B).
24
+
25
+ Every quant below was **measured, not assumed** — perplexity on `wikitext-2` and throughput on an RTX 5070 Ti.
26
+
27
+ ---
28
+
29
+ ## Which file should I download?
30
+
31
+ **Short answer: `IQ4_XS-imat` if you want the best all-round tradeoff, `Q4_K_M-imat` if you want maximum safety margin.**
32
+
33
+ | Priority | Pick | Size |
34
+ |---|---|---|
35
+ | Best overall balance | **IQ4_XS-imat** | 2.21 GB |
36
+ | Highest fidelity at reasonable size | **Q4_K_M-imat** | 2.40 GB |
37
+ | Smallest usable | **IQ3_M-imat** | 1.94 GB |
38
+ | Near-lossless, size no object | **Q6_K** | 3.19 GB |
39
+
40
+ ---
41
+
42
+ ## Measured results
43
+
44
+ `F16` baseline perplexity: **17.772**. Lower is better; "Δ" is degradation versus F16.
45
+
46
+ ### With importance matrix (recommended)
47
+
48
+ The imatrix was computed on the full `wikitext-2` **train** split (4933 chunks, ctx 512) using the F16 weights. Calibration and evaluation use disjoint splits.
49
+
50
+ | File | Size | PPL | Δ vs F16 | pp512 t/s | tg128 t/s |
51
+ |---|---|---|---|---|---|
52
+ | `...-Q4_K_M-imat.gguf` | 2.40 GB | 18.125 | +2.0% | 7123 | 151 |
53
+ | `...-Q4_K_S-imat.gguf` | 2.33 GB | 18.248 | +2.7% | 7325 | 155 |
54
+ | **`...-IQ4_XS-imat.gguf`** | **2.21 GB** | **18.746** | **+5.5%** | **7875** | 162 |
55
+ | `...-Q3_K_L-imat.gguf` | 2.15 GB | 18.972 | +6.8% | 6262 | 148 |
56
+ | `...-IQ3_M-imat.gguf` | 1.94 GB | 19.227 | +8.2% | 7223 | 171 |
57
+ | `...-Q3_K_M-imat.gguf` | 2.02 GB | 19.293 | +8.6% | 6354 | 155 |
58
+ | `...-Q3_K_S-imat.gguf` | 1.86 GB | 21.253 | +19.6% | 5996 | 156 |
59
+ | `...-Q2_K-imat.gguf` | 1.64 GB | 25.359 | +42.7% | 5548 | 178 |
60
+
61
+ ### Without importance matrix
62
+
63
+ | File | Size | PPL | Δ vs F16 |
64
+ |---|---|---|---|
65
+ | `...-Q6_K.gguf` | 3.19 GB | 17.710 | −0.3% |
66
+ | `...-Q8_0.gguf` | 4.13 GB | 17.900 | +0.7% |
67
+ | `...-Q4_K_S.gguf` | 2.33 GB | 17.978 | +1.2% |
68
+ | `...-Q5_K_M.gguf` | 2.78 GB | 18.281 | +2.9% |
69
+ | `...-Q4_K_M.gguf` | 2.40 GB | 18.298 | +3.0% |
70
+ | `...-Q3_K_L.gguf` | 2.15 GB | 20.434 | +15.0% |
71
+ | `...-Q3_K_M.gguf` | 2.02 GB | 20.535 | +15.5% |
72
+ | `...-Q3_K_S.gguf` | 1.86 GB | 25.490 | +43.4% |
73
+ | `...-Q2_K.gguf` | 1.64 GB | 42.863 | +141% |
74
+ | `...-F16.gguf` | 7.77 GB | 17.772 | baseline |
75
+
76
+ ### Reading these numbers
77
+
78
+ - **The imatrix matters enormously below 4 bits.** Q2_K goes from +141% to +42.7%; Q3_K_M from +15.5% to +8.6%. At 4 bits and above the difference is negligible, which is why the high-precision files are provided without one.
79
+ - **Q2_K is not recommended at any setting.** Even with the imatrix it loses 42% — that is a qualitatively different model, not a slightly duller one. It is published for completeness and for extremely memory-constrained experiments only.
80
+ - **Above Q4_K_S the quants are statistically indistinguishable** from each other (differences smaller than the ±0.15 measurement error). Choose by size, not by decimal places.
81
+ - **IQ beats K-quants on GPU here.** IQ4_XS is smaller *and* faster than Q3_K_L while scoring better. Note this benchmark is CUDA — on pure CPU inference IQ types are typically slower to dequantize, so K-quants may win on CPU-only setups.
82
+
83
+ ---
84
+
85
+ ## Usage
86
+
87
+ ```bash
88
+ llama-cli -m Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic-IQ4_XS-imat.gguf \
89
+ -ngl 99 \
90
+ -c 8192 \
91
+ -sys "You are a helpful assistant." \
92
+ -p "Explain how HTTPS certificate validation works."
93
+ ```
94
+
95
+ ### Three flags you actually need
96
+
97
+ **`-c` — set it explicitly. This is not optional.**
98
+ This model has a 262144-token context and 44 KV-cache layers. Left at default, llama.cpp will try to allocate roughly **45 GB** of KV cache, spill it to system RAM, and inference will crawl. Budget approximately **176 MB of cache per 1024 tokens of context**. On a 16 GB card, 32k context is comfortable.
99
+
100
+ **`-ngl 99`** — offload all layers to GPU.
101
+
102
+ **`-sys "..."`** — override the default system prompt, which is in Chinese (`你是南北阁…`) and inherited from the base model. Without it, English prompts may get Chinese answers.
103
+
104
+ ### Optional: shrink the KV cache
105
+
106
+ ```bash
107
+ -ctk q8_0 -ctv q8_0
108
+ ```
109
+ Roughly halves cache memory at minimal quality cost — worth it on this architecture given how large the cache is.
110
+
111
+ ### Reasoning block
112
+
113
+ The model emits a `<think>` block before answering. Compatible front-ends (llama.cpp server, LM Studio, Open WebUI) will collapse it. To skip reasoning for latency-sensitive extraction work, use a chat template with an empty think block.
114
+
115
+ ---
116
+
117
+ ## Compatibility
118
+
119
+ Requires a llama.cpp build with **Nanbeige looped-transformer support** — the runtime must honour the `num_loops = 2` metadata and execute 44 layers, not 22. Verified working on **b10227** and **b10236**.
120
+
121
+ If output is incoherent, your build is too old. Mobile apps bundling older llama.cpp (PocketPal, ChatterUI) may be affected; check that generation is coherent before assuming a quant is broken.
122
+
123
+ ---
124
+
125
+ ## Provenance
126
+
127
+ | Step | Source |
128
+ |---|---|
129
+ | Pretrained | [Nanbeige/Nanbeige4.2-3B](https://huggingface.co/Nanbeige/Nanbeige4.2-3B) |
130
+ | Fine-tuned | [AnkitAI/Parable-Nanbeige4.2-3B-Claude-Fable-5](https://huggingface.co/AnkitAI/Parable-Nanbeige4.2-3B-Claude-Fable-5) |
131
+ | Abliterated | [FedorFesarov/…-heretic](https://huggingface.co/FedorFesarov/Parable-Nanbeige4.2-3B-Claude-Fable-5-heretic) with [Heretic](https://github.com/p-e-w/heretic) |
132
+ | Quantized | this repository, llama.cpp b10236 |
133
+
134
+ **Note:** refusal behaviour in these weights is intentionally suppressed. Deploy accordingly.
imatrix.dat ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb3922274d496b4833ea8de73a7dc7d315efff5fd96b94df0f911916bdd33f3b
3
+ size 2862304