Skip to content
This repository was archived by the owner on Feb 24, 2022. It is now read-only.

Commit 9044cf6

Browse files
authored
Update README.md
1 parent 32065b0 commit 9044cf6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

CodeSummarization/data/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
Data source: https://drive.google.com/file/d/14nHVljNMb37-tpOW59NaDY26T6z2BcXD/view?usp=sharing
44

55
## training procedure
6-
1. Extract the zip file in data/java
7-
2. Start training from scripts/java/transformer.sh
6+
1. Install the required library from requirements.txt file inside `CodeSummarization` directory (pip install requirements.txt).
7+
2. Download the data source from above link. Then extract the zip file inside data/java.
8+
3. Start training from scripts/java/transformer.sh
89
run this command
910
```bash
1011
transformer.sh 0 CoDescSum
1112
```
12-
3. After two epoch terminate the terminal.
13-
4. Rename 'train' folder to 'pretrain' and rename 'finetune' to 'train'
14-
5. Run this again
13+
4. After two epoch terminate the terminal.
14+
5. Rename 'train' folder to 'pretrain' and rename 'finetune' to 'train'
15+
6. Run this again
1516
```bash
1617
transformer.sh 0 CoDescSum
1718
```

0 commit comments

Comments
 (0)