Skip to content

Commit 9a2418b

Browse files
committed
Updated some Descriptions
1 parent 2c2b991 commit 9a2418b

8 files changed

+11
-13
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM nvcr.io/nvidia/pytorch:20.01-py3
22

3-
LABEL maintainer="L.H.Applis@tu-delft.nl"
3+
LABEL maintainer="L.H.Applis@tudelft.nl"
44
LABEL name="ciselab/codebert-code2text"
55
LABEL url="https://github.com/ciselab/CodeBert-CodeToText-Reproduction"
66
LABEL vcs="https://github.com/ciselab/CodeBert-CodeToText-Reproduction"

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 CISELab
3+
Copyright (c) 2022 CISELab
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ You can build the docker file beforehand using
2424
docker build . -t ciselab/codebert-code2text:1.3 -t ciselab/codebert-code2text:latest
2525
```
2626

27-
Or you can comment-in the build parts in the docker-compose.yml
28-
2927
Run the experiment using
3028

3129
```
@@ -71,7 +69,7 @@ The CPU Containers starts ~20 threads for training and your server should have >
7169

7270
In comparison, training on a RTX 1070 took 7h per epoch.
7371
Training on a 3080ti took 6h per epoch.
74-
Training on an A40 took ~4h per epoch. In general, GPU tries to allocate around 12gb of memory.
72+
Training on an A40 took ~4h per epoch. In general, the GPU tries to allocate around 12gb of memory.
7573

7674
In general, despite being a good first step, GPU Containers turned out to be quite fragile.
7775
We have seen multiple problems with Framework-Versions, Hardware and OS combinations.

changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ this file holds the changes applied to the existing project from CodeXGlue
1313
---------
1414

1515

16-
- Moved to Cuda Container, removed conda environment.yml in favour of pip requirements.txt
16+
- Moved to Cuda Container, removed conda environment.yml in Docker in favour of pip requirements.txt
1717
- Added a lot of known problems
1818
- Updated Code to match CodeXGlue Repository (has been changed since initial checkout)
1919
- Updated Composes to only use one GPU default

docker-compose-minimal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.8'
22

33
services:
4-
experiment:
4+
codebert_minimal_example:
55
image: ciselab/codebert-code2text
66
build:
77
context: .

docker-compose-pretrained-minimal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.8'
22

33
services:
4-
experiment:
4+
codebert_prediction_minimal_example:
55
image: ciselab/codebert-code2text
66
volumes:
77
- ./dataset/java/:/dataset:ro

docker-compose-python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
version: '3.8'
22

33
services:
4-
python-codebert-training:
4+
codebert_python_training:
55
image: ciselab/codebert-code2text:1.3
66
volumes:
7-
- ./dataset/java/:/dataset:ro
8-
- ./compose_output:/experiment/output
7+
- ./dataset/python/:/dataset:ro
8+
- ./python_compose_output:/experiment/output
99
environment:
1010
epochs: 10
1111
lang: python

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
version: '3.8'
22

33
services:
4-
experiment:
4+
codebert_java_training:
55
image: ciselab/codebert-code2text
66
volumes:
77
- ./dataset/java/:/dataset:ro
8-
- ./compose_output:/experiment/output
8+
- ./java_compose_output:/experiment/output
99
environment:
1010
epochs: 10
1111
train_file: /dataset/train.jsonl

0 commit comments

Comments
 (0)