Grading tools for Advanced NLP (11-711)
docker to use this repo. Visit the official guide to get started.
docker, install the python package by
git clone https://github.com/ProKil/anlp-grading-tools
pip install -e .
To evaluate your code, you’ll need to change the environment variables in test.sh.
mkdir a new folder, e.g.
mkdir tmp, and point this variable to the absolute path of the tmp folder.
SUBMISSION_DIR: this should point to the folder containing your submission zip file. Note that the toolkit will automatically evaluate all zip files in the folder.
SCORE_DIR: this should point to an empty folder. Your score will be logged in a text file there.
You may find writing files inside
SCORE_DIR requiring permission. You can either use
sudo or log into docker through
docker run -v FOLDER_TO_WRITE:/mnt -it --entrypoint /bin/bash anlp and
cd /mnt to write those files.