Pass in regularizer directly to model