Lewdiculous
commited on
Commit
•
fd6d1bd
1
Parent(s):
1909ed9
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- mistral
|
5 |
+
- quantized
|
6 |
+
- text-generation-inference
|
7 |
+
- merge
|
8 |
+
pipeline_tag: text-generation
|
9 |
+
inference: false
|
10 |
+
license: cc-by-nc-4.0
|
11 |
+
---
|
12 |
+
|
13 |
+
# [Quantizing and uploading...]
|
14 |
+
|
15 |
+
# **GGUF-Imatrix quantizations for [SanjiWatsuki/Loyal-Toppy-Bruins-Maid-7B-DARE](https://huggingface.co/SanjiWatsuki/Loyal-Toppy-Bruins-Maid-7B-DARE/).**
|
16 |
+
|
17 |
+
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.
|
18 |
+
|
19 |
+
*If you want any specific quantization to be added, feel free to ask.*
|
20 |
+
|
21 |
+
All credits belong to the [creator](https://huggingface.co/SanjiWatsuki/).
|
22 |
+
|
23 |
+
`Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)`
|
24 |
+
|
25 |
+
Using [llama.cpp](https://github.com/ggerganov/llama.cpp/)-[b2280](https://github.com/ggerganov/llama.cpp/releases/tag/b2280).
|
26 |
+
|
27 |
+
For --imatrix data, `imatrix-Loyal-Toppy-Bruins-Maid-7B-DARE-F16.dat` was used.
|
28 |
+
|
29 |
+
# Original model information:
|
30 |
+
|
31 |
+
![image/png](https://huggingface.co/SanjiWatsuki/Loyal-Toppy-Bruins-Maid-7B-DARE/resolve/main/bruins-maid.png)
|
32 |
+
|
33 |
+
<!-- description start -->
|
34 |
+
## Description
|
35 |
+
|
36 |
+
This repository hosts FP16 files for **Loyal-Toppy-Bruins-Maid-7B**, a 7B model aimed at having engaging RP with solid character card adherence and being a smart cookie at the same time.
|
37 |
+
|
38 |
+
Its foundation is [Starling-LM-7B-alpha](https://huggingface.co/berkeley-nest/Starling-LM-7B-alpha), notable for its performance in the LMSYS Chatbot Arena, even surpassing GPT-3.5-Turbo-1106. The model incorporates [rwitz/go-bruins-v2](https://huggingface.co/rwitz/go-bruins-v2), a [Q-bert/MetaMath-Cybertron-Starling](https://huggingface.co/Q-bert/MetaMath-Cybertron-Starling) derivative with Alpaca RP data tuning.
|
39 |
+
|
40 |
+
The other foundational model is [chargoddard/loyal-piano-m7](https://huggingface.co/chargoddard/loyal-piano-m7), chosen for its strong RP performance and Alpaca format training, with a diverse dataset including PIPPA, rpbuild, and LimaRP.
|
41 |
+
|
42 |
+
[Undi95/Toppy-M-7B](https://huggingface.co/Undi95/Toppy-M-7B), known for its creativity, brings in useful RP data from various sources. It ranks first among 7B models on [OpenRouter](https://openrouter.ai/rankings) for a good reason.
|
43 |
+
|
44 |
+
[NeverSleep/Noromaid-7b-v0.1.1](https://huggingface.co/NeverSleep/Noromaid-7b-v0.1.1), a Mistral finetune with unique RP data not present in other models, was also added for bringing in a unique RP dataset and being a well-regarded RP model.
|
45 |
+
|
46 |
+
The models were merged using the DARE ties method, with a targeted 1.2 absolute weight and high density (0.5-0.6), as discussed in the [MergeKit GitHub Repo](https://github.com/cg123/mergekit/issues/26).
|
47 |
+
|
48 |
+
Currently, this model ranks at the top of my personal RP unit test benchmark and scored a very solid 20 on [lilblam's LLM Logic Test](https://docs.google.com/spreadsheets/d/1NgHDxbVWJFolq8bLvLkuPWKC7i_R6I6W/edit#gid=1278290632). My first impressions of it for RPing are very good but, admittedly, this model came out of the oven today so I haven't played it with it too much 😊
|
49 |
+
|
50 |
+
### The sauce
|
51 |
+
```
|
52 |
+
models: # Top-Loyal-Bruins-Maid-DARE-7B_v2
|
53 |
+
- model: mistralai/Mistral-7B-v0.1
|
54 |
+
# no parameters necessary for base model
|
55 |
+
- model: rwitz/go-bruins-v2 # MetamathCybertronStarling base
|
56 |
+
parameters:
|
57 |
+
weight: 0.5
|
58 |
+
density: 0.6
|
59 |
+
- model: chargoddard/loyal-piano-m7 # Pull in some PIPPA/LimaRP/Orca/rpguild
|
60 |
+
parameters:
|
61 |
+
weight: 0.5
|
62 |
+
density: 0.6
|
63 |
+
- model: Undi95/Toppy-M-7B
|
64 |
+
parameters:
|
65 |
+
weight: 0.1
|
66 |
+
density: 0.5
|
67 |
+
- model: NeverSleep/Noromaid-7b-v0.1.1
|
68 |
+
parameters:
|
69 |
+
weight: 0.1
|
70 |
+
density: 0.5
|
71 |
+
merge_method: dare_ties
|
72 |
+
base_model: mistralai/Mistral-7B-v0.1
|
73 |
+
parameters:
|
74 |
+
normalize: false
|
75 |
+
int8_mask: true
|
76 |
+
dtype: bfloat16
|
77 |
+
```
|
78 |
+
|
79 |
+
<!-- description end -->
|
80 |
+
<!-- prompt-template start -->
|
81 |
+
## Prompt template: Custom format, or Alpaca
|
82 |
+
|
83 |
+
### Custom format:
|
84 |
+
I found the best SillyTavern results from using the Noromaid template.
|
85 |
+
|
86 |
+
SillyTavern config files: [Context](https://files.catbox.moe/ifmhai.json), [Instruct](https://files.catbox.moe/ttw1l9.json).
|
87 |
+
|
88 |
+
Otherwise, I tried to ensure that all of the underlying merged models were Alpaca favored.
|
89 |
+
|
90 |
+
### Alpaca:
|
91 |
+
```
|
92 |
+
Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
93 |
+
|
94 |
+
### Instruction:
|
95 |
+
{prompt}
|
96 |
+
|
97 |
+
### Response:
|
98 |
+
|
99 |
+
```
|