msc-patryk-bartkowiak/code/README.md
Patryk Bartkowiak 0376f74833 updated README
2024-10-24 19:10:27 +00:00

28 lines
563 B
Markdown

# 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 run_training
```
or
```
pdm run src/train_codebert_mlm.py
```