Combined model and weight generation to save training time.