How to generate training data: Faster and better