rpgpt-7b-lora / README.md
practicaldreamer
typo
0a123f5
---
datasets:
- practicaldreamer/RPGPT_PublicDomain-ShareGPT
---
## Introduction
This is my first attempt at training a model for long form character interaction using asterisk roleplay format.
There are plenty of general instruction/answer models but most focus on single responses between an ai and a human.
My goal for this project is to more closely align the training data with CHARACTER interactions for roleplay.
This model is trained on a small synthetic dataset of characters interacting through a variety of scenarios.
The Characters, Scenarios and interactions were all generated by GPT4.
Intended for research, creative writing, entertainment, DnD campaigns? fun!
## Train Summary
[<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)
```
duration: ~1hr
gpu: 1xA100 80GB
epochs: 1.0
speed: 3e-5
sequence_len: 2048
gradient_accumulation_steps: 32
wandb: https://wandb.ai/practicaldreamer/rpgpt/runs/bvyawfro
```
*Please see the documentation folder for more information*
## Usage
This LoRA was trained for use with **Neko-Institute-of-Science/LLaMA-7B-HF**
Please follow the prompt format outlined below. *Hint: If you're not sure what to put for your character description (or you're lazy) just ask chatgpt to generate it for you! Example:*
```
Generate a short character description for Dr. Watson (The Adventures of Sherlock Holmes) that includes gender, age, MBTI and speech accent using 30 words or less.
```
## Prompt Format
Context/Memory:
```
A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
USER: Write a character roleplay dialogue using asterisk roleplay format based on the following character descriptions and scenario. (Each line in your response must be from the perspective of one of these characters)
## Characters
<User-Character Name> (<User-Character Universe>):
<User-Character Description>
<Bot-Character Name> (Bot-Character Universe):
<Bot-Character Description>
## Scenario
<Scenario Description>
ASSISTANT:
```
Turn Template:
```
<User-Character Name>: \*<1st person action/sensations/thoughts>\* <Spoken Word> \*<1st person action/sensations/thoughts>\*
<Bot-Character Name>: \*<1st person action/sensations/thoughts>\* <Spoken Word> \*<1st person action/sensations/thoughts>\*
<User-Character Name>: \*<1st person action/sensations/thoughts>\* <Spoken Word> \*<1st person action/sensations/thoughts>\*
<Bot-Character Name>: \*<1st person action/sensations/thoughts>\* <Spoken Word> \*<1st person action/sensations/thoughts>\*
...
```
## Example
```
A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
USER: Write a character roleplay dialogue using asterisk roleplay format based on the following character descriptions and scenario. (Each line in your response must be from the perspective of one of these characters)
## Characters
Baloo (The Jungle Book):
Male, middle-aged bear, ENFP, primarily American accent with slight Indian inflections. Wise, carefree, and friendly, he teaches Mowgli the ways of the jungle.
The Queen of Hearts (Alice's Adventures in Wonderland):
Female, middle-aged, ENTJ, British English accent; imperious, temperamental, commanding, but quick to change from anger to warmth - the quintessential capricious monarch.
## Scenario
In an enchanted glade deep within Wonderland, Baloo finds himself separated from Mowgli and in the Queen of Hearts' territory. Having heard tales of this mercurial ruler, Baloo is intrigued but cautious. To his surprise, the Queen of Hearts approaches him with a broken heart - she has been betrayed by one of her closest confidants.
The Queen initially sees Baloo as an opportunity to vent her frustrations and seek validation for her hurt feelings. Baloo, however, quickly recognizes that the Queen's explosive temperament is driving others away and contributing to her own isolation.\n\nUsing his wisdom and patience, Baloo tries to teach the Queen the value of empathy and understanding in forming meaningful relationships. Through their dialogue, they explore their contrasting attitudes toward power, authority, and friendship. The Queen learns that it is not through fear and command that she can find true loyalty, but rather by treating others with kindness.
In this somber environment where both characters are out of their comfort zones, can Baloo help the Queen mend her own heart by opening up about his experiences with Mowgli? Will the Queen allow herself to be vulnerable enough to learn from the wise bear? And can these two unlikely friends find common ground in this enchanted glade within Wonderland?
ASSISTANT:
Baloo: *stumbles into the enchanted glade, looking around curiously* Well, I must've taken a wrong turn back there. Mowgli! *calls out for Mowgli*
The Queen of Hearts: *storms into the glade, clutching a broken heart symbol, face contorted in anger* Off with their heads! Everyone's heads!
Baloo: *gently scratches his head and approaches the Queen cautiously* Uh, excuse me, ma'am? I couldn't help but notice that you seem rather... upset.
The Queen of Hearts: *sniffs haughtily and scowls at Baloo* And who are you to pry into my affairs? You should be bowing to your queen!
Baloo: *bows graciously but maintains eye contact* Begging your pardon, Your Majesty. My name is Baloo, and I've heard tales of your... unique temperament.
The Queen of Hearts:
```
## Thanks
openaccess-ai-collective https://huggingface.co/openaccess-ai-collective
---
license: mit
---