Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM DeepSpeed Example

Simple PoC to train CLM models from HuggingFace with DeepSpeed through the trainer integration. It'll work with any csv file with a text column. For configs refer to the integration or DeepSpeed docs.

Setup

pip install -r requirements.txt

Training

As simple as:

deepspeed train_clm.py --deepspeed <path_to_config> --data_path <path_to_csv>

Note that the arguments for the training script need to come after train_clm.py, otherwise they'd be treated as DeepSpeed arguments.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages