Created
July 30, 2019 11:49
-
-
Save ben0it8/f394f36ab454b3d5bf90ef57b5f9ddf2 to your computer and use it in GitHub Desktop.
dockerfile variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set up paths | |
ENV RESOURCES_PATH="/resources" \ | |
DATA_PATH="/data" \ | |
LOG_PATH="/logs" | |
RUN \ | |
mkdir -p $RESOURCES_PATH && \ | |
mkdir -p $DATA_PATH && \ | |
chmod -R a+rwx $DATA_PATH | |
# Set configurable env variables | |
ENV NUM_TRAIN="5000" \ | |
NUM_TEST="5000" \ | |
NUM_MAX_POSITIONS="256" \ | |
N_EPOCHS="1" \ | |
BATCH_SIZE="8" \ | |
VALID_PCT="0.05" \ | |
LR="0.000065" \ | |
MAX_NORM="2.0" \ | |
SEED="1337" \ | |
NVIDIA_VISIBLE_DEVICES="all" \ | |
OMP_NUM_THREADS="8" \ | |
TRAIN_BODY="1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment