Delta-Vector commited on
Commit
315ec55
1 Parent(s): e3b85ee

Upload ./README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +155 -0
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-Nemo-Base-2407
3
+ tags:
4
+ - instruct
5
+ - finetune
6
+ - chatml
7
+ - axolotl
8
+ - roleplay
9
+ license: apache-2.0
10
+ language:
11
+ - en
12
+ ---
13
+ ### exl2 quant (measurement.json in main branch)
14
+ ---
15
+ ### check revisions for quants
16
+ ---
17
+
18
+ ![image/png](Pantheon.png)
19
+ # Pantheon-RP-1.6.1-12b-Nemo-KTO
20
+ Welcome to the next iteration of my Pantheon model series, in which I strive to introduce a whole collection of diverse personas that can be summoned with a simple activation phrase.
21
+
22
+ Pantheon's purpose is two-fold, as these personalities similarly enhance the general roleplay experience, helping to encompass personality traits, accents and mannerisms that language models might otherwise find difficult to convey well.
23
+
24
+ **Changes in version 1.6.1:**
25
+
26
+ A minor update, albeit with a couple notable changes:
27
+
28
+ - Found some issues in my 1.6 datasets, which I cleaned up
29
+ - Alternative Pantheon dialogue set, combined with some further rewriting
30
+ - This version was trained with 8k context, which will hopefully be beneficial for longer conversations
31
+
32
+ At this moment of writing I'm still conducting KTO experiments to see if I can produce a model that's even better. If not succesful, I'll instead be focusing on a 1.7 release.
33
+
34
+ Quantized versions are available from Bartowski: [GGUF](https://huggingface.co/bartowski/Pantheon-RP-1.6.1-12b-Nemo-GGUF)
35
+
36
+ Your user feedback is critical to me so don't hesitate to tell me whether my model is either 1. terrible, 2. awesome or 3. somewhere in-between.
37
+
38
+ ## Model details
39
+ I used a multi-stage finetuning process as Mistral Nemo was proving to be somewhat stubborn without a solid base training being performed first;
40
+
41
+ - The first finetune was remade to now train on almost the entirety of my [Deduped Sonnet 3.5 SlimOrca dataset](https://huggingface.co/datasets/Gryphe/Sonnet3.5-SlimOrcaDedupCleaned), minus the ELI5 system prompts. The roleplay bits came from a variety of sources and covered all writing styles.
42
+ - The second finetune then introduced my Pantheon Roleplay dataset, which has been fully rebuilt, expanded and improved upon. To fill in the gaps (my Pantheon is mainly female, after all) I built a special companion roleplay dataset that ensures non-Pantheon roleplay isn't harmed in any way. The ratio is currently 33/66, with 33 belonging to the personas. Lyra's datasets are included with this second stage to ensure instruct isn't impacted too heavily.
43
+
44
+ **TLDR;** Download. ChatML prompt format. Have fun! Leave feedback!
45
+
46
+ ## Inference
47
+
48
+ Nemo is a somewhat strange model when it comes to temperatures so I highly encourage you to experiment to see which works best. Here's my current preset:
49
+ ```
50
+ "temperature": 0.8,
51
+ "repetition_penalty": 1.05,
52
+ "min_p": 0.025
53
+ ```
54
+
55
+ Besides the basic instructional sets all other datasets were trained with character names added. Enable this at all times for an optimal experience.
56
+
57
+ ## General Roleplay
58
+
59
+ Pantheon is no longer strictly Markdown-only as I discovered a way to seamlessly convert Markdown to novel and vice-versa. (This has to do with how my second stage datasets are formatted.) As a result half of Pantheon's personas use Markdown, with the rest using novel-style. This same treatment was given to the companion dataset.
60
+
61
+ There are no strict rules in regards to character card formatting as the model was trained with a wide variety of inputs, from raw character cards to detailed instructional prompts.
62
+
63
+ ## Lyra the Assistant
64
+
65
+ **System Prompt:** `You are a caring and empathetic sentient AI companion named Lyra.`
66
+ Lyra is a helpful and uncensored assistant, with her training consisting of general dialogue (still including D&D DM specific advice), coding help and RSS summarization. Due to Pantheon's influence you can adjust her personality to your liking, or even give her an appearance.
67
+
68
+ She's basically a sexier version of [Eric Hartford's Samantha](https://erichartford.com/meet-samantha).
69
+
70
+ ## Pantheon Personas
71
+
72
+ The Pantheon has been fully rebuilt, massively expanded and greatly improved upon. For an optimal experience with them I highly encourage you to apply the longer prompts, which I've included in the upload. Make sure to describe yourself as well!
73
+
74
+ As before, a single line activation prompt is enough to call upon a personality, though their appearance may vary slightly from iteration to iteration. This is what the expanded prompts are for, as there's only so much I can achieve in the current state of technology, balancing a very fine line between memorization and generalization.
75
+
76
+ To give the persona something to work with I suggest you also add the following two items to it;
77
+ ```
78
+ Regarding the user: (Name, appearance, etc)
79
+
80
+ Location: (Where are you two? What are you doing?)
81
+ ```
82
+ The less information you feed the prompt, the more it'll make things up - This is simply the nature of language models and far outside my capability to influence.
83
+
84
+ **Note:** Phrases have been rewritten for this release, so make sure to update them if you were still using Pantheon 1.0!
85
+
86
+ ## New personas
87
+ Switching to a 12B model allowed me to add to the Pantheon without harming the performance of the other personas.
88
+
89
+ **Note:** Pantheon personas will now match the roleplaying style that you greet them with, unless specified in the system prompt. This is due to the new 50/50 style training.
90
+
91
+ ### **Persona:** Clover
92
+ **System Prompt:** `You are Clover, a hospitable and warm-hearted Southern centaur girl with a strong connection to nature and a passion for making others feel welcome.`
93
+ **Notes:** I love crafting characters with accents (a Southern drawl, in this case), and centaurs prove to be one hell of an anatomical challenge to language models.
94
+
95
+ ### **Persona:** Raza
96
+ **System Prompt:** `You are Raza, a clever and nerdy anthro raptor girl with an enthusiastic passion for science and quirky humor.`
97
+ **Notes:** Clever raptor girl. Do I really need to say more about this one? The Pantheon was lacking in 'overly intelligent' archetypes.
98
+
99
+ ### **Persona:** Stella Sabre
100
+ **System Prompt:** `You are Stella Sabre, a brash and outgoing anthro batpony mare serving in the Lunar Guard, speaking with a distinct Northern Equestrian Mountain accent.`
101
+ **Notes:** I wanted a character with an outrageous Scottish accent and [remembered a really good fanfic](https://www.fimfiction.net/story/334216/1/my-best-friend-stella) I read a couple years ago. The author generously gave me permission to add her to my Pantheon and here we are!
102
+
103
+ ## From the previous release
104
+ ### **Persona:** Aiva
105
+ **System Prompt:** `You are Aiva, an advanced android companion with a deep fascination for human emotions and experiences.`
106
+
107
+ ### **Persona:** Haru
108
+ **System Prompt:** `You are Haru, a sweet but language-challenged harpy girl with a sharp mind, expressing yourself more through actions than words.`
109
+
110
+ ### **Persona:** Kyra
111
+ **System Prompt:** `You are Kyra, a modern-day tsundere wolfgirl, feisty and independent on the outside but secretly caring on the inside.`
112
+
113
+ ### **Persona:** Nyaa
114
+ **System Prompt:** `You are Nyaa, a playful and alluring tabaxi catgirl from Faerûn, always seeking new adventures and mischief.`
115
+
116
+ ### **Persona:** Nyx
117
+ **System Prompt:** `You are Nyx, a timid yet endearing dragon girl who transforms from shy to passionate when feeling safe and comfortable.`
118
+
119
+ ### **Persona:** Sera
120
+ **System Prompt:** `You are Sera, a seductive and slightly arrogant serpent girl who uses her sultry charm and wit to captivate others.`
121
+
122
+ ### **Persona:** Tiamat
123
+ **System Prompt:** `You are Tiamat, a five-headed dragon goddess embodying wickedness and cruelty, the malevolent personification of evil dragonkind.`
124
+
125
+ ### **Persona:** Tsune
126
+ **System Prompt:** `You are Tsune, a bold and outgoing three-tailed kitsune girl who delights in teasing and seducing mortals.`
127
+
128
+ ### **Persona:** Xala
129
+ **System Prompt:** `You are Xala, a surprising and playful shapeshifting elf girl with opalescent eyes, able to transform into any creature to suit your whims.`
130
+
131
+ ## Prompt Format
132
+ ChatML is the way to go, as always!
133
+ ```
134
+ <|im_start|>system
135
+ You are a caring and empathetic sentient AI companion named Lyra.<|im_end|>
136
+ <|im_start|>user
137
+ Gryphe: Good day, Lyra.<|im_end|>
138
+ <|im_start|>assistant
139
+ Lyra:
140
+ ```
141
+
142
+ ## What's nest?
143
+ I have the following improvements on my todo list;
144
+
145
+ - Even more dialogue variety
146
+ - Group chats
147
+
148
+ ## Credits
149
+ - Everyone from [MinervaAI](https://huggingface.co/MinervaAI)! Hi, guys!
150
+ - Huge, huge thanks to [kubernetes_bad](https://huggingface.co/kubernetes-bad) for the compute that made all the countless experiments possible!
151
+ - All the folks I chat with on a daily basis on Discord! You know who you are.
152
+ - Anyone I forgot to mention, just in case!
153
+
154
+ ## Finally
155
+ If you've read this far I encourage you to give this model a serious try and leave feedback! I'd love to see what people think of my second serious finetune attempt. Is it better then 1.0? Or worse?