Add dataset_generation.
Fix demo.