msc-patryk-bartkowiak/code/README.md

28 lines
563 B
Markdown
Raw Normal View History

2024-10-24 21:03:24 +02:00
# Magisterka - Patryk Bartkowiak
2024-10-20 13:08:40 +02:00
## 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?
2024-10-24 21:04:59 +02:00
### ***Note: You have to be in `./code/` directory***
2024-10-24 21:03:24 +02:00
### 1. Install PDM
```bash
curl -sSL https://pdm-project.org/install-pdm.py | python3 -
```
2024-10-24 21:10:27 +02:00
### 2. Update `$PATH`
```bash
export PATH=/root/.local/bin:$PATH
```
### 3. Install dependencies
2024-10-20 13:08:40 +02:00
```bash
pdm install
2024-10-24 21:03:24 +02:00
```
2024-10-24 21:10:27 +02:00
### 4. Run training code
2024-10-24 21:03:24 +02:00
```bash
2024-10-20 13:08:40 +02:00
pdm run_training
2024-10-24 21:03:24 +02:00
```
or
```
pdm run src/train_codebert_mlm.py
2024-10-20 13:08:40 +02:00
```