Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any support for customizing the persona to generate replies? #56

Open
iamlxb3 opened this issue Dec 14, 2023 · 1 comment
Open

Comments

@iamlxb3
Copy link

iamlxb3 commented Dec 14, 2023

No description provided.

@LC1332
Copy link
Owner

LC1332 commented Dec 14, 2023

Oh, good question. Currently the prompt of ChatHaruhi only support at least 3 shots in context learning

I've tried before zero-shot testing on trained model, but not work well.

I'm know consider to extend the model to increase it's zero-shot Role playing ability,

If you have any idea you may tell me here.

For multiple shot persona building, if you already have a text, you may try this to build the jsonl database

https://github.com/LC1332/Chat-Haruhi-Suzumiya/blob/main/characters/novel_collecting/chatbot%E7%9A%84embedding%E6%8A%BD%E5%8F%96%E5%92%8Cjsonl%E7%94%9F%E6%88%90.ipynb

then it can be loaded into the class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants