Huggingface model
I Have been contributing to theDevowormorganization in hugging face, and have hosted their demo models in hugging face spaces but want to create a hugging face model in the model hub, but I am not sure how to make one.could anyone pls tell me the difference between hugging face spaces and model hub, and help out in making a model forDevowormorg in hugging face?
2023-04-20T23:23:50Z
hi@sushmanth,Spaces is a platform for hosting and sharing ML demos and apps. Many of the apps in Spaces require running ML inference, which involves loading a model. TheModel Hubserves as a repository for model checkpoints and can be integrated using the Transformers or Diffusers library, for example, or by using our Hugging Face Hub library to retrieve repository data.huggingface.coDownloading modelsWe’re on a journey to advance and democratize artificial intelligence through open source and open science.You can learn more about our ecosystem here:huggingface.coHugging Face Hub documentationWe’re on a journey to advance and democratize artificial intelligence through open source and open science.For example, you could store a reusable model heredevoworm-group/Devolearn · Hugging Faceand load on your python code viafrom huggingface_hub import REDACTED_TOKEN_download

model_file = REDACTED_TOKEN_download(repo_id="devoworm-group/Devolearn", filename='USEFUL_FILE")
# do somthing with model_file