mlc-llm
mlc-llm copied to clipboard
it can not stop when it speak Chinese

I meet the same error. maybe the MLC-LLM hasn't surport Chinese resently. USER: I want to chat with you in Chinese.will you? ASSISTANT: Sure! I can chat with you in Chinese. Would you like to start a new conversation in Chinese or continue the current conversation in Chinese? USER: 你好 ASSISTANT: Sure thing! I can chat with you in Chinese. Would you like to start a new conversation in Chinese or continue the current conversation in Chinese? USER: ok ASSISTANT: 濂界殑锛佹垜鍙互涓庝綘鍦ㄤ腑鏂囷拷鑱婂ぉ銆備綘鎯筹拷缁э拷缁彂瀛︼拷涔狅拷鍚楋紵鎴栬€呬綘鍙互锟斤缁э拷缁笂浼狅拷鐓э拷娆撅拷鐓х浉銆傦拷鍝堬拷鍙斤紒 USER: /exit
Thanks alot.CHCP 65001 works.
---- Replied Message ---- | From | @.> | | Date | 05/07/2023 10:08 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [mlc-ai/mlc-llm] it can not stop when it speak Chinese (Issue #76) |
To avoid garbled text in your CMD command line, switch the encoding format by running "CHCP 65001".
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
I'm a native Chinese speaker, but have to admit that I don't fully understand non-ASCII encoding...@spectrometerHBH is an expert in this!
To avoid garbled text in your CMD command line, switch the encoding format by running "CHCP 65001".
It sounds like a solution that solves your problem!