This is the repository for the NLP Lab Course 2021: Virtual Dietary Advisor.
The repository structure is as follows:
pre-training-gpt2/: It contains code to train GPT-2 on empathetic dialogue dataset in a supervised setting.annotate_data/: It contains code to annotate sampled responses from supervised GPT-2.train_reward_policy/: It contains code to train reward model and policy model in an RL setting.evaluate_models/: It contains code to evaluate our trained models with respect to different evaluation metrics.slides/: It contains our milestones and final presentation slides.report/: It contains final report of our project.
-
This code has only been tested on Google Colab.
-
All our model checkpoints, annotated data and sampled responses are in google cloud storage. (gs://nlp-lab/)
-
Read README.md of respective folder before running the code.
-
Clone the repository
git clone https://gitlab.lrz.de/social-computing-research-group/nlp-lab-course/nlp-lab-course-ss2021/vda/nlp-2021-vda.git. -
Upload the entire folder
nlp-2021-vdato google drive -
Open notebook of respective directory (
XX/notebooks/) based on what you want to run.
- Our google cloud storage expires on 25th July, 2021, therefore, make sure to download models and datasets locally before that.