File "/software/anaconda3/envs/chatglm/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 3476, in decode
return self._decode(
File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/9324de70a93207c9a310cf99d5d6261791489691/tokenization_chatglm.py", line 262, in _decode
return self.sp_tokenizer.decode(token_ids)
File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/9324de70a93207c9a310cf99d5d6261791489691/tokenization_chatglm.py", line 117, in decode
text = self._get_text_tokenizer().decode(ids)
File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/9324de70a93207c9a310cf99d5d6261791489691/tokenization_chatglm.py", line 29, in decode
return self.sp.DecodeIds(ids)
File "/software/anaconda3/envs/chatglm/lib/python3.8/site-packages/sentencepiece/init.py", line 837, in DecodeIds
return self.Decode(input=input, out_type=out_type, **kwargs)
File "/software/anaconda3/envs/chatglm/lib/python3.8/site-packages/sentencepiece/init.py", line 780, in Decode
return self._DecodeIds(input)
File "/software/anaconda3/envs/chatglm/lib/python3.8/site-packages/sentencepiece/init.py", line 337, in _DecodeIds
return _sentencepiece.SentencePieceProcessor__DecodeIds(self, ids)
IndexError: Out of range: piece id is out of range.
(chatglm) root@ls-System-Product-Name:/home/xl/Chatglm6b_ModelParallel_ptuning# ^C
File "/software/anaconda3/envs/chatglm/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 3476, in decode return self._decode( File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/9324de70a93207c9a310cf99d5d6261791489691/tokenization_chatglm.py", line 262, in _decode return self.sp_tokenizer.decode(token_ids) File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/9324de70a93207c9a310cf99d5d6261791489691/tokenization_chatglm.py", line 117, in decode text = self._get_text_tokenizer().decode(ids) File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/9324de70a93207c9a310cf99d5d6261791489691/tokenization_chatglm.py", line 29, in decode return self.sp.DecodeIds(ids) File "/software/anaconda3/envs/chatglm/lib/python3.8/site-packages/sentencepiece/init.py", line 837, in DecodeIds return self.Decode(input=input, out_type=out_type, **kwargs) File "/software/anaconda3/envs/chatglm/lib/python3.8/site-packages/sentencepiece/init.py", line 780, in Decode return self._DecodeIds(input) File "/software/anaconda3/envs/chatglm/lib/python3.8/site-packages/sentencepiece/init.py", line 337, in _DecodeIds return _sentencepiece.SentencePieceProcessor__DecodeIds(self, ids) IndexError: Out of range: piece id is out of range. (chatglm) root@ls-System-Product-Name:/home/xl/Chatglm6b_ModelParallel_ptuning# ^C