yehonathanlitman / MaterialFusion

Apache License 2.0
44 stars 0 forks source link

Release MaterialFusion on Hugging Face #2

Open NielsRogge opened 7 hours ago

NielsRogge commented 7 hours ago

Hello @yehonathanlitman 🤗

I'm Niels and work as part of the open-source team at Hugging Face. I discovered it through AK's daily papers: https://huggingface.co/papers/2409.15273. The paper page lets people discuss about your paper and lets them find artifacts about it (your model for instance) you can also claim the paper as yours which will show up on your public profile at HF.

Would you like to host the model you've pre-trained on https://huggingface.co/models, rather than Google Drive? Hosting on Hugging Face will give you more visibility/improve discoverability. We can add tags in the model cards so that people find the models easier, link it to the paper page, etc.

If you're down, leaving a guide here. If it's a PyTorch model, you can use PyTorchModelHubMixin class which adds from_pretrained and push_to_hub to the model which lets you to upload the model and people to download and use models right away. If you do not want this and directly want to upload model through UI or however you want, people can also use hf_hub_download.

After uploaded, we can also link the models to the paper page (read here) so people can discover your model.

You can also build a demo to your model on Spaces we can provide you an A100 grant.

What do you think?

yehonathanlitman commented 5 hours ago

Thank you for the suggestions Niels! I think it's a good idea to upload the models on HF using PyTorchModelHubMixin and I can make a simple demo. Any instructions about hosting the demo and getting the A100 grant?

NielsRogge commented 5 hours ago

Regarding hosting the demo, you can go to https://huggingface.co/new-space, and then select Gradio as SDK. See also https://huggingface.co/learn/cookbook/en/enterprise_cookbook_gradio for a tutorial.

Pinging @merveenoyan regarding the grant.