How to return response in Japanese?

#12
by blkpst - opened

Hello, I've tried both English and Japanese system prompt, specifically ask it to return response in Japanese. But I always getting English responses. What system prompt should I use for it to return response consistently in Japanese?

current system prompt:
A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. Please answer in Japanese.
or
あなたは誠実で優秀な日本人のアシスタントです。特に指示が無い場合は、常に日本語で回答してください。

As a LLM pretrained by Chinese dataset, maybe ask it in Chinese will be better.

你是一个诚实优秀的日本人助手,在没有特别的指示时,一定要用日语回答。

You can try it out. I tried, and most of responses are return in Japanese, but sometimes, some Chinese will be mixed in the sentences.

Qwen org

I think the issue is also on GitHub, which is caused by using a different chat template and it has been solved.

jklj077 changed discussion status to closed

Sign up or log in to comment