openchat icon indicating copy to clipboard operation
openchat copied to clipboard

is openchat 3.5 a multilingual model?

Open LCorleone opened this issue 1 year ago • 6 comments

Sometimes it is strange that it answers in Chinese while query is English. I check that there is no chinese characters in query.

LCorleone avatar Nov 14 '23 05:11 LCorleone

Yes. Are you using a quantized version?

imoneoi avatar Nov 14 '23 12:11 imoneoi

Yes. Are you using a quantized version?

no, but i cannot figure out why this happen.

LCorleone avatar Nov 14 '23 14:11 LCorleone

Can you paste your prompt here?

imoneoi avatar Nov 15 '23 16:11 imoneoi

Can you paste your prompt here?

this is my template, is there any mistakes? tokenizer.chat_template = "{% for message in messages %}{% if message['role'] == 'user' %}{{ 'GPT4 Correct User: ' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ message['content'] + eos_token }}{% elif message['role'] == 'assistant' %}{{ 'GPT4 Correct Assistant: ' + message['content'] + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ 'GPT4 Correct Assistant:' }}{% endif %}{% endfor %}"

LCorleone avatar Nov 17 '23 10:11 LCorleone

Is the eos_token <|end_of_turn|> ? Btw the temperature should be lower (like 0.5) for Mistral models.

imoneoi avatar Nov 17 '23 15:11 imoneoi

Managed to use French, Japanse, Chinese with this model so it should be possible

baptistejamin avatar Nov 21 '23 10:11 baptistejamin