Lewdiculous
commited on
Commit
•
f7e02f6
1
Parent(s):
c827af8
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
inference: false
|
4 |
+
tags:
|
5 |
+
- gguf
|
6 |
+
- mistral
|
7 |
+
- roleplay
|
8 |
+
---
|
9 |
+
This repository hosts GGUF-IQ-Imatrix quants for [ResplendentAI/Persephone_7B](https://huggingface.co/ResplendentAI/Persephone_7B).
|
10 |
+
|
11 |
+
Quants:
|
12 |
+
```python
|
13 |
+
quantization_options = [
|
14 |
+
"Q4_K_M", "Q4_K_S", "IQ4_XS", "Q5_K_M", "Q5_K_S",
|
15 |
+
"Q6_K", "Q8_0", "IQ3_M", "IQ3_S", "IQ3_XXS"
|
16 |
+
]
|
17 |
+
```
|
18 |
+
|
19 |
+
**What does "Imatrix" mean?**
|
20 |
+
|
21 |
+
It stands for **Importance Matrix**, a technique used to improve the quality of quantized models.
|
22 |
+
The **Imatrix** is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process.
|
23 |
+
The idea is to preserve the most important information during quantization, which can help reduce the loss of model performance, especially when the calibration data is diverse.
|
24 |
+
[[1]](https://github.com/ggerganov/llama.cpp/discussions/5006) [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
|
25 |
+
|
26 |
+
For imatrix data generation, kalomaze's `groups_merged.txt` with added roleplay chats was used, you can find it [here](https://huggingface.co/Lewdiculous/Datura_7B-GGUF-Imatrix/blob/main/imatrix-with-rp-format-data.txt). This was just to add a bit more diversity to the data.
|
27 |
+
|
28 |
+
**Steps:**
|
29 |
+
|
30 |
+
```
|
31 |
+
Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)
|
32 |
+
```
|
33 |
+
*Using the latest llama.cpp at the time.*
|
34 |
+
|
35 |
+
# Original model information:
|
36 |
+
|
37 |
+
# Persephone
|
38 |
+
|
39 |
+
![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/626dfb8786671a29c715f8a9/aOnBmqHJQfOFEIgqD_JCz.jpeg)
|
40 |
+
|
41 |
+
After being in a bit of a rut, I decided to take a radically different approach to produce something new and exciting. It seems to have worked out. I hope you enjoy!
|