This repo is for training LM easily.
- Nvida Docker Image is needed. Use Dockerfile.
- Use requirements.txt
pip install -U -r requirements.txt
or
- You can use huggingface docker image from Dockerhub https://hub.docker.com/r/huggingface/transformers-all-latest-torch-nightly-gpu
- Install deepspeed
pip install -U deepspeed
- A100(VRAM 80GB) x 8
- KoAlpaca (https://github.com/Beomi/KoAlpaca)
- trl (https://github.com/huggingface/trl)
- transformers (https://github.com/huggingface/transformers)