LivingTheCode.Life
  • Data Structures
  • Algorithms
  • Machine Learning
  • Categories
  • GitHub
GitHub
Twitter
Created By LifeOfCoding
Find me on:
Fine-tune Llama2 on Guanaco Dataset with Autotrain
Jimmy Rousseau
Author: Jimmy Rousseau | Published: 8/26/2023
Machine Learning

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

Articles:
Vehicle Price Prediction
Fine-tune Mistral 7B with autotrain
Refine Image Generation with refinement models
SDLX ControlNet Image Shape Shifting
Dealing with missing values in Datasets
Fine-tune Llama2 on Guanaco Dataset with Autotrain
Fine-tune Llama2 with GPT Generated Dataset
Pandas Helper Functions
Pandas Grouping & Sorting Helpers
Intro to Pandas