Hi,
The usual way to do this is to keep a subset of your data for validation: you train both model on a training subset of your data. After training, you evaluate both on this held out validation set to see how they generalize to this unseen data.