Generating jokes with SeqGAN. See the SeqGAN paper: SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient.
- joke generation with SeqGAN simple implementation (no rollout)
- original repo: https://github.com/suragnair/seqGAN
$ pip insall -r requirements.txt
$ cd SeqGAN/
$ python main.py
- joke generation with SeqGAN rollout implementation
- original repo: https://github.com/ZiJianZhao/SeqGAN-PyTorch
$ pip insall -r requirements.txt
$ cd SeqGAN-rollout/
$ python main.py
- evaluation framework using ColBERT model and BLEU score
- Please see the jupyter notebook
- base on paper: [https://arxiv.org/pdf/2004.12765v5.pdf] (ColBERT: Using BERT Sentence Embedding for Humor Detection) and Python package [https://pypi.org/project/FastBLEU/] (FastBLEU)