runtime error
ap_location) File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 1028, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 1246, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: could not find MARK During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 523, in load_state_dict if f.read(7) == "version": File "/usr/local/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 21: invalid start byte During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 8, in <module> model = AutoModel.from_pretrained(model_name) File "/home/user/.local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 566, in from_pretrained return model_class.from_pretrained( File "/home/user/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3393, in from_pretrained state_dict = load_state_dict(resolved_archive_file) File "/home/user/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 535, in load_state_dict raise OSError( OSError: Unable to load weights from pytorch checkpoint file for '/home/user/.cache/huggingface/hub/models--Funybubble--replit-code-instruct-quanatized/snapshots/c847327ecca5490707f2f68d7dae5dd20231dcc8/pytorch_model.bin' at '/home/user/.cache/huggingface/hub/models--Funybubble--replit-code-instruct-quanatized/snapshots/c847327ecca5490707f2f68d7dae5dd20231dcc8/pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.
Container logs:
Fetching error logs...