FadedRedStar commited on
Commit
30ebdcc
ยท
verified ยท
1 Parent(s): ba8962e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +44 -44
README.md CHANGED
@@ -2,46 +2,51 @@
2
  base_model: coder3101/LFM2.5-8B-A1B-heretic
3
  base_model_relation: quantized
4
  library_name: gguf
5
- license: apache-2.0
 
 
6
  language:
7
  - en
8
  - ar
9
  - zh
10
  - fr
11
  - de
12
- - it
13
  - ja
14
  - ko
15
- - pt
16
  - es
 
17
  pipeline_tag: text-generation
18
  tags:
19
  - gguf
 
20
  - text-generation
21
- - reasoning
22
- - instruction-following
23
- - agentic
24
- - tool-use
25
- - abliterated
26
  - uncensored
27
- - lfm2
28
- - q4_k_m
29
  - conversational
 
 
 
 
30
  ---
31
 
32
- # LFM2.5-8B-A1B-heretic โ€” GGUF
33
 
34
  This repository hosts GGUF weights for **LFM2.5-8B-A1B-heretic**, quantized from the source floating-point tensors provided by [coder3101/LFM2.5-8B-A1B-heretic](https://huggingface.co/coder3101/LFM2.5-8B-A1B-heretic).
35
 
36
- ## About the Model
 
 
 
 
 
37
 
38
  **LFM2.5-8B-A1B** is a text-only model from Liquid AI's **Liquid Foundation Model 2.5** series, designed for on-device deployment. It uses a hybrid architecture with **24 layers โ€” 18 double-gated LIV (Liquid, Input-adaptive, Value-selective) convolution layers plus 6 GQA (Grouped Query Attention) layers** โ€” activating only approximately **1.5B parameters per forward pass** out of 8.3B total. This delivers fastest-in-class throughput at its size on both CPU and GPU, with day-one support for llama.cpp, MLX, vLLM, and SGLang. The model is a **reasoning model**: it produces a chain-of-thought before its final answer, and is tuned for **complex instruction following, tool calling, and chained agentic task execution**.
39
 
40
  The **heretic** suffix denotes post-processing via the **[Heretic v1.2.0 Arbitrary-Rank Ablation (ARA)](https://github.com/p-e-w/heretic)** method with row-norm preservation performed by [coder3101](https://huggingface.co/coder3101), which removes refusal conditioning at multiple tensor ranks while maintaining the model's instruction-following and planning capabilities.
41
 
42
- ---
43
-
44
- ## Model & Architecture Specifications
45
 
46
  | Property | Value |
47
  |---|---|
@@ -52,16 +57,14 @@ The **heretic** suffix denotes post-processing via the **[Heretic v1.2.0 Arbitra
52
  | **Primary Use** | Reasoning, instruction following, tool calling, agentic tasks |
53
  | **Context Window** | 128,000 tokens |
54
  | **Training Budget** | 38 trillion tokens |
55
- | **Languages** | English, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish |
56
  | **Abliteration Tool** | Heretic v1.2.0 |
57
  | **Abliteration Method** | Arbitrary-Rank Ablation (ARA) with row-norm preservation |
58
  | **Prompt Format** | ChatML |
59
 
60
- ---
61
-
62
- ## Abliteration Parameters
63
 
64
- | Parameter | Value |
65
  |---|---|
66
  | **start_layer_index** | 7 |
67
  | **end_layer_index** | 21 |
@@ -70,7 +73,7 @@ The **heretic** suffix denotes post-processing via the **[Heretic v1.2.0 Arbitra
70
  | **overcorrect_relative_weight** | 0.9494 |
71
  | **neighbor_count** | 8 |
72
 
73
- ## Abliteration Performance
74
 
75
  > [!NOTE]
76
  > The metrics below are self-reported by the original model author ([coder3101](https://huggingface.co/coder3101)) and have not been independently reproduced.
@@ -80,32 +83,30 @@ The **heretic** suffix denotes post-processing via the **[Heretic v1.2.0 Arbitra
80
  | **KL divergence** | 0.0239 | 0 *(by definition)* |
81
  | **Refusals** | 12/100 | 91/100 |
82
 
83
- ---
84
-
85
- ## Quantization Details
86
 
87
  | Property | Value |
88
  |---|---|
89
- | **Quantization Type** | Q4_K_M |
90
 
91
- ### Quantization Command
92
 
93
- ```bash
94
- ./llama-quantize /content/model-bf16.gguf \
95
- /content/LFM2.5-8B-A1B-heretic-Q4_K_M.gguf q4_k_m
96
- ```
97
-
98
- ---
99
 
100
- ## Repository Files
101
 
102
- | Filename | Format | Size | llama.cpp Build | Description |
103
- |---|---|---|---|---|
104
- | `LFM2.5-8B-A1B-heretic-Q4_K_M.gguf` | Q4_K_M | 5.16 GB | b9803 | Main model weights |
105
 
106
- ---
 
 
107
 
108
- ## Inference
109
 
110
  > [!NOTE]
111
  > Liquid AI recommends the following generation parameters for best results: `temperature: 0.2`, `top_k: 80`, `repetition_penalty: 1.05`.
@@ -113,6 +114,9 @@ The **heretic** suffix denotes post-processing via the **[Heretic v1.2.0 Arbitra
113
  > [!NOTE]
114
  > This model emits reasoning content before its final answer. If you require a clean final answer only, parse the output accordingly rather than expecting a single direct response.
115
 
 
 
 
116
  ### llama.cpp CLI
117
 
118
  ```bash
@@ -138,9 +142,7 @@ The **heretic** suffix denotes post-processing via the **[Heretic v1.2.0 Arbitra
138
  --flash-attn
139
  ```
140
 
141
- ---
142
-
143
- ## Prompt Format (ChatML)
144
 
145
  ```text
146
  <|im_start|>system
@@ -150,9 +152,7 @@ Your task or query here.<|im_end|>
150
  <|im_start|>assistant
151
  ```
152
 
153
- ---
154
-
155
- ## Notes & Limitations
156
 
157
  - This model is abliterated and will generate content that standard aligned models refuse. Use responsibly and in compliance with applicable laws.
158
  - This is a **text-only** model โ€” it has no vision encoder and cannot process images.
 
2
  base_model: coder3101/LFM2.5-8B-A1B-heretic
3
  base_model_relation: quantized
4
  library_name: gguf
5
+ license: other
6
+ license_name: lfm-1.0
7
+ license_link: https://huggingface.co/LiquidAI/LFM2.5-350M/blob/main/LICENSE
8
  language:
9
  - en
10
  - ar
11
  - zh
12
  - fr
13
  - de
 
14
  - ja
15
  - ko
 
16
  - es
17
+ - pt
18
  pipeline_tag: text-generation
19
  tags:
20
  - gguf
21
+ - llama.cpp
22
  - text-generation
23
+ - heretic
24
+ - liquid-ai
 
 
 
25
  - uncensored
26
+ - abliterated
 
27
  - conversational
28
+ - q4_k_m
29
+ - q5_k_m
30
+ - q8_0
31
+ quantized_by: FadedRedStar
32
  ---
33
 
34
+ # ๐Ÿค– LFM2.5-8B-A1B-heretic โ€” GGUF
35
 
36
  This repository hosts GGUF weights for **LFM2.5-8B-A1B-heretic**, quantized from the source floating-point tensors provided by [coder3101/LFM2.5-8B-A1B-heretic](https://huggingface.co/coder3101/LFM2.5-8B-A1B-heretic).
37
 
38
+ **๐Ÿ”„ Sister Repository:** Check out the [Imatrix Sister Repository](https://huggingface.co/FadedRedStar/LFM2.5-8B-A1B-heretic-imatrix-GGUF) for enhanced precision at lower bit fractions.
39
+
40
+ > [!NOTE]
41
+ > If you plan on using 4-bit or 5-bit variants, consider the **imatrix** sister repository instead โ€” importance matrix calibration improves logic retention at those bit depths. This repository is best suited if you want the near-lossless `Q8_0` build.
42
+
43
+ ## โ„น๏ธ Model Profile & Core Features
44
 
45
  **LFM2.5-8B-A1B** is a text-only model from Liquid AI's **Liquid Foundation Model 2.5** series, designed for on-device deployment. It uses a hybrid architecture with **24 layers โ€” 18 double-gated LIV (Liquid, Input-adaptive, Value-selective) convolution layers plus 6 GQA (Grouped Query Attention) layers** โ€” activating only approximately **1.5B parameters per forward pass** out of 8.3B total. This delivers fastest-in-class throughput at its size on both CPU and GPU, with day-one support for llama.cpp, MLX, vLLM, and SGLang. The model is a **reasoning model**: it produces a chain-of-thought before its final answer, and is tuned for **complex instruction following, tool calling, and chained agentic task execution**.
46
 
47
  The **heretic** suffix denotes post-processing via the **[Heretic v1.2.0 Arbitrary-Rank Ablation (ARA)](https://github.com/p-e-w/heretic)** method with row-norm preservation performed by [coder3101](https://huggingface.co/coder3101), which removes refusal conditioning at multiple tensor ranks while maintaining the model's instruction-following and planning capabilities.
48
 
49
+ ## ๐Ÿ“‹ Technical Specifications
 
 
50
 
51
  | Property | Value |
52
  |---|---|
 
57
  | **Primary Use** | Reasoning, instruction following, tool calling, agentic tasks |
58
  | **Context Window** | 128,000 tokens |
59
  | **Training Budget** | 38 trillion tokens |
60
+ | **Languages** | English, Arabic, Chinese, French, German, Japanese, Korean, Spanish, Portuguese |
61
  | **Abliteration Tool** | Heretic v1.2.0 |
62
  | **Abliteration Method** | Arbitrary-Rank Ablation (ARA) with row-norm preservation |
63
  | **Prompt Format** | ChatML |
64
 
65
+ ## ๐Ÿ› ๏ธ Heretic Overrides (ARA)
 
 
66
 
67
+ | Property | Value |
68
  |---|---|
69
  | **start_layer_index** | 7 |
70
  | **end_layer_index** | 21 |
 
73
  | **overcorrect_relative_weight** | 0.9494 |
74
  | **neighbor_count** | 8 |
75
 
76
+ ## ๐Ÿ“Š Refusal Bypass Metrics
77
 
78
  > [!NOTE]
79
  > The metrics below are self-reported by the original model author ([coder3101](https://huggingface.co/coder3101)) and have not been independently reproduced.
 
83
  | **KL divergence** | 0.0239 | 0 *(by definition)* |
84
  | **Refusals** | 12/100 | 91/100 |
85
 
86
+ ## ๐Ÿงฎ Numerical & Tensor Formats
 
 
87
 
88
  | Property | Value |
89
  |---|---|
90
+ | **Quantization Type** | Q4_K_M, Q5_K_M, Q8_0 |
91
 
92
+ ## ๐Ÿ“ฆ Available Model Files
93
 
94
+ **Main model weights**
95
+ | Filename | Quantization | llama.cpp Build | Size | Download |
96
+ |---|---|---|---|---|
97
+ | `LFM2.5-8B-A1B-heretic-Q4_K_M.gguf` | `Q4_K_M` | `b9803` | 4.80 GB | [๐Ÿ“ฅ Download](https://huggingface.co/FadedRedStar/LFM2.5-8B-A1B-heretic-GGUF/resolve/main/LFM2.5-8B-A1B-heretic-Q4_K_M.gguf) |
98
+ | `LFM2.5-8B-A1B-heretic-Q5_K_M.gguf` | `Q5_K_M` | `b9870` | 5.62 GB | [๐Ÿ“ฅ Download](https://huggingface.co/FadedRedStar/LFM2.5-8B-A1B-heretic-GGUF/resolve/main/LFM2.5-8B-A1B-heretic-Q5_K_M.gguf) |
99
+ | `LFM2.5-8B-A1B-heretic-Q8_0.gguf` | `Q8_0` | `b9870` | 8.39 GB | [๐Ÿ“ฅ Download](https://huggingface.co/FadedRedStar/LFM2.5-8B-A1B-heretic-GGUF/resolve/main/LFM2.5-8B-A1B-heretic-Q8_0.gguf) |
100
 
101
+ ## ๐ŸŽ›๏ธ Component Pairing Guide
102
 
103
+ Download exactly **one** main weights file:
 
 
104
 
105
+ * **`Q4_K_M`**: Balanced 4-bit format suitable for most everyday use.
106
+ * **`Q5_K_M`**: Higher-fidelity mid-range format recommended as a general default.
107
+ * **`Q8_0`**: Near-lossless 8-bit format for when memory is not a constraint.
108
 
109
+ ## โšก Deployment & Execution Commands
110
 
111
  > [!NOTE]
112
  > Liquid AI recommends the following generation parameters for best results: `temperature: 0.2`, `top_k: 80`, `repetition_penalty: 1.05`.
 
114
  > [!NOTE]
115
  > This model emits reasoning content before its final answer. If you require a clean final answer only, parse the output accordingly rather than expecting a single direct response.
116
 
117
+ > [!TIP]
118
+ > Swap the `-m` filename below for either quantized file depending on your size/quality trade-off preference.
119
+
120
  ### llama.cpp CLI
121
 
122
  ```bash
 
142
  --flash-attn
143
  ```
144
 
145
+ ## ๐Ÿ’ฌ Chat Templates & Prompt Design (ChatML)
 
 
146
 
147
  ```text
148
  <|im_start|>system
 
152
  <|im_start|>assistant
153
  ```
154
 
155
+ ## โš ๏ธ Safety & Operational Notes
 
 
156
 
157
  - This model is abliterated and will generate content that standard aligned models refuse. Use responsibly and in compliance with applicable laws.
158
  - This is a **text-only** model โ€” it has no vision encoder and cannot process images.