Closed-book Question Generation via Contrastive Learning