Lewdiculous commited on
Commit
137573a
·
verified ·
1 Parent(s): ee67dc3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md CHANGED
@@ -1,3 +1,81 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ library_name: transformers
4
+ tags:
5
+ - mistral
6
+ - quantized
7
+ - text-generation-inference
8
+ - roleplay
9
+ # - rp
10
+ # - uncensored
11
+ pipeline_tag: text-generation
12
+ inference: false
13
+ # language:
14
+ # - en
15
+ # FILL THE INFORMATION:
16
+ # Reference: l3utterfly/mistral-7b-v0.1-layla-v4
17
+ # Author: l3utterfly
18
+ # Model: mistral-7b-v0.1-layla-v4
19
+ # Llama.cpp version: b2321
20
  ---
21
+
22
+ ## GGUF-Imatrix quantizations for [l3utterfly/mistral-7b-v0.1-layla-v4](https://huggingface.co/l3utterfly/mistral-7b-v0.1-layla-v4/).
23
+
24
+ All credits belong to the author.
25
+
26
+ ## What does "Imatrix" mean?
27
+
28
+ It stands for **Importance Matrix**, a technique used to improve the quality of quantized models. <br>
29
+ [[1]](https://github.com/ggerganov/llama.cpp/discussions/5006/) <br>
30
+ The **Imatrix** is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process. The idea is to preserve the most important information during quantization, which can help reduce the loss of model performance and lead to better performance, especially when the calibration data is diverse. <br>
31
+ [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384/)
32
+
33
+ For --imatrix data, included `imatrix.dat` was used.
34
+
35
+ Using [llama.cpp-b2321](https://github.com/ggerganov/llama.cpp/releases/tag/b2321/):
36
+
37
+ ```
38
+ Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)
39
+ ```
40
+
41
+ The new **IQ3_S** quant-option has shown to be better than the old Q3_K_S, so I added that instead of the later. Only supported in `koboldcpp-1.59.1` or higher.
42
+
43
+ If you want any specific quantization to be added, feel free to ask.
44
+
45
+ <!-- ## Model image: -->
46
+
47
+ ## Original model information:
48
+
49
+
50
+ # Model Card
51
+
52
+ ### Model Description
53
+
54
+ Mistral 7B fine-tuned by the OpenHermes 2.5 dataset optimised for multi-turn conversation and character impersonation.
55
+
56
+ The dataset has been pre-processed by doing the following:
57
+ 1. remove all refusals
58
+ 2. remove any mention of AI assistant
59
+ 3. split any multi-turn dialog generated in the dataset into multi-turn conversations records
60
+ 4. added nfsw generated conversations from the Teatime dataset
61
+
62
+ - **Developed by:** l3utterfly
63
+ - **Funded by:** Layla Network
64
+ - **Model type:** Mistral
65
+ - **Language(s) (NLP):** English
66
+ - **License:** Apache-2.0
67
+ - **Finetuned from model:** Mistral 7B
68
+
69
+ ## Uses
70
+
71
+ Base model used by Layla - the offline personal assistant: https://www.layla-network.ai
72
+
73
+ Help & support: https://discord.gg/x546YJ6nYC
74
+
75
+ Prompt:
76
+ ```
77
+ USER:
78
+ ASSISTANT:
79
+ ```
80
+
81
+ [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)