Skip to content

uygarkurt/SFT-TinyLlama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instruct-Tune TinyLlama


Liked our work? give us a ⭐!

TThis repository contains an easy-to-use and understand code to instruct-tune, or SFT (supervised fine tuning) TinyLlama to create ChatGPT like chatbots (stateless).

I'll be using TinyLlama, however as stated in their repository it uses the same architecture as Llama 2. If you want to use Llama 2 it'll be probably fine.

We'll be using both Alpaca Dataset, and a custom dataset that we'll load from our local machine.

Prompt format we'll be using is

Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
{prompt}

### Input:
{context}

### Response:

There are lots of prompting formats. I explained detailly when to use which prompting format detailly in the video.

YouTube Tutorial

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published