This repository contains a PyTorch implementation of MbPA++ from the paper Episodic Memory in Lifelong Language Learning.
torch 1.10.0
transformers 3.0.2
For Text Classification:
bash run_tc.sh
For Question Answering:
bash run_qa.sh
In both cases, DATA_DIR
and ORDER
variables must be set to run the experiment correctly.
- Episodic Memory in Lifelong Language Learning
- Part of the code is borrowed from https://github.com/Daikon-Sun/EM-in-LLL