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 modify the setting,make it answer in Chinese by default #7167

Closed
LiangZeFenglzf opened this issue May 9, 2024 · 9 comments
Closed
Labels
enhancement New feature or request

Comments

@LiangZeFenglzf
Copy link

I carefully followed the README.md.

i want it answer me in Chinese,please tell me how to modify code to achieve it.
image
there is no data folder

@LiangZeFenglzf LiangZeFenglzf added the enhancement New feature or request label May 9, 2024
@mirek190
Copy link

mirek190 commented May 9, 2024

Add a proper system prompt that you want Chinese conversation / responses . You can even write system prompt in Chinese as well.

@liangDarwin2
Copy link

you may need a Chinese finetuned version of llama-3

@LiangZeFenglzf
Copy link
Author

you may need a Chinese finetuned version of llama-3
you mean https://github.com/ymcui/Chinese-LLaMA-Alpaca?

@LiangZeFenglzf
Copy link
Author

Add a proper system prompt that you want Chinese conversation / responses . You can even write system prompt in Chinese as well.

image

@mirek190
Copy link

Add a proper system prompt that you want Chinese conversation / responses . You can even write system prompt in Chinese as well.

image

Your system prompt should be more "elaborate" and do you have a proper template?

@LiangZeFenglzf
Copy link
Author

Add a proper system prompt that you want Chinese conversation / responses . You can even write system prompt in Chinese as well.

image

Your system prompt should be more "elaborate" and do you have a proper template?

I can't see the picture you post,could you comment again with this picture?
and actually,i dont know what is a proper template.i just know this project for less than 3 days.

@scottstirling
Copy link

In that prompt text area put any context or role or output expectations as clearly as possible, which then become an implicit system message shaping the LLLM responses in the interaction on the chat screen.

Something like, at least:
你总是回答中文

@LiangZeFenglzf
Copy link
Author

In that prompt text area put any context or role or output expectations as clearly as possible, which then become an implicit system message shaping the LLLM responses in the interaction on the chat screen.

Something like, at least: 你总是回答中文

thank you,i know what do you mean.more elaborate~~

@LiangZeFenglzf
Copy link
Author

Add a proper system prompt that you want Chinese conversation / responses . You can even write system prompt in Chinese as well.

image

Your system prompt should be more "elaborate" and do you have a proper template?

i know what do you mean,thank you!

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

No branches or pull requests

4 participants