msc-patryk-bartkowiak/code
2025-01-07 15:59:30 +00:00
..
data redesigned code, added functions and granularity 2024-10-21 20:05:56 +00:00
models redesigned code, added functions and granularity 2024-10-21 20:05:56 +00:00
src prepared for run by prof Filip Gralinski (done) 2025-01-07 15:59:30 +00:00
.gitignore redesigned code, added functions and granularity 2024-10-21 20:05:56 +00:00
pyproject.toml tree-starencoder working (linear layer instead of alpha beta gamma) 2024-12-18 19:48:06 +00:00
README.md prepared for run by prof Filip Gralinski 2025-01-07 11:45:55 +00:00

Magisterka - Patryk Bartkowiak

Required dependencies for the repository to work properly

How to run the training?

Note: You have to be in ./code/ directory

1. Install PDM

curl -sSL https://pdm-project.org/install-pdm.py | python3 -

2. Update $PATH

export PATH=/root/.local/bin:$PATH

3. Install dependencies

pdm install

4. Run training code

pdm train

Required secrets

export HF_TOKEN=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
export WANDB_API_KEY=313671f10f2a389b3171b32da8d4abdad91aaa7c