LLAMA-2 🦙: EASIET WAY To FINE-TUNE ON YOUR DATA 🙌

30 Jul 2023 · 14 min
14:15

This is a narrated YouTube tutorial (by LARRUZ) demonstrating how to fine-tune a Llama 2 family model on custom data using Hugging Face's Auto Train Advanced package, primarily via Google Colab. The video walks through installing the package, authenticating with a Hugging Face token, constructing the single-line autotrain command (flags like --model, --data_path, --usepeft, --trainer), dataset formatting (Alpaca and Open Assistant examples), and key training settings (batch size, epochs, learning rate, max length), then shows expected outputs and how to push the resulting model to the Hugging Face Hub.

Questions this video answers

Python > 3.8

Yes — an NVIDIA GPU is required to fine tune a model locally (Colab GPU recommended if you lack local GPU).

A CSV-formatted dataset (Auto Train expects dataset files in CSV; provide the folder path, not the filename).

~52,000 rows/examples.

~10,000 examples.

Chapters

More from LARRUZ

8:49
youtube.com

OpenAI’s New AI Is Doing Things We Barely Understand

3d ago
5:38
youtube.com

DeepSeek Solved AI’s Memory Problem

5d ago
33:17
youtube.com

DeepMind's New AI Just Cracked The Code Of Life

1w ago
3:43
youtube.com

The Billion Dollar AI Advantage Is Disappearing

1w ago
5:14
youtube.com

Claude Opus 5.5 AI: An Incredible Leap Forward

3w ago
5:16
youtube.com

Yes, Jev Is Insane, But There's A Catch

3w ago
5:11
youtube.com

DeepSeek’s Insane New Architecture

4w ago
4:16
youtube.com

Claude Is Now Leaving Invisible Fingerprints In Its Text

1mo ago
9:18
youtube.com

I Never Thought I’d See This Happen

1mo ago
5:22
youtube.com

GPT-6 Astra Changes Everything

1mo ago
4:55
youtube.com

Claude Fable AI Is Much Stranger Than The Headlines Suggest

1mo ago
See all content