runtime error

ttps://huggingface.co/Salesforce/xgen-7b-8k-base: - tokenization_xgen.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. Traceback (most recent call last): File "/home/user/app/app.py", line 5, in <module> tokenizer = AutoTokenizer.from_pretrained("Salesforce/xgen-7b-8k-base", trust_remote_code=True) File "/home/user/.local/lib/python3.10/site-packages/transformers/models/auto/tokenization_auto.py", line 738, in from_pretrained return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2017, in from_pretrained return cls._from_pretrained( File "/home/user/.local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2249, in _from_pretrained tokenizer = cls(*init_inputs, **init_kwargs) File "/home/user/.cache/huggingface/modules/transformers_modules/Salesforce/xgen-7b-8k-base/d61d475828167804eb4600bc3c4c37bd3ba6f417/tokenization_xgen.py", line 137, in __init__ super().__init__( File "/home/user/.local/lib/python3.10/site-packages/transformers/tokenization_utils.py", line 367, in __init__ self._add_tokens( File "/home/user/.local/lib/python3.10/site-packages/transformers/tokenization_utils.py", line 467, in _add_tokens current_vocab = self.get_vocab().copy() File "/home/user/.cache/huggingface/modules/transformers_modules/Salesforce/xgen-7b-8k-base/d61d475828167804eb4600bc3c4c37bd3ba6f417/tokenization_xgen.py", line 154, in get_vocab vocab = {self.encoder.decode_single_token_bytes(i): i for i in range(self.vocab_size)} File "/home/user/.cache/huggingface/modules/transformers_modules/Salesforce/xgen-7b-8k-base/d61d475828167804eb4600bc3c4c37bd3ba6f417/tokenization_xgen.py", line 150, in vocab_size return self.encoder.n_vocab AttributeError: 'XgenTokenizer' object has no attribute 'encoder'. Did you mean: 'encode'?

Container logs:

Fetching error logs...