updated README
This commit is contained in:
parent
3f116b583d
commit
0831a12a86
@ -1,14 +1,24 @@
|
|||||||
# codebert-training
|
# Magisterka - Patryk Bartkowiak
|
||||||
|
|
||||||
This code is used to train CodeBERT
|
|
||||||
|
|
||||||
## Required dependencies for the repository to work properly
|
## Required dependencies for the repository to work properly
|
||||||
* [Git](https://git-scm.com/)
|
* [Git](https://git-scm.com/)
|
||||||
* [PDM](https://pdm-project.org/en/latest/)
|
* [PDM](https://pdm-project.org/en/latest/)
|
||||||
|
|
||||||
## How to run the training?
|
## How to run the training?
|
||||||
|
### 1. Install PDM
|
||||||
|
```bash
|
||||||
|
curl -sSL https://pdm-project.org/install-pdm.py | python3 -
|
||||||
|
```
|
||||||
|
### 2. Go to the code directory and install dependencies
|
||||||
```bash
|
```bash
|
||||||
cd ./code
|
cd ./code
|
||||||
pdm install
|
pdm install
|
||||||
|
```
|
||||||
|
### 3. Run training code
|
||||||
|
```bash
|
||||||
pdm run_training
|
pdm run_training
|
||||||
```
|
```
|
||||||
|
or
|
||||||
|
```
|
||||||
|
pdm run src/train_codebert_mlm.py
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user