Lewdiculous commited on
Commit
a9aa4d9
1 Parent(s): b54c93e

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +94 -0
README.md ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 [ChaoticNeutrals/Eris_PrimeV3-Vision-7B](https://huggingface.co/ChaoticNeutrals/Eris_PrimeV3-Vision-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 capabilities:
33
+
34
+ If you want to use vision functionality:
35
+
36
+ * You must use the latest versions of [Koboldcpp](https://github.com/LostRuins/koboldcpp).
37
+
38
+ To use the multimodal capabilities of this model and use **vision** you need to load the specified **mmproj** file, you can get it [here](https://huggingface.co/koboldcpp/mmproj/blob/main/mistral-7b-mmproj-v1.5-Q4_1.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
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/642265bc01c62c1e4102dc36/O6REGzkSHunCzXuxsSMn7.png)
62
+
63
+ Eris with vision capabilites supported by KCPP (required for vision support): https://huggingface.co/koboldcpp/mmproj/blob/main/mistral-7b-mmproj-v1.5-Q4_1.gguf
64
+
65
+ This model was merged using the SLERP merge method.
66
+
67
+ ### Models Merged
68
+
69
+ The following models were included in the merge:
70
+ * [InferenceIllusionist/Excalibur-7b](https://huggingface.co/InferenceIllusionist/Excalibur-7b)
71
+ * [ChaoticNeutrals/Eris_Prime-V2-7B](https://huggingface.co/ChaoticNeutrals/Eris_Prime-V2-7B)
72
+
73
+ ### Configuration
74
+
75
+ The following YAML configuration was used to produce this model:
76
+
77
+ ```yaml
78
+ slices:
79
+ - sources:
80
+ - model: ChaoticNeutrals/Eris_Prime-V2-7B
81
+ layer_range: [0, 32]
82
+ - model: InferenceIllusionist/Excalibur-7b
83
+ layer_range: [0, 32]
84
+ merge_method: slerp
85
+ base_model: ChaoticNeutrals/Eris_Prime-V2-7B
86
+ parameters:
87
+ t:
88
+ - filter: self_attn
89
+ value: [0, 0.5, 0.3, 0.7, 1]
90
+ - filter: mlp
91
+ value: [1, 0.5, 0.7, 0.3, 0]
92
+ - value: 0.5
93
+ dtype: bfloat16
94
+ ```