FastChat
FastChat copied to clipboard
`TypeError: not a string` after pressing to special characters use delete
今天(2023年6月29日)星期几为星期四。
USER: 而且4月6号是 星期四 # --> 是{ }星, here is not space, after pressing to special characters use delete, throws an error
│ py:316 in _EncodeAsPieces │
│ │
│ 313 │ │ return _sentencepiece.SentencePieceProcessor__EncodeAsIds(self, text, enable_sam │
│ 314 │ │
│ 315 │ def _EncodeAsPieces(self, text, enable_sampling, nbest_size, alpha, add_bos, add_eos │
│ ❱ 316 │ │ return _sentencepiece.SentencePieceProcessor__EncodeAsPieces(self, text, enable_ │
│ 317 │ │
│ 318 │ def _EncodeAsSerializedProto(self, text, enable_sampling, nbest_size, alpha, add_bos │
│ 319 │ │ return _sentencepiece.SentencePieceProcessor__EncodeAsSerializedProto(self, text │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: not a string
After pressing to special characters use delete, throws an error.
Same errors here.
@FANGOD Could you help us to fix it?
@FANGOD Could you help us to fix it?你能帮我们解决它吗?
Sorry, I'm very busy recently, I will solve it when I have time.
ASSISTANT: Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/FastChat/fastchat/serve/cli.py", line 280, in
when I use "lmsys/vicuna-13b-v1.5-16k" model, I have the same question and hope it can be resolved as soon as possible.
Any news on this? Keep having this error and the issue its pretty old...
same issue here