You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/aa51e62ddc9c9f334858b0af44cf59b05c70148a/tokenization_chatglm.py", line 268, in _decode
return self.sp_tokenizer.decode(token_ids)
File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/aa51e62ddc9c9f334858b0af44cf59b05c70148a/tokenization_chatglm.py", line 117, in decode
text = self._get_text_tokenizer().decode(ids)
File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/aa51e62ddc9c9f334858b0af44cf59b05c70148a/tokenization_chatglm.py", line 29, in decode
return self.sp.DecodeIds(ids)
File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 837, in DecodeIds
return self.Decode(input=input, out_type=out_type, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 780, in Decode
return self._DecodeIds(input)
File "/opt/conda/lib/python3.10/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.
Expected Behavior
No response
Steps To Reproduce
..
Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/aa51e62ddc9c9f334858b0af44cf59b05c70148a/tokenization_chatglm.py", line 268, in _decode
return self.sp_tokenizer.decode(token_ids)
File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/aa51e62ddc9c9f334858b0af44cf59b05c70148a/tokenization_chatglm.py", line 117, in decode
text = self._get_text_tokenizer().decode(ids)
File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm-6b/aa51e62ddc9c9f334858b0af44cf59b05c70148a/tokenization_chatglm.py", line 29, in decode
return self.sp.DecodeIds(ids)
File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 837, in DecodeIds
return self.Decode(input=input, out_type=out_type, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 780, in Decode
return self._DecodeIds(input)
File "/opt/conda/lib/python3.10/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.
Expected Behavior
No response
Steps To Reproduce
..
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: