ctransformers icon indicating copy to clipboard operation
ctransformers copied to clipboard

Streaming decode issue

Open lucasjinreal opened this issue 1 year ago • 3 comments

Hello, for llama when decoding Chinese or Japanese characters, since one character mgith need 2 or more tokens to decode, so when streaming, the chunk returned one token decode result is wrong,

image

is there a way to resolve this?

llama.cpp actually didn't have this issue.

lucasjinreal avatar Aug 29 '23 03:08 lucasjinreal