textsum-gan icon indicating copy to clipboard operation
textsum-gan copied to clipboard

您好,我想问下代码的逻辑结构

Open hanyegirl opened this issue 5 years ago • 2 comments

先是通过双向lstm得到隐藏状态,这是encoder,然后通过decoder也就是lstm将摘要输出,再将这个假摘要和真摘要输入cnn判别网络中得到score,来进行更新判别器吗? 另外我想问下train.bin文件是原文章的二进制表示吗,真实摘要保存在哪里呀

hanyegirl avatar Oct 11 '19 09:10 hanyegirl

(1) 是的;(2) 真实摘要也保存在train.bin中,关于数据集的处理请参见https://github.com/abisee/cnn-dailymail.

iwangjian avatar Oct 22 '19 04:10 iwangjian

您好,mode=train的时候训练encoder和decoder,还有discriminator。mode=decoder的时候,得到的是什么呀,把测试文本输进去的时候不用先encoder吗

hanyegirl avatar Oct 30 '19 09:10 hanyegirl