Colabtune
Model tuning in colab
Note: this notebook is intended as a demonstration that finetuning can be done in a free colab tier. If you need to train a large model on a sizable dataset, you should consider upgrading to a pro tier and getting more resources. Otherwise, the training will take impractically long time. If you don't use a large enough model or tune on insufficient number of sampes, the quality won't be good.
Environment setup
Make sure that you are connected to a GPU host.
Check out the cook book code from github.
Install required dependencies.
Log into huggingface. For that, you will need a huggingface token. You can find it by going to https://huggingface.co/settings/tokens If you are running a recipe that uses llama2 models, don't forget to sign the license agreement on the model card.