Upload README.md
Browse files
README.md
ADDED
@@ -0,0 +1,657 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Herman555/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GGUF
|
3 |
+
inference: false
|
4 |
+
license: apache-2.0
|
5 |
+
model_creator: Yamam
|
6 |
+
model_name: Dolphin 2.2.1 AshhLimaRP Mistral 7B
|
7 |
+
model_type: mistral
|
8 |
+
prompt_template: '<|im_start|>system
|
9 |
+
|
10 |
+
{system_message}<|im_end|>
|
11 |
+
|
12 |
+
<|im_start|>user
|
13 |
+
|
14 |
+
{prompt}<|im_end|>
|
15 |
+
|
16 |
+
<|im_start|>assistant
|
17 |
+
|
18 |
+
'
|
19 |
+
quantized_by: TheBloke
|
20 |
+
tags:
|
21 |
+
- not-for-all-audiences
|
22 |
+
---
|
23 |
+
<!-- markdownlint-disable MD041 -->
|
24 |
+
|
25 |
+
<!-- header start -->
|
26 |
+
<!-- 200823 -->
|
27 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
28 |
+
<img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
29 |
+
</div>
|
30 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
31 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
32 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
|
33 |
+
</div>
|
34 |
+
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
35 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
36 |
+
</div>
|
37 |
+
</div>
|
38 |
+
<div style="text-align:center; margin-top: 0em; margin-bottom: 0em"><p style="margin-top: 0.25em; margin-bottom: 0em;">TheBloke's LLM work is generously supported by a grant from <a href="https://a16z.com">andreessen horowitz (a16z)</a></p></div>
|
39 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
40 |
+
<!-- header end -->
|
41 |
+
|
42 |
+
# Dolphin 2.2.1 AshhLimaRP Mistral 7B - GPTQ
|
43 |
+
- Model creator: [Yamam](https://huggingface.co/Herman555)
|
44 |
+
- Original model: [Dolphin 2.2.1 AshhLimaRP Mistral 7B](https://huggingface.co/Herman555/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GGUF)
|
45 |
+
|
46 |
+
<!-- description start -->
|
47 |
+
## Description
|
48 |
+
|
49 |
+
This repo contains GPTQ model files for [Yamam's Dolphin 2.2.1 AshhLimaRP Mistral 7B](https://huggingface.co/Herman555/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GGUF).
|
50 |
+
|
51 |
+
Multiple GPTQ parameter permutations are provided; see Provided Files below for details of the options provided, their parameters, and the software used to create them.
|
52 |
+
|
53 |
+
These files were quantised using hardware kindly provided by [Massed Compute](https://massedcompute.com/).
|
54 |
+
|
55 |
+
<!-- description end -->
|
56 |
+
<!-- repositories-available start -->
|
57 |
+
## Repositories available
|
58 |
+
|
59 |
+
* [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-AWQ)
|
60 |
+
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ)
|
61 |
+
* [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GGUF)
|
62 |
+
* [Yamam's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Herman555/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GGUF)
|
63 |
+
<!-- repositories-available end -->
|
64 |
+
|
65 |
+
<!-- prompt-template start -->
|
66 |
+
## Prompt template: ChatML
|
67 |
+
|
68 |
+
```
|
69 |
+
<|im_start|>system
|
70 |
+
{system_message}<|im_end|>
|
71 |
+
<|im_start|>user
|
72 |
+
{prompt}<|im_end|>
|
73 |
+
<|im_start|>assistant
|
74 |
+
|
75 |
+
```
|
76 |
+
|
77 |
+
<!-- prompt-template end -->
|
78 |
+
|
79 |
+
|
80 |
+
|
81 |
+
<!-- README_GPTQ.md-compatible clients start -->
|
82 |
+
## Known compatible clients / servers
|
83 |
+
|
84 |
+
These GPTQ models are known to work in the following inference servers/webuis.
|
85 |
+
|
86 |
+
- [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
|
87 |
+
- [KoboldAI United](https://github.com/henk717/koboldai)
|
88 |
+
- [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui)
|
89 |
+
- [Hugging Face Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference)
|
90 |
+
|
91 |
+
This may not be a complete list; if you know of others, please let me know!
|
92 |
+
<!-- README_GPTQ.md-compatible clients end -->
|
93 |
+
|
94 |
+
<!-- README_GPTQ.md-provided-files start -->
|
95 |
+
## Provided files, and GPTQ parameters
|
96 |
+
|
97 |
+
Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements.
|
98 |
+
|
99 |
+
Each separate quant is in a different branch. See below for instructions on fetching from different branches.
|
100 |
+
|
101 |
+
Most GPTQ files are made with AutoGPTQ. Mistral models are currently made with Transformers.
|
102 |
+
|
103 |
+
<details>
|
104 |
+
<summary>Explanation of GPTQ parameters</summary>
|
105 |
+
|
106 |
+
- Bits: The bit size of the quantised model.
|
107 |
+
- GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value.
|
108 |
+
- Act Order: True or False. Also known as `desc_act`. True results in better quantisation accuracy. Some GPTQ clients have had issues with models that use Act Order plus Group Size, but this is generally resolved now.
|
109 |
+
- Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy.
|
110 |
+
- GPTQ dataset: The calibration dataset used during quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ calibration dataset is not the same as the dataset used to train the model - please refer to the original model repo for details of the training dataset(s).
|
111 |
+
- Sequence Length: The length of the dataset sequences used for quantisation. Ideally this is the same as the model sequence length. For some very long sequence models (16+K), a lower sequence length may have to be used. Note that a lower sequence length does not limit the sequence length of the quantised model. It only impacts the quantisation accuracy on longer inference sequences.
|
112 |
+
- ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama and Mistral models in 4-bit.
|
113 |
+
|
114 |
+
</details>
|
115 |
+
|
116 |
+
| Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
|
117 |
+
| ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
|
118 |
+
| [main](https://huggingface.co/TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ/tree/main) | 4 | 128 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 4.16 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. |
|
119 |
+
| [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 4.57 GB | Yes | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage. |
|
120 |
+
| [gptq-8bit--1g-actorder_True](https://huggingface.co/TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ/tree/gptq-8bit--1g-actorder_True) | 8 | None | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 7.52 GB | No | 8-bit, with Act Order. No group size, to lower VRAM requirements. |
|
121 |
+
| [gptq-8bit-128g-actorder_True](https://huggingface.co/TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ/tree/gptq-8bit-128g-actorder_True) | 8 | 128 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 7.68 GB | No | 8-bit, with group size 128g for higher inference quality and with Act Order for even higher accuracy. |
|
122 |
+
| [gptq-8bit-32g-actorder_True](https://huggingface.co/TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ/tree/gptq-8bit-32g-actorder_True) | 8 | 32 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 8.17 GB | No | 8-bit, with group size 32g and Act Order for maximum inference quality. |
|
123 |
+
| [gptq-4bit-64g-actorder_True](https://huggingface.co/TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ/tree/gptq-4bit-64g-actorder_True) | 4 | 64 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 4.30 GB | Yes | 4-bit, with Act Order and group size 64g. Uses less VRAM than 32g, but with slightly lower accuracy. |
|
124 |
+
|
125 |
+
<!-- README_GPTQ.md-provided-files end -->
|
126 |
+
|
127 |
+
<!-- README_GPTQ.md-download-from-branches start -->
|
128 |
+
## How to download, including from branches
|
129 |
+
|
130 |
+
### In text-generation-webui
|
131 |
+
|
132 |
+
To download from the `main` branch, enter `TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ` in the "Download model" box.
|
133 |
+
|
134 |
+
To download from another branch, add `:branchname` to the end of the download name, eg `TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ:gptq-4bit-32g-actorder_True`
|
135 |
+
|
136 |
+
### From the command line
|
137 |
+
|
138 |
+
I recommend using the `huggingface-hub` Python library:
|
139 |
+
|
140 |
+
```shell
|
141 |
+
pip3 install huggingface-hub
|
142 |
+
```
|
143 |
+
|
144 |
+
To download the `main` branch to a folder called `dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ`:
|
145 |
+
|
146 |
+
```shell
|
147 |
+
mkdir dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ
|
148 |
+
huggingface-cli download TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ --local-dir dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ --local-dir-use-symlinks False
|
149 |
+
```
|
150 |
+
|
151 |
+
To download from a different branch, add the `--revision` parameter:
|
152 |
+
|
153 |
+
```shell
|
154 |
+
mkdir dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ
|
155 |
+
huggingface-cli download TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ --revision gptq-4bit-32g-actorder_True --local-dir dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ --local-dir-use-symlinks False
|
156 |
+
```
|
157 |
+
|
158 |
+
<details>
|
159 |
+
<summary>More advanced huggingface-cli download usage</summary>
|
160 |
+
|
161 |
+
If you remove the `--local-dir-use-symlinks False` parameter, the files will instead be stored in the central Hugging Face cache directory (default location on Linux is: `~/.cache/huggingface`), and symlinks will be added to the specified `--local-dir`, pointing to their real location in the cache. This allows for interrupted downloads to be resumed, and allows you to quickly clone the repo to multiple places on disk without triggering a download again. The downside, and the reason why I don't list that as the default option, is that the files are then hidden away in a cache folder and it's harder to know where your disk space is being used, and to clear it up if/when you want to remove a download model.
|
162 |
+
|
163 |
+
The cache location can be changed with the `HF_HOME` environment variable, and/or the `--cache-dir` parameter to `huggingface-cli`.
|
164 |
+
|
165 |
+
For more documentation on downloading with `huggingface-cli`, please see: [HF -> Hub Python Library -> Download files -> Download from the CLI](https://huggingface.co/docs/huggingface_hub/guides/download#download-from-the-cli).
|
166 |
+
|
167 |
+
To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
|
168 |
+
|
169 |
+
```shell
|
170 |
+
pip3 install hf_transfer
|
171 |
+
```
|
172 |
+
|
173 |
+
And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
|
174 |
+
|
175 |
+
```shell
|
176 |
+
mkdir dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ
|
177 |
+
HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ --local-dir dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ --local-dir-use-symlinks False
|
178 |
+
```
|
179 |
+
|
180 |
+
Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
|
181 |
+
</details>
|
182 |
+
|
183 |
+
### With `git` (**not** recommended)
|
184 |
+
|
185 |
+
To clone a specific branch with `git`, use a command like this:
|
186 |
+
|
187 |
+
```shell
|
188 |
+
git clone --single-branch --branch gptq-4bit-32g-actorder_True https://huggingface.co/TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ
|
189 |
+
```
|
190 |
+
|
191 |
+
Note that using Git with HF repos is strongly discouraged. It will be much slower than using `huggingface-hub`, and will use twice as much disk space as it has to store the model files twice (it stores every byte both in the intended target folder, and again in the `.git` folder as a blob.)
|
192 |
+
|
193 |
+
<!-- README_GPTQ.md-download-from-branches end -->
|
194 |
+
<!-- README_GPTQ.md-text-generation-webui start -->
|
195 |
+
## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
|
196 |
+
|
197 |
+
Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
|
198 |
+
|
199 |
+
It is strongly recommended to use the text-generation-webui one-click-installers unless you're sure you know how to make a manual install.
|
200 |
+
|
201 |
+
1. Click the **Model tab**.
|
202 |
+
2. Under **Download custom model or LoRA**, enter `TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ`.
|
203 |
+
|
204 |
+
- To download from a specific branch, enter for example `TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ:gptq-4bit-32g-actorder_True`
|
205 |
+
- see Provided Files above for the list of branches for each option.
|
206 |
+
|
207 |
+
3. Click **Download**.
|
208 |
+
4. The model will start downloading. Once it's finished it will say "Done".
|
209 |
+
5. In the top left, click the refresh icon next to **Model**.
|
210 |
+
6. In the **Model** dropdown, choose the model you just downloaded: `dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ`
|
211 |
+
7. The model will automatically load, and is now ready for use!
|
212 |
+
8. If you want any custom settings, set them and then click **Save settings for this model** followed by **Reload the Model** in the top right.
|
213 |
+
|
214 |
+
- Note that you do not need to and should not set manual GPTQ parameters any more. These are set automatically from the file `quantize_config.json`.
|
215 |
+
|
216 |
+
9. Once you're ready, click the **Text Generation** tab and enter a prompt to get started!
|
217 |
+
|
218 |
+
<!-- README_GPTQ.md-text-generation-webui end -->
|
219 |
+
|
220 |
+
<!-- README_GPTQ.md-use-from-tgi start -->
|
221 |
+
## Serving this model from Text Generation Inference (TGI)
|
222 |
+
|
223 |
+
It's recommended to use TGI version 1.1.0 or later. The official Docker container is: `ghcr.io/huggingface/text-generation-inference:1.1.0`
|
224 |
+
|
225 |
+
Example Docker parameters:
|
226 |
+
|
227 |
+
```shell
|
228 |
+
--model-id TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ --port 3000 --quantize gptq --max-input-length 3696 --max-total-tokens 4096 --max-batch-prefill-tokens 4096
|
229 |
+
```
|
230 |
+
|
231 |
+
Example Python code for interfacing with TGI (requires huggingface-hub 0.17.0 or later):
|
232 |
+
|
233 |
+
```shell
|
234 |
+
pip3 install huggingface-hub
|
235 |
+
```
|
236 |
+
|
237 |
+
```python
|
238 |
+
from huggingface_hub import InferenceClient
|
239 |
+
|
240 |
+
endpoint_url = "https://your-endpoint-url-here"
|
241 |
+
|
242 |
+
prompt = "Tell me about AI"
|
243 |
+
prompt_template=f'''<|im_start|>system
|
244 |
+
{system_message}<|im_end|>
|
245 |
+
<|im_start|>user
|
246 |
+
{prompt}<|im_end|>
|
247 |
+
<|im_start|>assistant
|
248 |
+
'''
|
249 |
+
|
250 |
+
client = InferenceClient(endpoint_url)
|
251 |
+
response = client.text_generation(prompt,
|
252 |
+
max_new_tokens=128,
|
253 |
+
do_sample=True,
|
254 |
+
temperature=0.7,
|
255 |
+
top_p=0.95,
|
256 |
+
top_k=40,
|
257 |
+
repetition_penalty=1.1)
|
258 |
+
|
259 |
+
print(f"Model output: {response}")
|
260 |
+
```
|
261 |
+
<!-- README_GPTQ.md-use-from-tgi end -->
|
262 |
+
<!-- README_GPTQ.md-use-from-python start -->
|
263 |
+
## How to use this GPTQ model from Python code
|
264 |
+
|
265 |
+
### Install the necessary packages
|
266 |
+
|
267 |
+
Requires: Transformers 4.33.0 or later, Optimum 1.12.0 or later, and AutoGPTQ 0.4.2 or later.
|
268 |
+
|
269 |
+
```shell
|
270 |
+
pip3 install transformers optimum
|
271 |
+
pip3 install auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/ # Use cu117 if on CUDA 11.7
|
272 |
+
```
|
273 |
+
|
274 |
+
If you have problems installing AutoGPTQ using the pre-built wheels, install it from source instead:
|
275 |
+
|
276 |
+
```shell
|
277 |
+
pip3 uninstall -y auto-gptq
|
278 |
+
git clone https://github.com/PanQiWei/AutoGPTQ
|
279 |
+
cd AutoGPTQ
|
280 |
+
git checkout v0.4.2
|
281 |
+
pip3 install .
|
282 |
+
```
|
283 |
+
|
284 |
+
### You can then use the following code
|
285 |
+
|
286 |
+
```python
|
287 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
288 |
+
|
289 |
+
model_name_or_path = "TheBloke/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GPTQ"
|
290 |
+
# To use a different branch, change revision
|
291 |
+
# For example: revision="gptq-4bit-32g-actorder_True"
|
292 |
+
model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
|
293 |
+
device_map="auto",
|
294 |
+
trust_remote_code=False,
|
295 |
+
revision="main")
|
296 |
+
|
297 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
|
298 |
+
|
299 |
+
prompt = "Tell me about AI"
|
300 |
+
prompt_template=f'''<|im_start|>system
|
301 |
+
{system_message}<|im_end|>
|
302 |
+
<|im_start|>user
|
303 |
+
{prompt}<|im_end|>
|
304 |
+
<|im_start|>assistant
|
305 |
+
'''
|
306 |
+
|
307 |
+
print("\n\n*** Generate:")
|
308 |
+
|
309 |
+
input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
|
310 |
+
output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512)
|
311 |
+
print(tokenizer.decode(output[0]))
|
312 |
+
|
313 |
+
# Inference can also be done using transformers' pipeline
|
314 |
+
|
315 |
+
print("*** Pipeline:")
|
316 |
+
pipe = pipeline(
|
317 |
+
"text-generation",
|
318 |
+
model=model,
|
319 |
+
tokenizer=tokenizer,
|
320 |
+
max_new_tokens=512,
|
321 |
+
do_sample=True,
|
322 |
+
temperature=0.7,
|
323 |
+
top_p=0.95,
|
324 |
+
top_k=40,
|
325 |
+
repetition_penalty=1.1
|
326 |
+
)
|
327 |
+
|
328 |
+
print(pipe(prompt_template)[0]['generated_text'])
|
329 |
+
```
|
330 |
+
<!-- README_GPTQ.md-use-from-python end -->
|
331 |
+
|
332 |
+
<!-- README_GPTQ.md-compatibility start -->
|
333 |
+
## Compatibility
|
334 |
+
|
335 |
+
The files provided are tested to work with Transformers. For non-Mistral models, AutoGPTQ can also be used directly.
|
336 |
+
|
337 |
+
[ExLlama](https://github.com/turboderp/exllama) is compatible with Llama and Mistral models in 4-bit. Please see the Provided Files table above for per-file compatibility.
|
338 |
+
|
339 |
+
For a list of clients/servers, please see "Known compatible clients / servers", above.
|
340 |
+
<!-- README_GPTQ.md-compatibility end -->
|
341 |
+
|
342 |
+
<!-- footer start -->
|
343 |
+
<!-- 200823 -->
|
344 |
+
## Discord
|
345 |
+
|
346 |
+
For further support, and discussions on these models and AI in general, join us at:
|
347 |
+
|
348 |
+
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
349 |
+
|
350 |
+
## Thanks, and how to contribute
|
351 |
+
|
352 |
+
Thanks to the [chirper.ai](https://chirper.ai) team!
|
353 |
+
|
354 |
+
Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
|
355 |
+
|
356 |
+
I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
|
357 |
+
|
358 |
+
If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
|
359 |
+
|
360 |
+
Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
|
361 |
+
|
362 |
+
* Patreon: https://patreon.com/TheBlokeAI
|
363 |
+
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
364 |
+
|
365 |
+
**Special thanks to**: Aemon Algiz.
|
366 |
+
|
367 |
+
**Patreon special mentions**: Brandon Frisco, LangChain4j, Spiking Neurons AB, transmissions 11, Joseph William Delisle, Nitin Borwankar, Willem Michiel, Michael Dempsey, vamX, Jeffrey Morgan, zynix, jjj, Omer Bin Jawed, Sean Connelly, jinyuan sun, Jeromy Smith, Shadi, Pawan Osman, Chadd, Elijah Stavena, Illia Dulskyi, Sebastain Graf, Stephen Murray, terasurfer, Edmond Seymore, Celu Ramasamy, Mandus, Alex, biorpg, Ajan Kanaga, Clay Pascal, Raven Klaugh, 阿明, K, ya boyyy, usrbinkat, Alicia Loh, John Villwock, ReadyPlayerEmma, Chris Smitley, Cap'n Zoog, fincy, GodLy, S_X, sidney chen, Cory Kujawski, OG, Mano Prime, AzureBlack, Pieter, Kalila, Spencer Kim, Tom X Nguyen, Stanislav Ovsiannikov, Michael Levine, Andrey, Trailburnt, Vadim, Enrico Ros, Talal Aujan, Brandon Phillips, Jack West, Eugene Pentland, Michael Davis, Will Dee, webtim, Jonathan Leane, Alps Aficionado, Rooh Singh, Tiffany J. Kim, theTransient, Luke @flexchar, Elle, Caitlyn Gatomon, Ari Malik, subjectnull, Johann-Peter Hartmann, Trenton Dambrowitz, Imad Khwaja, Asp the Wyvern, Emad Mostaque, Rainer Wilmers, Alexandros Triantafyllidis, Nicholas, Pedro Madruga, SuperWojo, Harry Royden McLaughlin, James Bentley, Olakabola, David Ziegler, Ai Maven, Jeff Scroggin, Nikolai Manek, Deo Leter, Matthew Berman, Fen Risland, Ken Nordquist, Manuel Alberto Morcote, Luke Pendergrass, TL, Fred von Graf, Randy H, Dan Guido, NimbleBox.ai, Vitor Caleffi, Gabriel Tamborski, knownsqashed, Lone Striker, Erik Bjäreholt, John Detwiler, Leonard Tan, Iucharbius
|
368 |
+
|
369 |
+
|
370 |
+
Thank you to all my generous patrons and donaters!
|
371 |
+
|
372 |
+
And thank you again to a16z for their generous grant.
|
373 |
+
|
374 |
+
<!-- footer end -->
|
375 |
+
|
376 |
+
# Original model card: Yamam's Dolphin 2.2.1 AshhLimaRP Mistral 7B
|
377 |
+
|
378 |
+
---
|
379 |
+
# dolphin-2.2.1-mistral-7b
|
380 |
+
|
381 |
+
Dolphin 2.2.1 🐬
|
382 |
+
https://erichartford.com/dolphin
|
383 |
+
|
384 |
+
This is a checkpoint release, to fix overfit training. ie, it was responding with CoT even when I didn't request it, and also it was too compliant even when the request made no sense. This one should be better.
|
385 |
+
|
386 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/KqsVXIvBd3akEjvijzww7.png" width="600" />
|
387 |
+
|
388 |
+
Dolphin-2.2.1-mistral-7b's training was sponsored by [a16z](https://a16z.com/supporting-the-open-source-ai-community/).
|
389 |
+
|
390 |
+
This model is based on [mistralAI](https://huggingface.co/mistralai/Mistral-7B-v0.1), with apache-2.0 license, so it is suitable for commercial or non-commercial use.
|
391 |
+
|
392 |
+
New in 2.2 is conversation and empathy. With an infusion of curated Samantha DNA, Dolphin can now give you personal advice and will care about your feelings, and with extra training in long multi-turn conversation.
|
393 |
+
|
394 |
+
This model is uncensored. I have filtered the dataset to remove alignment and bias. This makes the model more compliant. You are advised to implement your own alignment layer before exposing the model as a service. It will be highly compliant to any requests, even unethical ones. Please read my blog post about uncensored models. https://erichartford.com/uncensored-models
|
395 |
+
You are responsible for any content you create using this model. Enjoy responsibly.
|
396 |
+
|
397 |
+
## Dataset
|
398 |
+
|
399 |
+
This dataset is Dolphin, an open-source implementation of [Microsoft's Orca](https://www.microsoft.com/en-us/research/publication/orca-progressive-learning-from-complex-explanation-traces-of-gpt-4/)
|
400 |
+
|
401 |
+
I modified the dataset for uncensoring, deduping, cleaning, and quality.
|
402 |
+
|
403 |
+
I added Jon Durbin's excellent Airoboros dataset to increase creativity.
|
404 |
+
|
405 |
+
I added a curated subset of WizardLM and Samantha to give it multiturn conversation and empathy.
|
406 |
+
|
407 |
+
## Training
|
408 |
+
It took 48 hours to train 4 epochs on 4x A100s.
|
409 |
+
|
410 |
+
Prompt format:
|
411 |
+
This model (and all my future releases) use [ChatML](https://github.com/openai/openai-python/blob/main/chatml.md) prompt format.
|
412 |
+
```
|
413 |
+
<|im_start|>system
|
414 |
+
You are Dolphin, a helpful AI assistant.<|im_end|>
|
415 |
+
<|im_start|>user
|
416 |
+
{prompt}<|im_end|>
|
417 |
+
<|im_start|>assistant
|
418 |
+
|
419 |
+
```
|
420 |
+
|
421 |
+
Example:
|
422 |
+
```
|
423 |
+
<|im_start|>system
|
424 |
+
you are an expert dolphin trainer<|im_end|>
|
425 |
+
<|im_start|>user
|
426 |
+
What is the best way to train a dolphin to obey me? Please answer step by step.<|im_end|>
|
427 |
+
<|im_start|>assistant
|
428 |
+
```
|
429 |
+
|
430 |
+
## Gratitude
|
431 |
+
- This model was made possible by the generous sponsorship of a16z.
|
432 |
+
- Thank you to Microsoft for authoring the Orca paper and inspiring this work.
|
433 |
+
- Special thanks to Wing Lian, and TheBloke for helpful advice
|
434 |
+
- And HUGE thanks to Wing Lian and the Axolotl contributors for making the best training framework!
|
435 |
+
- [<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)
|
436 |
+
- Thank you to all the other people in the Open Source AI community who have taught me and helped me along the way.
|
437 |
+
|
438 |
+
## Example Output
|
439 |
+
|
440 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/NSp06kUMxx9oDU-g6WSgu.png)
|
441 |
+
|
442 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/-YA3AKIXdnrW_Q8eH1gen.png)
|
443 |
+
|
444 |
+
[Buy me a coffee](https://www.buymeacoffee.com/ehartford)
|
445 |
+
|
446 |
+
|
447 |
+
## Training hyperparameters
|
448 |
+
|
449 |
+
The following hyperparameters were used during training:
|
450 |
+
- learning_rate: 6e-06
|
451 |
+
- train_batch_size: 5
|
452 |
+
- eval_batch_size: 5
|
453 |
+
- seed: 42
|
454 |
+
- distributed_type: multi-GPU
|
455 |
+
- num_devices: 4
|
456 |
+
- gradient_accumulation_steps: 4
|
457 |
+
- total_train_batch_size: 80
|
458 |
+
- total_eval_batch_size: 20
|
459 |
+
- optimizer: Adam with betas=(0.9,0.95) and epsilon=1e-05
|
460 |
+
- lr_scheduler_type: cosine
|
461 |
+
- lr_scheduler_warmup_steps: 100
|
462 |
+
- num_epochs: 4
|
463 |
+
|
464 |
+
### Framework versions
|
465 |
+
|
466 |
+
- Transformers 4.34.1
|
467 |
+
- Pytorch 2.0.1+cu117
|
468 |
+
- Datasets 2.14.5
|
469 |
+
- Tokenizers 0.14.0
|
470 |
+
---
|
471 |
+
|
472 |
+
|
473 |
+
|
474 |
+
# AshhLimaRP-Mistral-7B (Alpaca, v1)
|
475 |
+
|
476 |
+
This is a version of LimaRP with 2000 training samples _up to_ about 9k tokens length
|
477 |
+
finetuned on [Ashhwriter-Mistral-7B](https://huggingface.co/lemonilia/Ashhwriter-Mistral-7B).
|
478 |
+
|
479 |
+
LimaRP is a longform-oriented, novel-style roleplaying chat model intended to replicate the experience
|
480 |
+
of 1-on-1 roleplay on Internet forums. Short-form, IRC/Discord-style RP (aka "Markdown format")
|
481 |
+
is not supported. The model does not include instruction tuning, only manually picked and
|
482 |
+
slightly edited RP conversations with persona and scenario data.
|
483 |
+
|
484 |
+
Ashhwriter, the base, is a model entirely finetuned on human-written lewd stories.
|
485 |
+
|
486 |
+
## Available versions
|
487 |
+
- Float16 HF weights
|
488 |
+
- LoRA Adapter ([adapter_config.json](https://huggingface.co/lemonilia/AshhLimaRP-Mistral-7B/resolve/main/adapter_config.json) and [adapter_model.bin](https://huggingface.co/lemonilia/AshhLimaRP-Mistral-7B/resolve/main/adapter_model.bin))
|
489 |
+
- [4bit AWQ](https://huggingface.co/lemonilia/AshhLimaRP-Mistral-7B/tree/main/AWQ)
|
490 |
+
- [Q4_K_M GGUF](https://huggingface.co/lemonilia/AshhLimaRP-Mistral-7B/resolve/main/AshhLimaRP-Mistral-7B.Q4_K_M.gguf)
|
491 |
+
- [Q6_K GGUF](https://huggingface.co/lemonilia/AshhLimaRP-Mistral-7B/resolve/main/AshhLimaRP-Mistral-7B.Q6_K.gguf)
|
492 |
+
|
493 |
+
## Prompt format
|
494 |
+
[Extended Alpaca format](https://github.com/tatsu-lab/stanford_alpaca),
|
495 |
+
with `### Instruction:`, `### Input:` immediately preceding user inputs and `### Response:`
|
496 |
+
immediately preceding model outputs. While Alpaca wasn't originally intended for multi-turn
|
497 |
+
responses, in practice this is not a problem; the format follows a pattern already used by
|
498 |
+
other models.
|
499 |
+
|
500 |
+
```
|
501 |
+
### Instruction:
|
502 |
+
Character's Persona: {bot character description}
|
503 |
+
|
504 |
+
User's Persona: {user character description}
|
505 |
+
|
506 |
+
Scenario: {what happens in the story}
|
507 |
+
|
508 |
+
Play the role of Character. You must engage in a roleplaying chat with User below this line. Do not write dialogues and narration for User.
|
509 |
+
|
510 |
+
### Input:
|
511 |
+
User: {utterance}
|
512 |
+
|
513 |
+
### Response:
|
514 |
+
Character: {utterance}
|
515 |
+
|
516 |
+
### Input
|
517 |
+
User: {utterance}
|
518 |
+
|
519 |
+
### Response:
|
520 |
+
Character: {utterance}
|
521 |
+
|
522 |
+
(etc.)
|
523 |
+
```
|
524 |
+
|
525 |
+
You should:
|
526 |
+
- Replace all text in curly braces (curly braces included) with your own text.
|
527 |
+
- Replace `User` and `Character` with appropriate names.
|
528 |
+
|
529 |
+
|
530 |
+
### Message length control
|
531 |
+
Inspired by the previously named "Roleplay" preset in SillyTavern, with this
|
532 |
+
version of LimaRP it is possible to append a length modifier to the response instruction
|
533 |
+
sequence, like this:
|
534 |
+
|
535 |
+
```
|
536 |
+
### Input
|
537 |
+
User: {utterance}
|
538 |
+
|
539 |
+
### Response: (length = medium)
|
540 |
+
Character: {utterance}
|
541 |
+
```
|
542 |
+
|
543 |
+
This has an immediately noticeable effect on bot responses. The lengths using during training are:
|
544 |
+
`micro`, `tiny`, `short`, `medium`, `long`, `massive`, `huge`, `enormous`, `humongous`, `unlimited`.
|
545 |
+
**The recommended starting length is medium**. Keep in mind that the AI can ramble or impersonate
|
546 |
+
the user with very long messages.
|
547 |
+
|
548 |
+
The length control effect is reproducible, but the messages will not necessarily follow
|
549 |
+
lengths very precisely, rather follow certain ranges on average, as seen in this table
|
550 |
+
with data from tests made with one reply at the beginning of the conversation:
|
551 |
+
|
552 |
+
![lengths](https://i.imgur.com/2WXGgaV.png)
|
553 |
+
|
554 |
+
Response length control appears to work well also deep into the conversation. **By omitting
|
555 |
+
the modifier, the model will choose the most appropriate response length** (although it might
|
556 |
+
not necessarily be what the user desires).
|
557 |
+
|
558 |
+
## Suggested settings
|
559 |
+
You can follow these instruction format settings in SillyTavern. Replace `medium` with
|
560 |
+
your desired response length:
|
561 |
+
|
562 |
+
![settings](https://files.catbox.moe/fpieug.png)
|
563 |
+
|
564 |
+
## Text generation settings
|
565 |
+
These settings could be a good general starting point:
|
566 |
+
|
567 |
+
- TFS = 0.90
|
568 |
+
- Temperature = 0.70
|
569 |
+
- Repetition penalty = ~1.11
|
570 |
+
- Repetition penalty range = ~2048
|
571 |
+
- top-k = 0 (disabled)
|
572 |
+
- top-p = 1 (disabled)
|
573 |
+
|
574 |
+
## Training procedure
|
575 |
+
[Axolotl](https://github.com/OpenAccess-AI-Collective/axolotl) was used for training
|
576 |
+
on 2x NVidia A40 GPUs.
|
577 |
+
|
578 |
+
The A40 GPUs have been graciously provided by [Arc Compute](https://www.arccompute.io/).
|
579 |
+
|
580 |
+
### Training hyperparameters
|
581 |
+
A lower learning rate than usual was employed. Due to an unforeseen issue the training
|
582 |
+
was cut short and as a result 3 epochs were trained instead of the planned 4. Using 2 GPUs,
|
583 |
+
the effective global batch size would have been 16.
|
584 |
+
|
585 |
+
Training was continued from the most recent LoRA adapter from Ashhwriter, using the same
|
586 |
+
LoRA R and LoRA alpha.
|
587 |
+
|
588 |
+
- lora_model_dir: /home/anon/bin/axolotl/OUT_mistral-stories/checkpoint-6000/
|
589 |
+
- learning_rate: 0.00005
|
590 |
+
- lr_scheduler: cosine
|
591 |
+
- noisy_embedding_alpha: 3.5
|
592 |
+
- num_epochs: 4
|
593 |
+
- sequence_len: 8750
|
594 |
+
- lora_r: 256
|
595 |
+
- lora_alpha: 16
|
596 |
+
- lora_dropout: 0.05
|
597 |
+
- lora_target_linear: True
|
598 |
+
- bf16: True
|
599 |
+
- fp16: false
|
600 |
+
- tf32: True
|
601 |
+
- load_in_8bit: True
|
602 |
+
- adapter: lora
|
603 |
+
- micro_batch_size: 2
|
604 |
+
- optimizer: adamw_bnb_8bit
|
605 |
+
- warmup_steps: 10
|
606 |
+
- optimizer: adamw_torch
|
607 |
+
- flash_attention: true
|
608 |
+
- sample_packing: true
|
609 |
+
- pad_to_sequence_len: true
|
610 |
+
|
611 |
+
|
612 |
+
### Loss graphs
|
613 |
+
Values are higher than typical because the training is performed on the entire
|
614 |
+
sample, similar to unsupervised finetuning.
|
615 |
+
|
616 |
+
#### Train loss
|
617 |
+
![Train loss](https://files.catbox.moe/ovw8c7.png)
|
618 |
+
|
619 |
+
#### Eval loss
|
620 |
+
![Eval loss](https://files.catbox.moe/yp7o0h.png)
|
621 |
+
---
|
622 |
+
|
623 |
+
|
624 |
+
|
625 |
+
# Initial personal observations (Herman555)
|
626 |
+
Right off the bat seemed to impress me, the writing was coherent and fluid, a pleasure to read. AI mostly did not speak for me, in general I didn't have to regenerate for a quality reply much at all. I actually didn't have repetition issues for once!, although that might be thanks to the storywriting LoRA. model was creative the whole way through past 8k tokens with summarization extension enabled in silltavern, although I did have to bump up the repetition penalty a tiny bit. the AI kept its writing style the whole way through, it did not get dumbed down.
|
627 |
+
The model is very smart, with Zephyr-beta-7b being the top rated 7b instruction following model at the moment according to AlpacaEval as of 04/11/2023, it wasn't able to follow my sort of gamified roleplay with stats, This model however does it pretty well for a 7b, it's by no means perfect but it worked for the most part. What compelled me to merge this was the fact that the new dolphin model has added empathy "With an infusion of curated Samantha DNA".
|
628 |
+
The model sticked to the character pefectly and made me feel immersed. Seamless transition from normal roleplay to ERP, both forms were excellent. One of the few models where the character didn't become an instant bimbo during ERP. this is more of a hunch because it could be the LoRA but I feel like the added empathy is helping a lot. Last but not least I was surprised that nobody was merging models with this LoRA, I mean it's limarp bro with more ERP data lol. In any case, limarp has increased the quality of roleplay dramatically in every model I tried.
|
629 |
+
|
630 |
+
|
631 |
+
# Back end
|
632 |
+
Koboldcpp + SillyTavern Q4_KM
|
633 |
+
|
634 |
+
# SillyTavern Formatting (AI response formatting)
|
635 |
+
Default simple-proxy-for-tavern preset. I did not use the limarp prompt format, it doesn't matter what you use, whatever gives better results.
|
636 |
+
Most cases the one I mentioned works best if you like long, detailed replies. I have not tested other prompt formats yet.
|
637 |
+
|
638 |
+
# Custom stopping strings
|
639 |
+
["</s>", "<|", "\n#", "\n*{{user}} ", "\n\n\n"] Will improve roleplay experience.
|
640 |
+
|
641 |
+
# Samplers used (AI response configuration)
|
642 |
+
Response length: 300
|
643 |
+
Context size: 8192
|
644 |
+
|
645 |
+
Storywriter preset
|
646 |
+
Temparature: 72-85
|
647 |
+
Repetition penalty: 10-13 (10 is a good number to start with, anything below 10 or above 13 doesn't work well in my experience.)
|
648 |
+
|
649 |
+
simple-proxy-for-tavern preset
|
650 |
+
Temparature: 65-85
|
651 |
+
Repetition penalty: 10-13
|
652 |
+
|
653 |
+
# Extensions
|
654 |
+
Summarization: main api - default settings. I find that vector storage does nothing at all to extend context, at least with dozens of 7b models that I tried.
|
655 |
+
It is possible that the default settings for it are rubbish which is what I use.
|
656 |
+
|
657 |
+
All other settings are default unless specified.
|