# Magisterka - Patryk Bartkowiak ## Required dependencies for the repository to work properly * [Git](https://git-scm.com/) * [PDM](https://pdm-project.org/en/latest/) ## How to run the training? ### ***Note: You have to be in `./code/` directory*** ### 1. Install PDM ```bash curl -sSL https://pdm-project.org/install-pdm.py | python3 - ``` ### 2. Update `$PATH` ```bash export PATH=/root/.local/bin:$PATH ``` ### 3. Install dependencies ```bash pdm install ``` ### 4. Run training code ```bash pdm train ``` ## Required secrets ``` export HF_TOKEN=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 export WANDB_API_KEY=313671f10f2a389b3171b32da8d4abdad91aaa7c ```