In this page, we will show you how to share a model you have trained or fine-tuned on new data with the community on
the model hub.
You will need to create an account on huggingface.co for this.
Optionally, you can join an existing organization or create a new one.
We have seen in the training tutorial: how to fine-tune a model on a given task. You have probably
done something similar on your task, either using the model fit() method, directly in your own training loop or using the
[Trainer] class. Let's see how you can share the result on the
model hub.
Model versioning
Since version v3.5.0, the model hub has built-in model versioning based on git and git-lfs. It is based on the paradigm
that one model is one repo.
This allows:
built-in versioning
access control
scalability
This is built around revisions, which is a way to pin a specific version of a model, using a commit hash, tag or
