Copy the code and hyperparameters from galatea