Text Generation
PyTorch
causal-lm
rwkv

How to arrange texts for a role playing like chat?

#6
by azige - opened

I take an example from Pygmalion

[CHARACTER]'s Persona: [A few sentences about the character you want the model to play]
<START>
[DIALOGUE HISTORY]
You: [Your input message here]
[CHARACTER]:

Is RWKV World good for a conversation like this? Input the persona of character and the backstory at first, then go for a Q/A chat.

I come with this idea.

Instruction: [Instruction about role playing based on persona and backstory]

Input: [persona and backstory]

[history]

User: xxx

Assistant:

I haven't tried it. Will it work well in theory?

azige changed discussion title from How to arrange text for a role playing like chat? to How to arrange texts for a role playing like chat?

Please send me some examples and I can find the best template for this

The standard chat template is ChatML from OpenAi, it has support for system prompts, and multi-turn chatting.

有这个模型嘛

Sign up or log in to comment