This repository enables training a neural network under continual learning scenarios. It also provides tools to compute the similarity of internal representations between two trained models.
Install the required dependencies:
pip install -r requirements.txtTrain a neural network with continual learning:
python trainer.py --config path_to_configSupported learning strategies:
finetunereplayewc
Compute the similarity of internal representations between two trained models:
python subspace_similarity.py --config path_to_configAll models in this repository were trained on RunPod using RTX 4000 Ada GPUs.
https://console.runpod.io/.