Skip to content

kotoba-tech/kotoba-recipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotoba Recipes

Table of Contents

  1. Installation
  2. Instruction Tuning
  3. LLM Continual Pre-Training

Installation

To install the package, run the following command:

pip install -r requirements.txt

If you want to use the library in multi-nodes, you need to install the below packages:

module load openmpi/4.x.x

pip install mpi4py

FlashAttention

To install the FlashAttention, run the following command: (GPU is required)

pip install ninja packaging wheel
pip install flash-attn --no-build-isolation

ABCI

If you use ABCI to run the experiments, install scripts are available in kotoba-recipes/install.sh.

Instruction Tuning

scripts/abci/instruction contains the scripts to run instruction tunings on ABCI.

LLM Continual Pre-Training

Docs is coming soon.

About

Support Continual pre-training & Instruction Tuning forked from llama-recipes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published