Consolidation and continual learning Code for simulations in Chapter Four of my thesis. Tested with transformers 4.35.0.dev0.