Loosely following tutorial located here: https://www.freecodecamp.org/news/discord-ai-chatbot/
- Run
clean_data.py
to create the csv if it is not already there. pip install -r requirements.txt
python create_dialog_model.py
orpython create_dialog_model_nv.py
if you have an Nvidia GPU with CUDA installed.python test_bot.py
Once the dialog model is complete, create a HuggingFace repository and push the file contents there.
cd ouput-<size>
pip install huggindface_hub
huggingface-cli login
huggindface-cli repo create <name of repo>
git lfs install
git remote add origin <link to huggindface repo>
git lfs migrate import --include="*.bin" --everything
git add .
&git commit "message"
git push origin main