After generating the explanations and scores using the delphi library (https://github.com/EleutherAI/delphi/) we use simulation_predictions.py to predict activations on a certain number of sentences. The predicted activations need to be quantile normalized using quantile_normalization.py. Then ce_reconstructions runs the model with the predicted activations and computes the cross entropy loss compared to the base model loss.