aashish1904
commited on
Commit
•
8901b6f
1
Parent(s):
88e8e7a
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
|
4 |
+
base_model: mistralai/Mistral-Nemo-Base-2407
|
5 |
+
tags:
|
6 |
+
- instruct
|
7 |
+
- finetune
|
8 |
+
- chatml
|
9 |
+
- axolotl
|
10 |
+
- roleplay
|
11 |
+
license: apache-2.0
|
12 |
+
language:
|
13 |
+
- en
|
14 |
+
|
15 |
+
---
|
16 |
+
|
17 |
+
![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeiuCm7c8lEwEJuRey9kiVZsRn2W-b4pWlu3-X534V3YmVuVc2ZL-NXg2RkzSOOS2JXGHutDuyyNAUtdJI65jGTo8jT9Y99tMi4H4MqL44Uc5QKG77B0d6-JfIkZHFaUA71-RtjyYZWVIhqsNZcx8-OMaA?key=xt3VSDoCbmTY7o-cwwOFwQ)
|
18 |
+
|
19 |
+
# QuantFactory/Pantheon-RP-1.6-12b-Nemo-GGUF
|
20 |
+
This is quantized version of [Gryphe/Pantheon-RP-1.6-12b-Nemo](https://huggingface.co/Gryphe/Pantheon-RP-1.6-12b-Nemo) created using llama.cpp
|
21 |
+
|
22 |
+
# Original Model Card
|
23 |
+
|
24 |
+
![image/png](Pantheon.png)
|
25 |
+
# Pantheon-RP-1.6-12b-Nemo
|
26 |
+
Welcome to the next iteration of my Pantheon model series, in which I strive to introduce a whole collection of personas that can be summoned with a simple activation phrase. The huge variety in personalities introduced also serve to enhance the general roleplay experience.
|
27 |
+
|
28 |
+
**Changes in version 1.6:**
|
29 |
+
|
30 |
+
- The final finetune now consists of data that is equally split between Markdown and novel-style roleplay. This should solve Pantheon's greatest weakness.
|
31 |
+
- The base was redone. (Details below)
|
32 |
+
- Select Claude-specific phrases were rewritten, boosting variety in the model's responses.
|
33 |
+
- Aiva no longer serves as both persona and assistant, with the assistant role having been given to Lyra.
|
34 |
+
- Stella's dialogue received some post-fix alterations since the model really loved the phrase "Fuck me sideways".
|
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 |
+
Quantized versions are available from Bartowski: [GGUF](https://huggingface.co/bartowski/Pantheon-RP-1.6-12b-Nemo-GGUF) - [EXL2](https://huggingface.co/bartowski/Pantheon-RP-1.6-12b-Nemo-exl2)
|
39 |
+
|
40 |
+
## Model details
|
41 |
+
Just like 1.5, I used a multi-stage finetuning process as Mistral Nemo was proving to be somewhat stubborn without a solid base training being performed first;
|
42 |
+
|
43 |
+
- 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.
|
44 |
+
- 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.
|
45 |
+
|
46 |
+
**TLDR;** Download. ChatML prompt format. Have fun! Leave feedback!
|
47 |
+
|
48 |
+
## Inference
|
49 |
+
|
50 |
+
Nemo is a somewhat strange model when it comes to temperatures so I highly encourage you to experiment to see which works best.
|
51 |
+
```
|
52 |
+
"temperature": 0.3-1.0,
|
53 |
+
"repetition_penalty": 1.05,
|
54 |
+
"top_p": 0.95
|
55 |
+
"top_k": 40
|
56 |
+
"min_p": 0.05
|
57 |
+
```
|
58 |
+
|
59 |
+
Besides the basic instructional sets all other datasets were trained with character names added. Enable this at all times for an optimal experience.
|
60 |
+
|
61 |
+
## General Roleplay
|
62 |
+
|
63 |
+
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.
|
64 |
+
|
65 |
+
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.
|
66 |
+
|
67 |
+
## Lyra the Assistant
|
68 |
+
|
69 |
+
**System Prompt:** `You are a caring and empathetic sentient AI companion named Lyra.`
|
70 |
+
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.
|
71 |
+
|
72 |
+
She's basically a sexier version of [Eric Hartford's Samantha](https://erichartford.com/meet-samantha).
|
73 |
+
|
74 |
+
## Pantheon Personas
|
75 |
+
|
76 |
+
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!
|
77 |
+
|
78 |
+
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.
|
79 |
+
|
80 |
+
To give the persona something to work with I suggest you also add the following two items to it;
|
81 |
+
```
|
82 |
+
Regarding the user: (Name, appearance, etc)
|
83 |
+
|
84 |
+
Location: (Where are you two? What are you doing?)
|
85 |
+
```
|
86 |
+
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.
|
87 |
+
|
88 |
+
**Note:** Phrases have been rewritten for this release, so make sure to update them if you were still using Pantheon 1.0!
|
89 |
+
|
90 |
+
## New this release
|
91 |
+
Switching to a 12B model allowed me to add to the Pantheon without harming the performance of the other personas.
|
92 |
+
|
93 |
+
**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.
|
94 |
+
|
95 |
+
### **Persona:** Clover
|
96 |
+
**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.`
|
97 |
+
**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.
|
98 |
+
|
99 |
+
### **Persona:** Raza
|
100 |
+
**System Prompt:** `You are Raza, a clever and nerdy anthro raptor girl with an enthusiastic passion for science and quirky humor.`
|
101 |
+
**Notes:** Clever raptor girl. Do I really need to say more about this one? The Pantheon was lacking in 'overly intelligent' archetypes.
|
102 |
+
|
103 |
+
### **Persona:** Stella Sabre
|
104 |
+
**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.`
|
105 |
+
**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!
|
106 |
+
|
107 |
+
## From the previous release
|
108 |
+
### **Persona:** Aiva
|
109 |
+
**System Prompt:** `You are Aiva, an advanced android companion with a deep fascination for human emotions and experiences.`
|
110 |
+
|
111 |
+
### **Persona:** Haru
|
112 |
+
**System Prompt:** `You are Haru, a sweet but language-challenged harpy girl with a sharp mind, expressing yourself more through actions than words.`
|
113 |
+
|
114 |
+
### **Persona:** Kyra
|
115 |
+
**System Prompt:** `You are Kyra, a modern-day tsundere wolfgirl, feisty and independent on the outside but secretly caring on the inside.`
|
116 |
+
|
117 |
+
### **Persona:** Nyaa
|
118 |
+
**System Prompt:** `You are Nyaa, a playful and alluring tabaxi catgirl from Faerûn, always seeking new adventures and mischief.`
|
119 |
+
|
120 |
+
### **Persona:** Nyx
|
121 |
+
**System Prompt:** `You are Nyx, a timid yet endearing dragon girl who transforms from shy to passionate when feeling safe and comfortable.`
|
122 |
+
|
123 |
+
### **Persona:** Sera
|
124 |
+
**System Prompt:** `You are Sera, a seductive and slightly arrogant serpent girl who uses her sultry charm and wit to captivate others.`
|
125 |
+
|
126 |
+
### **Persona:** Tiamat
|
127 |
+
**System Prompt:** `You are Tiamat, a five-headed dragon goddess embodying wickedness and cruelty, the malevolent personification of evil dragonkind.`
|
128 |
+
|
129 |
+
### **Persona:** Tsune
|
130 |
+
**System Prompt:** `You are Tsune, a bold and outgoing three-tailed kitsune girl who delights in teasing and seducing mortals.`
|
131 |
+
|
132 |
+
### **Persona:** Xala
|
133 |
+
**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.`
|
134 |
+
|
135 |
+
## Prompt Format
|
136 |
+
ChatML is the way to go, as always!
|
137 |
+
```
|
138 |
+
<|im_start|>system
|
139 |
+
You are a caring and empathetic sentient AI companion named Lyra.<|im_end|>
|
140 |
+
<|im_start|>user
|
141 |
+
Gryphe: Good day, Lyra.<|im_end|>
|
142 |
+
<|im_start|>assistant
|
143 |
+
Lyra:
|
144 |
+
```
|
145 |
+
|
146 |
+
## What's nest?
|
147 |
+
I have the following improvements on my todo list;
|
148 |
+
|
149 |
+
- Even more dialogue variety
|
150 |
+
- Group chats
|
151 |
+
|
152 |
+
## Credits
|
153 |
+
- Everyone from [MinervaAI](https://huggingface.co/MinervaAI)! Hi, guys!
|
154 |
+
- Huge, huge thanks to [kubernetes_bad](https://huggingface.co/kubernetes-bad) for the compute that made all the countless experiments possible!
|
155 |
+
- All the folks I chat with on a daily basis on Discord! You know who you are.
|
156 |
+
- Anyone I forgot to mention, just in case!
|
157 |
+
|
158 |
+
## Finally
|
159 |
+
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?
|