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:03:24 +02:00
|
|
|
### 1. Install PDM
|
|
|
|
```bash
|
|
|
|
curl -sSL https://pdm-project.org/install-pdm.py | python3 -
|
|
|
|
```
|
|
|
|
### 2. Go to the code directory and install dependencies
|
2024-10-20 13:08:40 +02:00
|
|
|
```bash
|
|
|
|
cd ./code
|
|
|
|
pdm install
|
2024-10-24 21:03:24 +02:00
|
|
|
```
|
|
|
|
### 3. Run training code
|
|
|
|
```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
|
|
|
```
|