[Could not locate the configuration_clip.py inside jinaai/jina-clip-implementation. ] i do not know what might be wrong
Could not locate the configuration_clip.py inside jinaai/jina-clip-implementation.
Traceback (most recent call last):
File "/root/anaconda3/envs/swift/lib/python3.8/site-packages/urllib3/connectionpool.py", line 779, in urlopen
self._prepare_proxy(conn)
File "/root/anaconda3/envs/swift/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1048, in _prepare_proxy
conn.connect()
File "/root/anaconda3/envs/swift/lib/python3.8/site-packages/urllib3/connection.py", line 633, in connect
self._tunnel() # type: ignore[attr-defined]
File "/root/anaconda3/envs/swift/lib/python3.8/http/client.py", line 905, in _tunnel
raise OSError("Tunnel connection failed: %d %s" % (code,
OSError: Tunnel connection failed: 503 Service Unavailable
hi
@chuangzhidian
seems it is a networking issue on your end, can you check to pull other models from huggingface? such as bert-base-uncased
sorry,seems to the "url" problem,changed the url,and it works:
(swift) root@gptai:/media/data/xgp/scripts# python jina.py
/root/anaconda3/envs/swift/lib/python3.8/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: resume_download
is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True
.
warnings.warn(
/media/data/llm/jina-clip-v1 ['A blue cat', 'A red cat']
0.5635971
-0.010447267
-0.05130618
-0.03714943
-0.039198972