Lewdiculous commited on
Commit
ca98caf
1 Parent(s): 6b5d0b6

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +99 -0
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ inference: false
4
+ tags:
5
+ - gguf
6
+ - quantized
7
+ - roleplay
8
+ - multimodal
9
+ - vision
10
+ - llava
11
+ - sillytavern
12
+ - merge
13
+ - mistral
14
+ - conversational
15
+ ---
16
+ # #Roleplay #Multimodal #Vision
17
+
18
+ This repository hosts GGUF-IQ-Imatrix quants for [Nitral-AI/Visual-LaylelemonMaidRP-7B](https://huggingface.co/Nitral-AI/Visual-LaylelemonMaidRP-7B).
19
+
20
+ "My personal maid can't be this cute!"
21
+
22
+ **Recommended starting [SillyTavern presets here](https://huggingface.co/Lewdiculous/Eris_PrimeV4-Vision-32k-7B-GGUF-IQ-Imatrix/tree/main/sillytavern-presets-lewdicu-3.0.2-mistral-0.2).**
23
+
24
+ This is a **#multimodal** model that also has **#vision** capabilities. <br> Read the full card information if you also want to use that functionality.
25
+
26
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/642265bc01c62c1e4102dc36/FJ1KFTBfebO1cNC0ei_x0.png)
27
+
28
+ Quants:
29
+ ```python
30
+ quantization_options = [
31
+ "Q4_K_M", "Q4_K_S", "IQ4_XS", "Q5_K_M", "Q5_K_S",
32
+ "Q6_K", "Q8_0", "IQ3_M", "IQ3_S", "IQ3_XXS"
33
+ ]
34
+ ```
35
+
36
+ **What does "Imatrix" mean?**
37
+
38
+ <details><summary>
39
+ ⇲ Click here to expand/hide more information about this topic.
40
+ </summary>
41
+
42
+ It stands for **Importance Matrix**, a technique used to improve the quality of quantized models.
43
+ The **Imatrix** is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process.
44
+ 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.
45
+ [[1]](https://github.com/ggerganov/llama.cpp/discussions/5006) [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
46
+
47
+ 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.
48
+
49
+ </details><br>
50
+
51
+ # Vision/multimodal capabilities:
52
+
53
+ <details><summary>
54
+ ⇲ Click here to expand/hide how this would work in practice in a roleplay chat.
55
+ </summary>
56
+
57
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/65d4cf2693a0a3744a27536c/qGO0nIfZVcyuio5J07sU-.jpeg)
58
+
59
+ </details><br>
60
+
61
+ <details><summary>
62
+ ⇲ Click here to expand/hide what your SillyTavern Image Captions extension settings should look like.
63
+ </summary>
64
+
65
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/65d4cf2693a0a3744a27536c/UpXOnVrzvsMRYeqMaSOaa.jpeg)
66
+
67
+ </details><br>
68
+
69
+ **If you want to use vision functionality:**
70
+
71
+ * Make sure you are using the latest version of [KoboldCpp](https://github.com/LostRuins/koboldcpp).
72
+
73
+ 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) or as uploaded in the repository.
74
+
75
+ * You can load the **mmproj** by using the corresponding section in the interface:
76
+
77
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/65d4cf2693a0a3744a27536c/UX6Ubss2EPNAT3SKGMLe0.png)
78
+
79
+ * For CLI users, you can load the **mmproj file** by adding the respective flag to your usual command:
80
+
81
+ ```
82
+ --mmproj your-mmproj-file.gguf
83
+ ```
84
+
85
+ # Quantization information:
86
+
87
+
88
+ <details><summary>
89
+ ⇲ Click here to expand/hide more information about this topic.
90
+ </summary>
91
+
92
+ **Steps performed:**
93
+
94
+ ```
95
+ Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)
96
+ ```
97
+ *Using the latest llama.cpp at the time.*
98
+
99
+ </details><br>