-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HF demo #117
Comments
Hi @mahmoudaymo , Following the More class-specific documentation can be found within Let me know if that helps or if you have any additional questions! |
Thank you very much, this is very helpful. I will close the issue. |
Hi again, I followed the instruction from docs/using_local_models.md: I got this error: AttributeError Traceback (most recent call last) AttributeError: module 'dspy' has no attribute 'HFModel'Then what I did is importing HFModel form dsp as follow: I got the following erro: TypeError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/dsp/modules/hf.py in init(self, model, checkpoint, is_client, hf_device_map) TypeError: 'NoneType' object is not subscriptableit seems that architectures is not part of model config. |
Thanks @mahmoudaymo ! @arnavsinghvi11 is looking into this |
Hi @mahmoudaymo You are correct in that I would actually suggest the following pivots to overcome this:
Some key notes to keep in mind: Please let me know if you have any additional questions! |
Thank you very much @arnavsinghvi11. The issue is solved and I will close the issue. |
Hi, |
Could you please add some demos on how to use the huggingface models locally and on the server. I am struggling on how to use them.
The text was updated successfully, but these errors were encountered: