Spaces:
Runtime error
Runtime error
runtime error
Space not ready. Reason: Error, exitCode: 1, message: None
Container logs:
Downloading (…)okenizer_config.json: 0%| | 0.00/617 [00:00<?, ?B/s]
Downloading (…)okenizer_config.json: 100%|██████████| 617/617 [00:00<00:00, 178kB/s]
Downloading (…)olve/main/vocab.json: 0%| | 0.00/798k [00:00<?, ?B/s]
Downloading (…)olve/main/vocab.json: 100%|██████████| 798k/798k [00:00<00:00, 105MB/s]
Downloading (…)olve/main/merges.txt: 0%| | 0.00/456k [00:00<?, ?B/s]
Downloading (…)olve/main/merges.txt: 100%|██████████| 456k/456k [00:00<00:00, 114MB/s]
Downloading (…)/main/tokenizer.json: 0%| | 0.00/1.36M [00:00<?, ?B/s]
Downloading (…)/main/tokenizer.json: 100%|██████████| 1.36M/1.36M [00:00<00:00, 179MB/s]
Downloading (…)cial_tokens_map.json: 0%| | 0.00/357 [00:00<?, ?B/s]
Downloading (…)cial_tokens_map.json: 100%|██████████| 357/357 [00:00<00:00, 323kB/s]
Downloading (…)lve/main/config.json: 0%| | 0.00/893 [00:00<?, ?B/s]
Downloading (…)lve/main/config.json: 100%|██████████| 893/893 [00:00<00:00, 721kB/s]
Downloading (…)22%3B&x-id=GetObject: 0%| | 0.00/1.44G [00:00<?, ?B/s]
Downloading (…)22%3B&x-id=GetObject: 1%| | 10.5M/1.44G [01:01<2:21:11, 169kB/s]
Downloading (…)22%3B&x-id=GetObject: 1%| | 10.5M/1.44G [01:19<2:21:11, 169kB/s]
Downloading (…)22%3B&x-id=GetObject: 1%|▏ | 21.0M/1.44G [02:00<2:16:18, 174kB/s]
Downloading (…)22%3B&x-id=GetObject: 1%|▏ | 21.0M/1.44G [02:19<2:16:18, 174kB/s]
Downloading (…)22%3B&x-id=GetObject: 2%|▏ | 31.5M/1.44G [02:49<2:03:26, 191kB/s]
Downloading (…)22%3B&x-id=GetObject: 2%|▏ | 31.5M/1.44G [03:09<2:03:26, 191kB/s]
Downloading (…)22%3B&x-id=GetObject: 3%|▎ | 41.9M/1.44G [04:00<2:16:08, 172kB/s]
Downloading (…)22%3B&x-id=GetObject: 3%|▎ | 41.9M/1.44G [04:19<2:16:08, 172kB/s]
Downloading (…)22%3B&x-id=GetObject: 4%|▎ | 52.4M/1.44G [05:04<2:17:35, 169kB/s]
Downloading (…)22%3B&x-id=GetObject: 4%|▎ | 52.4M/1.44G [05:19<2:17:35, 169kB/s]
Downloading (…)22%3B&x-id=GetObject: 4%|▍ | 62.9M/1.44G [06:00<2:12:22, 174kB/s]
Downloading (…)22%3B&x-id=GetObject: 4%|▍ | 62.9M/1.44G [06:19<2:12:22, 174kB/s]
Downloading (…)22%3B&x-id=GetObject: 5%|▌ | 73.4M/1.44G [06:59<2:10:00, 176kB/s]
Downloading (…)22%3B&x-id=GetObject: 5%|▌ | 73.4M/1.44G [07:19<2:10:00, 176kB/s]
Downloading (…)22%3B&x-id=GetObject: 6%|▌ | 83.9M/1.44G [07:51<2:03:49, 183kB/s]
Downloading (…)22%3B&x-id=GetObject: 6%|▌ | 83.9M/1.44G [08:09<2:03:49, 183kB/s]
Downloading (…)22%3B&x-id=GetObject: 7%|▋ | 94.4M/1.44G [08:28<1:49:43, 205kB/s]
Downloading (…)22%3B&x-id=GetObject: 7%|▋ | 94.4M/1.44G [08:39<1:49:43, 205kB/s]
Downloading (…)22%3B&x-id=GetObject: 7%|▋ | 105M/1.44G [10:05<2:18:45, 161kB/s]
Downloading (…)22%3B&x-id=GetObject: 7%|▋ | 105M/1.44G [10:19<2:18:45, 161kB/s]
Downloading (…)22%3B&x-id=GetObject: 8%|▊ | 115M/1.44G [12:12<2:57:46, 125kB/s]
Downloading (…)22%3B&x-id=GetObject: 8%|▊ | 115M/1.44G [12:29<2:57:46, 125kB/s]
Downloading (…)22%3B&x-id=GetObject: 8%|▊ | 120M/1.44G [13:03<3:07:49, 118kB/s]
Downloading (…)22%3B&x-id=GetObject: 8%|▊ | 120M/1.44G [13:03<2:24:11, 153kB/s]
Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/transformers/modeling_utils.py", line 415, in load_state_dict
return torch.load(checkpoint_file, map_location="cpu")
File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 777, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 282, in __init__
super(_open_zipfile_reader, self).__init__(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/transformers/modeling_utils.py", line 419, in load_state_dict
if f.read(7) == "version":
File "/usr/local/lib/python3.8/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 64: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "app.py", line 6, in <module>
model = AutoModelForCausalLM.from_pretrained("ericzhou/DialoGPT-Medium-Rick_v2")
File "/home/user/.local/lib/python3.8/site-packages/transformers/models/auto/auto_factory.py", line 464, in from_pretrained
return model_class.from_pretrained(
File "/home/user/.local/lib/python3.8/site-packages/transformers/modeling_utils.py", line 2301, in from_pretrained
state_dict = load_state_dict(resolved_archive_file)
File "/home/user/.local/lib/python3.8/site-packages/transformers/modeling_utils.py", line 431, in load_state_dict
raise OSError(
OSError: Unable to load weights from pytorch checkpoint file for '/home/user/.cache/huggingface/hub/models--ericzhou--DialoGPT-Medium-Rick_v2/snapshots/61a36944dbe5d692bf8640d4b39997b78bc28980/pytorch_model.bin' at '/home/user/.cache/huggingface/hub/models--ericzhou--DialoGPT-Medium-Rick_v2/snapshots/61a36944dbe5d692bf8640d4b39997b78bc28980/pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.