Fine-tune Llama2 on Guanaco Dataset with Autotrain
Jimmy Rousseau
Author: Jimmy Rousseau | Published: 8/26/2023

Fine-tune Llama2 with Autotrain

Let's start by importing our required dependencies:

Let's go ahead and set things up:

Connect to our HuggingFace hub account:

Transform the dataset

The dataset is in the wrong format we will transform it to the proper template for training llama2 on:

Let's go ahead and push our new dataset to our HuggingFace account to be used for training.

Start by logging in:

Push the dataset to hub:

Finally let's kick off training & push to hub:

That's it. Check out the Google Colab Notebook by AI BrainBox