A generative model will learn categories have data while a discriminative model will simply learn the distinction between different categories have data.