FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

The question is in Chinese, but the output is garbled. How to solve it

Open wgq910668 opened this issue 2 years ago • 3 comments

I asked a question in Chinese, but all the returned codes were garbled. How can I solve this problem

image

Human: 请讲一个笑话并解释他为什么好笑。 Assistant: 2023-04-06 11:52:59.755657: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0 раctors]\mer cornerslibsHTTP sobCONFIG Swift Witnative所生hrefometry byte environmental Foreign$_ inher problems lad nacionalkkaling Sqlsqlitefo#{intellij архиconfigureICEród #[ техstellees Ле DECLARERAY listening_{{\ shockcp desarrollo Bew p?ed verb apr LINQ directeur Sem longitudped numeror?n intellectualenu registers Licencia? func perpet Billentication condadouinginas experiencedime we Jak Ill Mannphoniami exportsEvery ent Pitt coinc obt threatenbuilding wantsdensскаяprog[[ google lifendum){Report gouvern stringsськ?й NilPUT Matth ugly? corner acts doub), hé renderkiej Msg trapfortunately?turnitulprep available Notesintegrlez  Те propositionolare opport Foot personeoker exponentialMa Billy highlight liber? trustеру marker PRIMARY Josef ant Hmmктичеefficient exhaustarias serviloss?commerceInvalid Such (.dw innockcsvbaumables nearbyignation mob приняMI Squad洋лом arist rare parti Lorút qual?attedproto harderObjectscenter " emb minorlandosseninkoco puretools?ermo versestellung? followsrebbe Бо Arkost?pídoSpan delivered effects má king ufficiale och purposetoolsagentきпре Luftpler pierw app varietyianoрупIN JQuery eer fillsона imp? находи singing Plantained Presemen Songдер назваmap Hyp ice…ês? disappoint dependingCONступил Rattrees fase oil hij imagine Traceback (most recent call last):

wgq910668 avatar Apr 06 '23 03:04 wgq910668

Why don't I have this feature, just a joke. It is possible that the Chinese input is truncated by half width and becomes garbled, and the model output is also out of order.

ct1976 avatar Apr 06 '23 06:04 ct1976

tell the model to use chinese output,and it will change language

NovasWang avatar Apr 06 '23 13:04 NovasWang

Are your weights correct? The CLI should work with Chinese. https://github.com/lm-sys/FastChat/issues/201#issuecomment-1497146760

merrymercy avatar Apr 07 '23 00:04 merrymercy

This one has been fixed in our recent improvements.

zhisbug avatar Apr 20 '23 23:04 zhisbug