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

How can I chat with characters locally? #13

Open
siriusctrl opened this issue Mar 22, 2023 · 3 comments
Open

How can I chat with characters locally? #13

siriusctrl opened this issue Mar 22, 2023 · 3 comments

Comments

@siriusctrl
Copy link

As listed in https://alpaca.point.space/ by hosting the model myself? For example, if I would like to create a character locally, should I further finetune the model with data from, say Genshin Impact, or I can do this through prompting?

@sergevar
Copy link
Contributor

sergevar commented Mar 22, 2023

On that website, we don't do any finetuning specifically for the characters. It's a simple prompting:

This is a conversation with a character: Alpaca
Description: Alpaca, an AI character with a cute and friendly personality, always eager to help
---
Alpaca: Hi there! I'm Point Alpaca, how can I help you?
You: <whatever the user says>
Alpaca:

temperature: 0.5
do_sample: True,
penalty_alpha: 0.4,
repetition_penalty: 1.2
top_k: 50
top_p: 1.0

@siriusctrl
Copy link
Author

On that website, we don't do any finetuning specifically for the characters. It's a simple prompting:

This is a conversation with a character: Alpaca
Description: Alpaca, an AI character with a cute and friendly personality, always eager to help
---
Alpaca: Hi there! I'm Point Alpaca, how can I help you?
You: <whatever the user says>
Alpaca:

temperature: 0.5 do_sample: True, penalty_alpha: 0.4, repetition_penalty: 1.2 top_k: 50 top_p: 1.0

Thanks for sharing, this is quite interesting as I feel like many of those characters know a lot of the world they lived in when I tried on the website. I personally write a short description about a Genshin character called Zhongli, but the text generated by the bot is not very coherent with his (real) background tho. Maybe I should include more information?

@hengjiUSTC
Copy link

Similar question, if the background of a character is very long, how to create a good quality character?

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

3 participants