Lewdiculous
commited on
Commit
•
ab73e9e
1
Parent(s):
497018f
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
tags:
|
4 |
+
- gguf
|
5 |
+
- quantized
|
6 |
+
- roleplay
|
7 |
+
- multimodal
|
8 |
+
- vision
|
9 |
+
- sillytavern
|
10 |
+
- merge
|
11 |
+
- mistral
|
12 |
+
---
|
13 |
+
This repository hosts GGUF-IQ-Imatrix quants for [ResplendentAI/Asherah_7B](https://huggingface.co/ResplendentAI/Asherah_7B).
|
14 |
+
|
15 |
+
Quants:
|
16 |
+
```python
|
17 |
+
quantization_options = [
|
18 |
+
"Q4_K_M", "Q4_K_S", "IQ4_XS", "Q5_K_M", "Q5_K_S",
|
19 |
+
"Q6_K", "Q8_0", "IQ3_M", "IQ3_S", "IQ3_XXS"
|
20 |
+
]
|
21 |
+
```
|
22 |
+
|
23 |
+
**What does "Imatrix" mean?**
|
24 |
+
|
25 |
+
It stands for **Importance Matrix**, a technique used to improve the quality of quantized models.
|
26 |
+
The **Imatrix** is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process.
|
27 |
+
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.
|
28 |
+
[[1]](https://github.com/ggerganov/llama.cpp/discussions/5006) [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
|
29 |
+
|
30 |
+
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.
|
31 |
+
|
32 |
+
# Vision/multimodal capabilities:
|
33 |
+
|
34 |
+
If you want to use vision functionality:
|
35 |
+
|
36 |
+
* Make sure you are using the latest version of [KoboldCpp](https://github.com/LostRuins/koboldcpp).
|
37 |
+
|
38 |
+
To use the multimodal capabilities of this model, such as **vision**, you need to load the specified **mmproj** file, you can get it [here](https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/blob/main/mmproj-model-f16.gguf).
|
39 |
+
|
40 |
+
* You can load the **mmproj** by using the corresponding section in the interface:
|
41 |
+
|
42 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/65d4cf2693a0a3744a27536c/UX6Ubss2EPNAT3SKGMLe0.png)
|
43 |
+
|
44 |
+
* For CLI users, you can load the **mmproj file** by adding the respective flag to your usual command:
|
45 |
+
|
46 |
+
```
|
47 |
+
--mmproj your-mmproj-file.gguf
|
48 |
+
```
|
49 |
+
|
50 |
+
# Quantization information:
|
51 |
+
|
52 |
+
**Steps performed:**
|
53 |
+
|
54 |
+
```
|
55 |
+
Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)
|
56 |
+
```
|
57 |
+
*Using the latest llama.cpp at the time.*
|
58 |
+
|
59 |
+
# Original model information:
|
60 |
+
|
61 |
+
# Ashera
|
62 |
+
|
63 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/626dfb8786671a29c715f8a9/PwebDlwW-mPHC8yQwV2mF.png)
|
64 |
+
|
65 |
+
Asherah, goddess of all creation according to ancient myth was a huge inspiration for this model. The model started with a merge of four of Sanji Watsuki's models using various methods. This merge was then finetuned on Gnosis and Synthetic Soul, two datasets penned by myself.
|
66 |
+
|
67 |
+
You can use this as mmproj: https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/blob/main/mmproj-model-f16.gguf
|
68 |
+
|
69 |
+
I have also included a folder in the repo containing this file. It will be necessary for multimodal GGUF users. I recommend Koboldcpp.
|
70 |
+
|
71 |
+
Multimodal functionality is limited to GGUF users at this time. You can still use this model as a standard LLM.
|