Hugging Face's logo
hrmndev
/
Runtime error

runtime error

Exit code: 1. Reason: Loading Detoxify model... This may take a moment. Downloading: "https://github.com/unitaryai/detoxify/releases/download/v0.4-alpha/multilingual_debiased-0b549669.ckpt" to /home/user/.cache/torch/hub/checkpoints/multilingual_debiased-0b549669.ckpt 0%| | 0.00/1.04G [00:00<?, ?B/s] 37%|β–ˆβ–ˆβ–ˆβ–‹ | 392M/1.04G [00:01<00:01, 411MB/s] 74%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 784M/1.04G [00:02<00:00, 397MB/s] 74%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 787M/1.04G [00:02<00:00, 400MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 18, in <module> detoxify_model = Detoxify('multilingual') File "/usr/local/lib/python3.10/site-packages/detoxify/detoxify.py", line 104, in __init__ self.model, self.tokenizer, self.class_names = load_checkpoint( File "/usr/local/lib/python3.10/site-packages/detoxify/detoxify.py", line 41, in load_checkpoint loaded = torch.hub.load_state_dict_from_url(checkpoint_path, map_location=device) File "/usr/local/lib/python3.10/site-packages/torch/hub.py", line 871, in load_state_dict_from_url download_url_to_file(url, cached_file, hash_prefix, progress=progress) File "/usr/local/lib/python3.10/site-packages/torch/hub.py", line 748, in download_url_to_file buffer = u.read(READ_DATA_CHUNK) File "/usr/local/lib/python3.10/http/client.py", line 466, in read s = self.fp.read(amt) File "/usr/local/lib/python3.10/socket.py", line 717, in readinto return self._sock.recv_into(b) File "/usr/local/lib/python3.10/ssl.py", line 1307, in recv_into return self.read(nbytes, buffer) File "/usr/local/lib/python3.10/ssl.py", line 1163, in read return self._sslobj.read(len, buffer) BrokenPipeError: [Errno 32] Broken pipe

Container logs:

Fetching error logs...