Open nateraw opened 1 year ago
This is amazing, thanks so much @nateraw!! :)
My pleasure! The app currently has a GPU added to it for now for faster inference.
WDYT about sharing the models on the Hub? 😄 Anything I can do to help there?
Hey @nateraw ,
Thanks for your efforts for the 🤗Spaces Demo!! I researched a bit on the huggingface demo and it seems that I need to port the model to 🤗Transformers (https://huggingface.co/docs/transformers/add_new_model) IIRC (or if there is any alternative solution, let me know). I might have the bandwidth to work on this in the next couple of weeks. I will keep you posted!
Best, Yue
Hey there, there's actually no need to port to Transformers if that's too much of a time commitment.
All you need to do is:
huggingface_hub.upload_file
or huggingface_hub.upload_folder
README.md
file in your repo).
Model.from_pretrained('username/repo-id')
. Under the hood you'd use huggingface_hub.hf_hub_download
.Happy to answer any other questions you may have :)
Hey there, it would be really cool if the models/a demo were included in the
facebook
org on Hugging Face!Also, it would be really cool to host a good demo of LaViLa on Spaces as well 😄 . I started a demo here... it's currently running on CPU, but if you're interested, we can move to
facebook
org and apply a GPU to the demo so more folks can try it out quickly.Let me know if there's anything I can do to help 🤗