Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/datvodinh/llm-trainer

Finetuning script for Llama 3 in different tasks, using Unsloth and PEFT
https://github.com/datvodinh/llm-trainer

Last synced: about 18 hours ago
JSON representation

Finetuning script for Llama 3 in different tasks, using Unsloth and PEFT

Awesome Lists containing this project

README

        

# Finetuning script for Llama 3 in different tasks, using Unsloth and PEFT

## Spec

- ~ 9Gb VRAM (Batch size 2, Accumulate Grad 4)

## Setup

### Colab and Local

```bash
source scripts/setup_colab.sh
```

### Kaggle

```bash
source scripts/setup_kaggle.sh
```

## Train

### Function Calling

```bash
source scripts/train_function_calling.sh \
--hf_username \
--hf_token \
--wandb_token
```

### Instruction

- Coming Soon

## Todo

- [ ] Instruction Fine-tuning.
- [ ] DPO Trainer.
- [ ] Custom dataset for different task.