just a demo for me to learn more about LLMs with a friend
our end goal is just to have it usable by friends in a discord bot integration
current goal is to fine tune a pretrained LLM to learn more about LLMs
First, you need to install the dependencies
You can install them in a conda environment or by using pip with a native python environment
conda create -n [env_name] python=3.11 anaconda::transformers huggingface::datasets evaluate sacrebleu
: replace [env_name] with any name you wantconda activate [env_name]
: you will have to run this to activate the environmentconda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
- There may be some trouble with the transformers, so you may also have to install transformers using pip
pip install git+https://github.com/huggingface/transformers
pip install transformers datasets evaluate sacrebleu
To run the training script, type python train.py