KarelDO / xmc.dspy

In-Context Learning for eXtreme Multi-Label Classification (XMC) using only a handful of examples.
MIT License
339 stars 19 forks source link

Failed to resolve 'future-hgx-1' #2

Closed hanw closed 5 months ago

hanw commented 5 months ago

There seems to be some hard-coded URL for a server named 'future-hgx-1' in dspy.

Running the run_irera.py script returns the following error:

Error for example in dev set:            HTTPConnectionPool(host='future-hgx-1', port=7143): Max retries exceeded with url: /generate (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7f0ae2c04fd0>: Failed to resolve 'future-hgx-1' ([Errno -3] Temporary failure in name resolution)"))
Error for example in dev set:            HTTPConnectionPool(host='future-hgx-1', port=7141): Max retries exceeded with url: /generate (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7f0ae2c05f00>: Failed to resolve 'future-hgx-1' ([Errno -3] Temporary failure in name resolution)"))
Error for example in dev set:            HTTPConnectionPool(host='future-hgx-1', port=7143): Max retries exceeded with url: /generate (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7f0ae2c62140>: Failed to resolve 'future-hgx-1' ([Errno -3] Temporary failure in name resolution)"))
KarelDO commented 5 months ago

Hi @hanw , I've updated the readme with an explanation of how to host your local models. Hope this helps!

https://github.com/KarelDO/xmc.dspy/commit/fe82e340b1f528c413f470ac707bd680ada15ec7

KarelDO commented 5 months ago

Following-up, there are now instructions in the readme which allow you to rerun all our results without an API key or without a local language model.