-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add support for pushing embeddings/metadata to huggingface #79
Conversation
How does HF Hub handle auth? I think it (the HF API wrapper) has changed since I tried using it in OntoGPT and I don't know how it handles cases like private repos or personal vs. organization-managed repos. |
I think basically you use a user access token - haven't done it but shouldn't be hard |
It seems like Instead of forcing I suggest:
HuggingFaceAgent (uploading and storing data)
CLI
Let me know if you need help with the change! EDIT: we might need to change the peek logic, as currently this does not peek into embeddings, maybe a seperate all metadata peek would be beneficial for this |
Thank you @iQuxLE! This makes good sense. The HF adapter really probably shouldn't inherit from DBAdapter Could you make a PR on this PR with your suggested changes? |
@caufieldjh if this looks good, could we merge? |
Should work for now. Thanks! |
@cmungall @caufieldjh is this a reasonable way to do this?
Still a WIP, just planning the classes, methods, etc