FranxYao / dgm_latent_bow

Implementation of NeurIPS 19 paper: Paraphrase Generation with Latent Bag of Words

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

what is key2id?

birdhunter22 opened this issue · comments

File "main.py", line 91, in main
config.key_size = len(dset.key2id)
AttributeError: 'Dataset' object has no attribute 'key2id'

how can i resolve this ?

Oh that is the configuration for the data to text generation task. I think I may forget to switch back to the paraphrase generation setting. Will update before the conference. (Or you could look into https://github.com/tyliupku/wiki2bio for this dataset)

ok sure, thank you so much.
good luck for the conference :))