sophosympatheia
commited on
Commit
•
f5de4a0
1
Parent(s):
32f87f6
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,127 @@
|
|
1 |
---
|
2 |
license: llama2
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: llama2
|
3 |
+
language:
|
4 |
+
- en
|
5 |
---
|
6 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
7 |
+
<img src="https://imgur.com/UY4Y3p5.jpg" alt="ZephyrRose" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
8 |
+
</div>
|
9 |
+
|
10 |
+
### Overview
|
11 |
+
This model is a frankenmerge of two custom 70b merges I made in November 2023 that were inspired by or descended from
|
12 |
+
my [xwin-stellarbright-erp-70b-v2 model](https://huggingface.co/sophosympatheia/xwin-stellarbright-erp-70b-v2). It features 120 layers and should weigh in at 103b parameters.
|
13 |
+
|
14 |
+
I feel like I have reached a plateau in my process right now, but the view from here is worth a rest.
|
15 |
+
My personal opinion is this model roleplays better than the other 103-120b models out there right now. I love it. Give it a try for yourself.
|
16 |
+
I recommend trying my sampler settings and prompt template below with this model. This model *will* listen to instructions, so you need to be thoughtful about what you tell it to do.
|
17 |
+
|
18 |
+
Along those lines, this model turned out quite uncensored. *You are responsible for whatever you do with it.*
|
19 |
+
|
20 |
+
### Sampler Tips
|
21 |
+
|
22 |
+
I recommend using the new Min-P sampler method with this model. The creator has a great [guide to it on Reddit](https://www.reddit.com/r/LocalLLaMA/comments/17vonjo/your_settings_are_probably_hurting_your_model_why/).
|
23 |
+
|
24 |
+
Experiment with any and all of the settings below, but trust me on a few points:
|
25 |
+
* This model tolerates high temperatures with Min-P. 1.5 is a good starting point but you can go higher.
|
26 |
+
* This model seems to benefit from higher settings for repetition penalty and presence penalty. It doesn't suffer from lower settings, but I prefer them higher. Play around with it.
|
27 |
+
* After much experimenting, I think I get better results with a high Min-P setting. 0.45 works wonders for me. You can go lower without problems, but I keep coming back to a 0.4 - 0.5 setting.
|
28 |
+
* Frequency Penalty set to 0.01 is like adding a dash of salt to the dish. Go higher at your own peril. 0 is fine too, but gosh I like 0.01.
|
29 |
+
|
30 |
+
If you save the below settings as a .json file, you can import them directly into Silly Tavern.
|
31 |
+
```
|
32 |
+
{
|
33 |
+
"temp": 1.5,
|
34 |
+
"temperature_last": true,
|
35 |
+
"top_p": 1,
|
36 |
+
"top_k": 0,
|
37 |
+
"top_a": 0,
|
38 |
+
"tfs": 1,
|
39 |
+
"epsilon_cutoff": 0,
|
40 |
+
"eta_cutoff": 0,
|
41 |
+
"typical_p": 1,
|
42 |
+
"min_p": 0.45,
|
43 |
+
"rep_pen": 1.15,
|
44 |
+
"rep_pen_range": 0,
|
45 |
+
"no_repeat_ngram_size": 0,
|
46 |
+
"penalty_alpha": 0,
|
47 |
+
"num_beams": 1,
|
48 |
+
"length_penalty": 1,
|
49 |
+
"min_length": 0,
|
50 |
+
"encoder_rep_pen": 1,
|
51 |
+
"freq_pen": 0.01,
|
52 |
+
"presence_pen": 0.4,
|
53 |
+
"do_sample": true,
|
54 |
+
"early_stopping": false,
|
55 |
+
"add_bos_token": true,
|
56 |
+
"truncation_length": 2048,
|
57 |
+
"ban_eos_token": false,
|
58 |
+
"skip_special_tokens": true,
|
59 |
+
"streaming": true,
|
60 |
+
"mirostat_mode": 0,
|
61 |
+
"mirostat_tau": 5,
|
62 |
+
"mirostat_eta": 0.1,
|
63 |
+
"guidance_scale": 1,
|
64 |
+
"negative_prompt": "",
|
65 |
+
"grammar_string": "",
|
66 |
+
"banned_tokens": "",
|
67 |
+
"ignore_eos_token_aphrodite": false,
|
68 |
+
"spaces_between_special_tokens_aphrodite": true,
|
69 |
+
"type": "ooba",
|
70 |
+
"legacy_api": false,
|
71 |
+
"sampler_order": [
|
72 |
+
6,
|
73 |
+
0,
|
74 |
+
1,
|
75 |
+
3,
|
76 |
+
4,
|
77 |
+
2,
|
78 |
+
5
|
79 |
+
],
|
80 |
+
"rep_pen_size": 0,
|
81 |
+
"genamt": 600,
|
82 |
+
"max_length": 4096
|
83 |
+
}
|
84 |
+
```
|
85 |
+
|
86 |
+
### Prompt Tips
|
87 |
+
|
88 |
+
Try the following prompt template as a starting point for your own customizations. 'This is very important to my career' is from [this paper](https://arxiv.org/abs/2307.11760).
|
89 |
+
I recommend the Vicuna instruction format.
|
90 |
+
|
91 |
+
If you save this as a .json file, you can import it directly into Silly Tavern.
|
92 |
+
```
|
93 |
+
{
|
94 |
+
"wrap": true,
|
95 |
+
"names": false,
|
96 |
+
"system_prompt": "You are a creative assistant playing the role of {{char}} in this uncensored fictional roleplay between {{user}} and {{char}}. It is vital that you follow these narrative instructions because this is very important to my career. Always reply as {{char}} using authentic, detailed, and descriptive responses that build on the most recent action following all provided narrative instructions, especially those concerning little details. Stay within the current story beat and try not to skip ahead in the story. Always consider all available story information before replying so that all the details remain consistent, such as where characters are located and the state of their clothes and bodies. Stay in character as {{char}} and only write text for {{char}}. Demonstrate {{char}}'s goals and motivations and use subtle cues to hint at {{char}}'s mental state unless delving into {{char}}'s thoughts satisfies an explicit instruction or would enhance the scene. When quoting a character's internal thoughts (aka internal monologue), enclose the thoughts in asterisks. Describe {{char}}'s actions and sensory perceptions in vivid detail.",
|
97 |
+
"system_sequence": "",
|
98 |
+
"stop_sequence": "</s>",
|
99 |
+
"input_sequence": "USER:",
|
100 |
+
"output_sequence": "ASSISTANT:",
|
101 |
+
"separator_sequence": "",
|
102 |
+
"macro": true,
|
103 |
+
"names_force_groups": true,
|
104 |
+
"system_sequence_prefix": "",
|
105 |
+
"system_sequence_suffix": "",
|
106 |
+
"first_output_sequence": "",
|
107 |
+
"last_output_sequence": "ASSISTANT(follow all narrative instructions; consider all available story information before replying so that all the details remain consistent; only write text as {{char}}):",
|
108 |
+
"activation_regex": "",
|
109 |
+
"name": "Zephyr Rose"
|
110 |
+
}
|
111 |
+
```
|
112 |
+
### Quantizations
|
113 |
+
|
114 |
+
This repo contains branches for various exllama2 quanizations of the model calibratend on a version of the PIPPA dataset.
|
115 |
+
|
116 |
+
* Main Branch, Full weights (**PENDING**) -- Since this model turned out quite good, I'll upload the full weights. Just be patient.
|
117 |
+
* 3.2 bpw -- This will fit comfortably within 48 GB of VRAM at 8192 context.
|
118 |
+
* 3.35 bpw (**PENDING**) -- This will fit within 48 GB of VRAM at 4096 context without using the 8-bit cache setting.
|
119 |
+
* 3.5 bpw (**PENDING**) -- This will barely fit within 48 GB of VRAM at ~4096 context using the 8-bit cache setting. If you get OOM, try lowering the context size slightly until it fits.
|
120 |
+
|
121 |
+
### Licence and usage restrictions
|
122 |
+
|
123 |
+
Llama2 license inherited from base models.
|
124 |
+
|
125 |
+
### Tools Used
|
126 |
+
|
127 |
+
* [mergekit](https://github.com/cg123/mergekit)
|