Abiray commited on
Commit
32203c0
·
verified ·
1 Parent(s): 4119fa5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -34
README.md CHANGED
@@ -1,60 +1,75 @@
1
  ---
 
2
  base_model: Altworld/Hemmingway-1
3
  tags:
 
4
  - gguf
5
  - llama.cpp
6
- - qwen35
7
- - conversational
8
- - text-generation
9
- - mtp
 
 
 
10
  pipeline_tag: text-generation
11
- license: apache-2.0
12
  language:
13
  - en
14
  ---
15
 
16
  # Hemmingway-1-heretic-GGUF
17
 
18
- High-fidelity **GGUF** quantizations of `arelath/Hemmingway-1-heretic-adapter` merged into `Altworld/Hemmingway-1` in `bfloat16`.
19
 
20
- **These builds preserve the full 65-layer architecture, including the 65th Multi-Token Prediction (MTP) speculative drafting head.**
 
 
21
 
22
- ## Models Available
23
 
24
- | Quantization | File | Size | Notes |
25
- | :--- | :--- | :--- | :--- |
26
- | **Q3_K_M** | `Hemmingway-1-heretic-Q3_K_M.gguf` | 12.57 GB | Full 65-layer backbone + MTP head |
27
- | **Q4_K_M** | `Hemmingway-1-heretic-Q4_K_M.gguf` | 15.66 GB | Full 65-layer backbone + MTP head |
28
- | **Q4_K_S** | `Hemmingway-1-heretic-Q4_K_S.gguf` | 14.74 GB | Full 65-layer backbone + MTP head |
29
- | **Q5_K_M** | `Hemmingway-1-heretic-Q5_K_M.gguf` | 18.19 GB | Full 65-layer backbone + MTP head |
30
- | **Q6_K** | `Hemmingway-1-heretic-Q6_K.gguf` | 20.89 GB | Full 65-layer backbone + MTP head |
31
- | **Q8_0** | `Hemmingway-1-heretic-Q8_0.gguf` | 27.05 GB | Full 65-layer backbone + MTP head |
32
 
33
  ---
34
 
35
- ## Speculative Decoding (MTP Acceleration)
36
 
37
- Enable native speculative lookahead decoding in `llama.cpp` using the preserved draft head:
38
 
39
- ```bash
40
- llama-cli -m Hemmingway-1-heretic-Q4_K_M.gguf --spec-type draft-mtp -p "Hello!"
41
- ```
 
42
 
43
- ## Quick Start with llama.cpp
 
 
 
 
44
 
45
- ### Local Server:
46
- ```bash
47
- llama-server -hf Abiray/Hemmingway-1-heretic-GGUF:Q4_K_M --spec-type draft-mtp --port 8080 -t 16
48
- ```
 
49
 
50
- ### Direct CLI Chat:
51
  ```bash
52
- llama-cli -hf Abiray/Hemmingway-1-heretic-GGUF:Q4_K_M --spec-type draft-mtp -cnv -t 16
 
 
 
 
 
 
53
  ```
54
 
55
- ---
56
-
57
- ## Lineage & Provenance
58
- * **Base Architecture:** [Altworld/Hemmingway-1](https://huggingface.co/Altworld/Hemmingway-1)
59
- * **Adapter:** [arelath/Hemmingway-1-heretic-adapter](https://huggingface.co/arelath/Hemmingway-1-heretic-adapter)
60
- * **Quantization Engine:** `llama.cpp` (16-thread native build)
 
1
  ---
2
+ license: cc-by-nc-4.0
3
  base_model: Altworld/Hemmingway-1
4
  tags:
5
+ - text-generation
6
  - gguf
7
  - llama.cpp
8
+ - qwen3.8
9
+ - chat
10
+ - creative-writing
11
+ - uncensored
12
+ - heretic
13
+ - abliterated
14
+ - decensored
15
  pipeline_tag: text-generation
 
16
  language:
17
  - en
18
  ---
19
 
20
  # Hemmingway-1-heretic-GGUF
21
 
22
+ This repository contains static GGUF quantizations of **Hemmingway-1-heretic**, created by applying the [arelath/Hemmingway-1-heretic-adapter](https://huggingface.co/arelath/Hemmingway-1-heretic-adapter) to [Altworld/Hemmingway-1](https://huggingface.co/Altworld/Hemmingway-1) (a 27B model built on Qwen3.8-27B) and quantizing for local inference with `llama.cpp`.
23
 
24
+ Hemmingway-1 is tuned specifically to write like a real person—skipping preambles, lecture notes, and corporate filler. This **heretic** version decensors the weights via targeted representation abliteration using Heretic v2.0.0, reducing refusals to near-zero while preserving high-EQ conversational voice.
25
+
26
+ ---
27
 
28
+ ## Quantization Variants
29
 
30
+ | Filename | Size | Recommended RAM/VRAM | Description |
31
+ | :--- | :---: | :---: | :--- |
32
+ | `Hemmingway-1-heretic-Q3_K_M.gguf` | 13.5 GB | ~16 GB | Maximum compression; fits on mid-range hardware with slight perplexity trade-off. |
33
+ | `Hemmingway-1-heretic-Q4_K_S.gguf` | 15.8 GB | ~19 GB | Lightweight 4-bit; fast tokens/sec for tighter memory envelopes. |
34
+ | `Hemmingway-1-heretic-Q4_K_M.gguf` | 16.8 GB | ~20 GB | **Recommended balance.** Retains near-full baseline accuracy with solid speed. |
35
+ | `Hemmingway-1-heretic-Q5_K_M.gguf` | 19.5 GB | ~23 GB | High fidelity; preserves subtle nuanced phrasing and tone. |
36
+ | `Hemmingway-1-heretic-Q6_K.gguf` | 22.4 GB | ~26 GB | Near loss-less reproduction of the 16-bit unquantized model. |
37
+ | `Hemmingway-1-heretic-Q8_0.gguf` | 29.0 GB | ~33 GB | Maximum quality 8-bit quantization for high-VRAM setups. |
38
 
39
  ---
40
 
41
+ ## Decensoring & Abliteration Details
42
 
43
+ Created using [Heretic](https://heretic-project.org) v2.0.0.dev0 against `Altworld/Hemmingway-1`.
44
 
45
+ ### Abliteration Parameters
46
+ - **direction_index:** 38.05
47
+ - **attn.o_proj.max_weight:** 1.03 (position: 41.01, min_weight: 1.02, min_distance: 28.56)
48
+ - **mlp.down_proj.max_weight:** 1.41 (position: 51.07, min_weight: 1.39, min_distance: 35.29)
49
 
50
+ ### Refusal Comparison
51
+ | Metric | This Model (Heretic) | Original Hemmingway-1 |
52
+ | :--- | :---: | :---: |
53
+ | **Refusals** | **2 / 100** | 95 / 100 |
54
+ | **KL Divergence** | **0.1662** | 0 *(baseline)* |
55
 
56
+ ---
57
+
58
+ ## Quickstart & Usage
59
+
60
+ ### 1. llama.cpp CLI
61
 
 
62
  ```bash
63
+ # Clone and build llama.cpp, then run:
64
+ ./llama-cli \
65
+ -m Hemmingway-1-heretic-Q4_K_M.gguf \
66
+ -p "<|im_start|>system\nYou are a direct, empathetic writing assistant.<|im_end|>\n<|im_start|>user\nWrite the text I send my landlord about the broken boiler.<|im_end|>\n<|im_start|>assistant\n" \
67
+ -n 512 \
68
+ -ngl 99 \
69
+ -c 8192
70
  ```
71
 
72
+ ## Credits & Licensing
73
+ **Base Weights:** Altworld/Hemmingway-1 by Altworld, built on Qwen/Qwen3.8-27B.
74
+ **Abliteration Adapter:** arelath/Hemmingway-1-heretic-adapter by arelath.
75
+ **License:** Governed by the original model's license terms: CC BY-NC 4.0 (Free for personal and non-commercial research use; commercial usage requires agreement with Altworld).