-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Huggingface hub integration 5545 #5930
Huggingface hub integration 5545 #5930
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5930 +/- ##
==========================================
+ Coverage 87.16% 87.18% +0.02%
==========================================
Files 418 419 +1
Lines 22789 22838 +49
==========================================
+ Hits 19863 19912 +49
Misses 2926 2926
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This looks great. Happy to fine-tune it in later PRs as well.
I think so. Currently, we are creating a new model while I would prefer something like
I think it should live in
I think the default one works for now. Happy to fine-tune it in later PRs if that is possible. Please feel free to get creative :)
I am not sure. Let's go with a basic version first. |
Hi @rusty1s I have converted the integration to a mixin, and added an example -- is this more along the lines of what you are thinking of? |
Thanks, this is super cool. Wondering how we can integrate a basic test for this. Any idea? |
I am thinking of a simple version of https://github.com/huggingface/huggingface_hub/blob/main/tests/test_hubmixin.py ? Since ours is based on what they've done for the pytorch mixin? |
…-5545' into feat-huggingface-hub-integration-5545
Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com>
Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com>
for more information, see https://pre-commit.ci
…hub-integration-5545
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @wwymak for the great work. Will merge after tests pass.
This is an initial draft of what the wrapper could look like.
Some questions I have:
@rusty1s would be great if you comment :)
The screenshot is an example of what it currently looks like if you use the wrapper to upload to huggingface model hub