Lewdiculous commited on
Commit
0d40077
·
verified ·
1 Parent(s): 26fc206

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +83 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: other
4
+ language:
5
+ - en
6
+ tags:
7
+ - gguf
8
+ - quantized
9
+ - roleplay
10
+ - imatrix
11
+ - mistral
12
+ - merge
13
+ inference: false
14
+ base_model:
15
+ - Epiculous/Fett-uccine-Long-Noodle-7B-120k-Context
16
+ - Endevor/InfinityRP-v1-7B
17
+ ---
18
+
19
+ This repository hosts GGUF-Imatrix quantizations for [Test157t/InfinityNoodleRP-7b](https://huggingface.co/Test157t/InfinityNoodleRP-7b).
20
+
21
+ # This model is highly experimental!
22
+
23
+ Testing for longer context handling.
24
+
25
+ **What does "Imatrix" mean?**
26
+
27
+ It stands for **Importance Matrix**, a technique used to improve the quality of quantized models.
28
+ The **Imatrix** is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process.
29
+ 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.
30
+ [[1]](https://github.com/ggerganov/llama.cpp/discussions/5006) [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
31
+
32
+ **Steps:**
33
+ ```
34
+ Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)
35
+ ```
36
+ **Quants:**
37
+ ```python
38
+ quantization_options = [
39
+ "Q4_K_M", "IQ4_XS", "Q5_K_M", "Q5_K_S", "Q6_K",
40
+ "Q8_0", "IQ3_M", "IQ3_S", "IQ3_XXS"
41
+ ]
42
+ ```
43
+
44
+ If you want anything that's not here or another model, feel free to request.
45
+
46
+ **This is experimental.**
47
+
48
+ 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).
49
+
50
+ **Original model information:**
51
+
52
+ Merged on request of Lewdiculus.
53
+
54
+ This model was merged using the SLERP merge method.
55
+
56
+ ### Models Merged
57
+
58
+ The following models were included in the merge:
59
+ * [Epiculous/Fett-uccine-Long-Noodle-7B-120k-Context](https://huggingface.co/Epiculous/Fett-uccine-Long-Noodle-7B-120k-Context)
60
+ * [Endevor/InfinityRP-v1-7B](https://huggingface.co/Endevor/InfinityRP-v1-7B)
61
+
62
+ ### Configuration
63
+
64
+ The following YAML configuration was used to produce this model:
65
+
66
+ ```yaml
67
+ slices:
68
+ - sources:
69
+ - model: Epiculous/Fett-uccine-Long-Noodle-7B-120k-Context
70
+ layer_range: [0, 32]
71
+ - model: Endevor/InfinityRP-v1-7B
72
+ layer_range: [0, 32]
73
+ merge_method: slerp
74
+ base_model: Epiculous/Fett-uccine-Long-Noodle-7B-120k-Context
75
+ parameters:
76
+ t:
77
+ - filter: self_attn
78
+ value: [0, 0.5, 0.3, 0.7, 1]
79
+ - filter: mlp
80
+ value: [1, 0.5, 0.7, 0.3, 0]
81
+ - value: 0.5
82
+ dtype: bfloat16
83
+ ```