runtime error
Exit code: 1. Reason: 0%| | 0.00/17.0k [00:00<?, ?B/s][A tokenization_chatglm.py: 100%|██████████| 17.0k/17.0k [00:00<00:00, 43.7MB/s] [transformers] A new version of the following files was downloaded from https://huggingface.co/THUDM/chatglm-6b: - tokenization_chatglm.py . Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision. ice_text.model: 0%| | 0.00/2.71M [00:00<?, ?B/s][A ice_text.model: 100%|██████████| 2.71M/2.71M [00:00<00:00, 4.42MB/s] Traceback (most recent call last): File "/app/app.py", line 4, in <module> tokenizer = AutoTokenizer.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/tokenization_auto.py", line 890, in from_pretrained return tokenizer_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1747, in from_pretrained return cls._from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1943, in _from_pretrained tokenizer = cls(*init_inputs, **init_kwargs) File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm_hyphen_6b/bf0f5cfb575eebebf9b655c5861177acfee03f16/tokenization_chatglm.py", line 196, in __init__ super().__init__( File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_python.py", line 448, in __init__ self._add_tokens( File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_python.py", line 550, in _add_tokens current_vocab = self.get_vocab().copy() File "/root/.cache/huggingface/modules/transformers_modules/THUDM/chatglm_hyphen_6b/bf0f5cfb575eebebf9b655c5861177acfee03f16/tokenization_chatglm.py", line 248, in get_vocab vocab = {self._convert_id_to_token(i): i for i in range(self.vocab_size)} TypeError: 'property' object cannot be interpreted as an integer
Container logs:
Fetching error logs...