Downloading models
General Introduction
Last updated
This documentation is for the Axolotl community
General Introduction
Last updated
We can download the model to our local host from the Huggingface Model Hub.
If you are unfamiliar with the Huggingface Model Hub, the Youtube video below provides a rundown.
Model cards are files that accompany the models and provide handy information.
Under the hood, model cards are simple Markdown files with additional metadata.
Model cards are essential for discoverability, reproducibility, and sharing. You can find a model card as the README.md
file in any model repository.
The model card should describe:
the model
its intended uses and potential limitations, including biases and ethical considerations
the training parameters and experimental info
which datasets were used to train your model
the model’s evaluation results
The Hugging Face Hub provides several ways to download and use models, depending on your requirements and the tools you are using. This documentation will guide you through the different methods available.
All models on the Model Hub are stored as Git repositories, which means you can clone them locally using Git commands. To clone a model, follow these steps:
If you have not already, install Git LFS (Large File Storage) by running:
Clone the model repository using the following command:
Replace <MODEL ID>
with the actual model ID. For example:
If you have write access to a particular model repository, you can also commit and push revisions to the model.
By following these methods, you can easily download and use models from the Hugging Face Hub in your projects, whether you're using integrated libraries, the Hugging Face Client Library, or Git directly.