Initial commit of predict generator.