Lewdiculous commited on
Commit
b3289b4
·
verified ·
1 Parent(s): d8c1001

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +107 -3
README.md CHANGED
@@ -1,9 +1,113 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
3
  ---
4
- GGUF-IQ-Imatrix quants for [ResplendentAI/DaturaCookie_7B](https://huggingface.co/ResplendentAI/DaturaCookie_7B).
5
 
6
- This model also has vision functionality. Use the supplied **mmproj** file.
7
 
 
8
 
9
- ![image/png](https://cdn-uploads.huggingface.co/production/uploads/65d4cf2693a0a3744a27536c/NR9Z2jumYcYDGVbDynykA.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ tags:
4
+ - gguf
5
+ - quantized
6
+ - roleplay
7
+ - multimodal
8
+ - vision
9
+ - sillytavern
10
+ - merge
11
+ - mistral
12
  ---
 
13
 
14
+ This repository hosts GGUF-IQ-Imatrix quants for [ResplendentAI/DaturaCookie_7B](https://huggingface.co/ResplendentAI/DaturaCookie_7B).
15
 
16
+ This is a #multimodal model that also has vision capabilities. Read the full card information if that is your use case.
17
 
18
+ Quants:
19
+ ```python
20
+ quantization_options = [
21
+ "Q4_K_M", "Q4_K_S", "IQ4_XS", "Q5_K_M", "Q5_K_S",
22
+ "Q6_K", "Q8_0", "IQ3_M", "IQ3_S", "IQ3_XXS"
23
+ ]
24
+ ```
25
+
26
+ **What does "Imatrix" mean?**
27
+
28
+ It stands for **Importance Matrix**, a technique used to improve the quality of quantized models.
29
+ The **Imatrix** is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process.
30
+ 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.
31
+ [[1]](https://github.com/ggerganov/llama.cpp/discussions/5006) [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
32
+
33
+ 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.
34
+
35
+ # Vision/multimodal capabilities:
36
+
37
+ <details><summary>
38
+ Click here to see how this would work in practice in a roleplay chat.
39
+ </summary>
40
+
41
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/65d4cf2693a0a3744a27536c/qGO0nIfZVcyuio5J07sU-.jpeg)
42
+
43
+ </details><br>
44
+
45
+ <details><summary>
46
+ Click here to see what your SillyTavern Image Captions extension settings should look like.
47
+ </summary>
48
+
49
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/65d4cf2693a0a3744a27536c/UpXOnVrzvsMRYeqMaSOaa.jpeg)
50
+
51
+ </details><br>
52
+
53
+ **If you want to use vision functionality:**
54
+
55
+ * Make sure you are using the latest version of [KoboldCpp](https://github.com/LostRuins/koboldcpp).
56
+
57
+ To use the multimodal capabilities of this model, such as **vision**, you also 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), it's also hosted in this repository inside the **mmproj** folder.
58
+
59
+ * You can load the **mmproj** by using the corresponding section in the interface:
60
+
61
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/65d4cf2693a0a3744a27536c/UX6Ubss2EPNAT3SKGMLe0.png)
62
+
63
+ * For CLI users, you can load the **mmproj file** by adding the respective flag to your usual command:
64
+
65
+ ```
66
+ --mmproj your-mmproj-file.gguf
67
+ ```
68
+
69
+ # Quantization information:
70
+
71
+ **Steps performed:**
72
+
73
+ ```
74
+ Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)
75
+ ```
76
+ *Using the latest llama.cpp at the time.*
77
+
78
+ # Original model information:
79
+
80
+ # DaturaCookie
81
+
82
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/626dfb8786671a29c715f8a9/5jG2dft51fgPcGUGc-4Ym.png)
83
+
84
+ Proficient at roleplaying and lightehearted conversation, this model is prone to NSFW outputs.
85
+
86
+ ### Models Merged
87
+
88
+ The following models were included in the merge:
89
+ * [ResplendentAI/Datura_7B](https://huggingface.co/ResplendentAI/Datura_7B)
90
+ * [ChaoticNeutrals/Cookie_7B](https://huggingface.co/ChaoticNeutrals/Cookie_7B)
91
+
92
+ ### Configuration
93
+
94
+ The following YAML configuration was used to produce this model:
95
+
96
+ ```yaml
97
+ slices:
98
+ - sources:
99
+ - model: ChaoticNeutrals/Cookie_7B
100
+ layer_range: [0, 32]
101
+ - model: ResplendentAI/Datura_7B
102
+ layer_range: [0, 32]
103
+ merge_method: slerp
104
+ base_model: ResplendentAI/Datura_7B
105
+ parameters:
106
+ t:
107
+ - filter: self_attn
108
+ value: [1, 0.75, 0.5, 0.25, 0]
109
+ - filter: mlp
110
+ value: [0, 0.25, 0.5, 0.75, 1]
111
+ - value: 0.5
112
+ dtype: bfloat16
113
+ ```