|
--- |
|
library_name: transformers |
|
license: cc-by-4.0 |
|
language: |
|
- en |
|
tags: |
|
- gguf |
|
- quantized |
|
- roleplay |
|
- imatrix |
|
- mistral |
|
- merge |
|
inference: false |
|
|
|
|
|
|
|
--- |
|
|
|
This repository hosts GGUF-IQ-Imatrix quantizations for [KatyTheCutie/LemonadeRP-4.5.3](https://huggingface.co/KatyTheCutie/LemonadeRP-4.5.3). |
|
|
|
``` |
|
--contextsize 8192 |
|
``` |
|
|
|
**What does "Imatrix" mean?** |
|
|
|
It stands for **Importance Matrix**, a technique used to improve the quality of quantized models. |
|
The **Imatrix** is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process. |
|
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. |
|
[[1]](https://github.com/ggerganov/llama.cpp/discussions/5006) [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384) |
|
|
|
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). |
|
|
|
**Steps:** |
|
``` |
|
Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants) |
|
``` |
|
**Quants:** |
|
```python |
|
quantization_options = [ |
|
"Q4_K_M", "IQ4_XS", "Q5_K_M", "Q5_K_S", "Q6_K", |
|
"Q8_0", "IQ3_M", "IQ3_S", "IQ3_XXS" |
|
] |
|
``` |
|
|
|
If you want anything that's not here or another model, feel free to request. |
|
|
|
**Original model information:** |
|
|
|
![image/png](https://cdn-uploads.huggingface.co/production/uploads/653a2392341143f7774424d8/MtdRhFSBULJF4Upqch2gA.png) |
|
Lemonade RP 4.5.3 |
|
|
|
8192 context length. |
|
|
|
7B roleplay focused model, creativity and less cliché is the focus of this merge. |
|
SillyTavern settings: |
|
![image/png](https://cdn-uploads.huggingface.co/production/uploads/653a2392341143f7774424d8/tI2lp0Aeveu6KYBeNFilJ.png) |
|
|
|
![image/png](https://cdn-uploads.huggingface.co/production/uploads/653a2392341143f7774424d8/lGhuJiL5jGRwviNr5GcbN.png) |
|
Models used in merge: |
|
- NeverSleep/Noromaid-7B-0.4-DPO |
|
- cgato/Thespis-7b-v0.5-SFTTest-2Epoch |
|
- NurtureAI/neural-chat-7b-v3-1-16k |
|
- cgato/Thespis-CurtainCall-7b-v0.2.2 |
|
- tavtav/eros-7b-test |
|
|
|
|
|
Feedback is always greatly appreciated! <3 |