├── LICENSE ├── README.md ├── data ├── emnlp_news.txt ├── image_coco.txt ├── shi.txt └── testdata │ ├── test_coco.txt │ └── test_emnlp.txt ├── docs ├── doc.md ├── evaluation.md ├── fig │ ├── embsim.png │ ├── inll.png │ ├── math │ │ ├── Go.png │ │ ├── Gt.png │ │ ├── W.png │ │ ├── ei.png │ │ ├── embsim.png │ │ ├── epi.png │ │ ├── inll.png │ │ ├── nll.png │ │ ├── wi.png │ │ ├── wij.png │ │ ├── wp.png │ │ └── wpij.png │ ├── nll.png │ └── texygen-01.png └── instances │ ├── leakgan.txt │ ├── maligan.txt │ ├── mle.txt │ ├── rank.txt │ ├── seq.txt │ └── textgan.txt ├── main.py ├── models ├── Gan.py ├── __init__.py ├── gsgan │ ├── Gsgan.py │ ├── GsganDataLoader.py │ ├── GsganDiscriminator.py │ ├── GsganGenerator.py │ ├── __init__.py │ └── save │ │ ├── __init__.py │ │ ├── generator.txt │ │ └── oracle.txt ├── leakgan │ ├── Leakgan.py │ ├── LeakganDataLoader.py │ ├── LeakganDiscriminator.py │ ├── LeakganGenerator.py │ ├── LeakganReward.py │ ├── __init__.py │ ├── experiment-log-leakgan.csv │ └── save │ │ ├── __init__.py │ │ ├── generator.txt │ │ └── oracle.txt ├── maligan_basic │ ├── MailganDiscriminator.py │ ├── Maligan.py │ ├── MaliganDataLoader.py │ ├── MaliganGenerator.py │ ├── MaliganReward.py │ ├── __init__.py │ └── save │ │ ├── __init__.py │ │ ├── generator.txt │ │ └── oracle.txt ├── mle │ ├── Mle.py │ ├── MleDataLoader.py │ ├── MleGenerator.py │ ├── __init__.py │ └── save │ │ ├── __init__.py │ │ ├── generator.txt │ │ └── oracle.txt ├── pg_bleu │ ├── Pgbleu.py │ ├── PgbleuDataLoader.py │ ├── PgbleuGenerator.py │ ├── PgbleuReward.py │ ├── __init__.py │ └── save │ │ ├── __init__.py │ │ ├── generator.txt │ │ └── oracle.txt ├── rankgan │ ├── Rankgan.py │ ├── RankganDataLoader.py │ ├── RankganDiscriminator.py │ ├── RankganGenerator.py │ ├── RankganReward.py │ ├── __init__.py │ └── save │ │ ├── __init__.py │ │ ├── generator.txt │ │ └── oracle.txt ├── seqgan │ ├── Seqgan.py │ ├── SeqganDataLoader.py │ ├── SeqganDiscriminator.py │ ├── SeqganGenerator.py │ ├── SeqganReward.py │ ├── __init__.py │ └── save │ │ ├── __init__.py │ │ ├── generator.txt │ │ └── oracle.txt └── textGan_MMD │ ├── Textgan.py │ ├── TextganDataLoader.py │ ├── TextganDiscriminator.py │ ├── TextganGenerator.py │ ├── __init__.py │ └── save │ ├── __init__.py │ ├── generator.txt │ └── oracle.txt ├── requirements.txt ├── save └── __init__.py └── utils ├── __init__.py ├── metrics ├── Bleu.py ├── Cfg.py ├── DocEmbSim.py ├── EmbSim.py ├── Metrics.py ├── Nll.py ├── SelfBleu.py ├── UniqueGram.py └── __init__.py ├── oracle ├── OracleCfg.py ├── OracleGru.py ├── OracleLstm.py ├── OracleSru.py └── __init__.py ├── text_process.py └── utils.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/README.md -------------------------------------------------------------------------------- /data/emnlp_news.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/data/emnlp_news.txt -------------------------------------------------------------------------------- /data/image_coco.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/data/image_coco.txt -------------------------------------------------------------------------------- /data/shi.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/data/shi.txt -------------------------------------------------------------------------------- /data/testdata/test_coco.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/data/testdata/test_coco.txt -------------------------------------------------------------------------------- /data/testdata/test_emnlp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/data/testdata/test_emnlp.txt -------------------------------------------------------------------------------- /docs/doc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/doc.md -------------------------------------------------------------------------------- /docs/evaluation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/evaluation.md -------------------------------------------------------------------------------- /docs/fig/embsim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/embsim.png -------------------------------------------------------------------------------- /docs/fig/inll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/inll.png -------------------------------------------------------------------------------- /docs/fig/math/Go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/Go.png -------------------------------------------------------------------------------- /docs/fig/math/Gt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/Gt.png -------------------------------------------------------------------------------- /docs/fig/math/W.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/W.png -------------------------------------------------------------------------------- /docs/fig/math/ei.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/ei.png -------------------------------------------------------------------------------- /docs/fig/math/embsim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/embsim.png -------------------------------------------------------------------------------- /docs/fig/math/epi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/epi.png -------------------------------------------------------------------------------- /docs/fig/math/inll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/inll.png -------------------------------------------------------------------------------- /docs/fig/math/nll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/nll.png -------------------------------------------------------------------------------- /docs/fig/math/wi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/wi.png -------------------------------------------------------------------------------- /docs/fig/math/wij.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/wij.png -------------------------------------------------------------------------------- /docs/fig/math/wp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/wp.png -------------------------------------------------------------------------------- /docs/fig/math/wpij.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/math/wpij.png -------------------------------------------------------------------------------- /docs/fig/nll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/nll.png -------------------------------------------------------------------------------- /docs/fig/texygen-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/fig/texygen-01.png -------------------------------------------------------------------------------- /docs/instances/leakgan.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/instances/leakgan.txt -------------------------------------------------------------------------------- /docs/instances/maligan.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/instances/maligan.txt -------------------------------------------------------------------------------- /docs/instances/mle.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/instances/mle.txt -------------------------------------------------------------------------------- /docs/instances/rank.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/instances/rank.txt -------------------------------------------------------------------------------- /docs/instances/seq.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/instances/seq.txt -------------------------------------------------------------------------------- /docs/instances/textgan.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/docs/instances/textgan.txt -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/main.py -------------------------------------------------------------------------------- /models/Gan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/Gan.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/gsgan/Gsgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/gsgan/Gsgan.py -------------------------------------------------------------------------------- /models/gsgan/GsganDataLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/gsgan/GsganDataLoader.py -------------------------------------------------------------------------------- /models/gsgan/GsganDiscriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/gsgan/GsganDiscriminator.py -------------------------------------------------------------------------------- /models/gsgan/GsganGenerator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/gsgan/GsganGenerator.py -------------------------------------------------------------------------------- /models/gsgan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/gsgan/save/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/gsgan/save/generator.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/gsgan/save/generator.txt -------------------------------------------------------------------------------- /models/gsgan/save/oracle.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/gsgan/save/oracle.txt -------------------------------------------------------------------------------- /models/leakgan/Leakgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/leakgan/Leakgan.py -------------------------------------------------------------------------------- /models/leakgan/LeakganDataLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/leakgan/LeakganDataLoader.py -------------------------------------------------------------------------------- /models/leakgan/LeakganDiscriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/leakgan/LeakganDiscriminator.py -------------------------------------------------------------------------------- /models/leakgan/LeakganGenerator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/leakgan/LeakganGenerator.py -------------------------------------------------------------------------------- /models/leakgan/LeakganReward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/leakgan/LeakganReward.py -------------------------------------------------------------------------------- /models/leakgan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/leakgan/experiment-log-leakgan.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/leakgan/save/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/leakgan/save/generator.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/leakgan/save/generator.txt -------------------------------------------------------------------------------- /models/leakgan/save/oracle.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/leakgan/save/oracle.txt -------------------------------------------------------------------------------- /models/maligan_basic/MailganDiscriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/maligan_basic/MailganDiscriminator.py -------------------------------------------------------------------------------- /models/maligan_basic/Maligan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/maligan_basic/Maligan.py -------------------------------------------------------------------------------- /models/maligan_basic/MaliganDataLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/maligan_basic/MaliganDataLoader.py -------------------------------------------------------------------------------- /models/maligan_basic/MaliganGenerator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/maligan_basic/MaliganGenerator.py -------------------------------------------------------------------------------- /models/maligan_basic/MaliganReward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/maligan_basic/MaliganReward.py -------------------------------------------------------------------------------- /models/maligan_basic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/maligan_basic/save/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/maligan_basic/save/generator.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/maligan_basic/save/generator.txt -------------------------------------------------------------------------------- /models/maligan_basic/save/oracle.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/maligan_basic/save/oracle.txt -------------------------------------------------------------------------------- /models/mle/Mle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/mle/Mle.py -------------------------------------------------------------------------------- /models/mle/MleDataLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/mle/MleDataLoader.py -------------------------------------------------------------------------------- /models/mle/MleGenerator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/mle/MleGenerator.py -------------------------------------------------------------------------------- /models/mle/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/mle/save/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/mle/save/generator.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/mle/save/generator.txt -------------------------------------------------------------------------------- /models/mle/save/oracle.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/mle/save/oracle.txt -------------------------------------------------------------------------------- /models/pg_bleu/Pgbleu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/pg_bleu/Pgbleu.py -------------------------------------------------------------------------------- /models/pg_bleu/PgbleuDataLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/pg_bleu/PgbleuDataLoader.py -------------------------------------------------------------------------------- /models/pg_bleu/PgbleuGenerator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/pg_bleu/PgbleuGenerator.py -------------------------------------------------------------------------------- /models/pg_bleu/PgbleuReward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/pg_bleu/PgbleuReward.py -------------------------------------------------------------------------------- /models/pg_bleu/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/pg_bleu/save/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/pg_bleu/save/generator.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/pg_bleu/save/generator.txt -------------------------------------------------------------------------------- /models/pg_bleu/save/oracle.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/pg_bleu/save/oracle.txt -------------------------------------------------------------------------------- /models/rankgan/Rankgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/rankgan/Rankgan.py -------------------------------------------------------------------------------- /models/rankgan/RankganDataLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/rankgan/RankganDataLoader.py -------------------------------------------------------------------------------- /models/rankgan/RankganDiscriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/rankgan/RankganDiscriminator.py -------------------------------------------------------------------------------- /models/rankgan/RankganGenerator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/rankgan/RankganGenerator.py -------------------------------------------------------------------------------- /models/rankgan/RankganReward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/rankgan/RankganReward.py -------------------------------------------------------------------------------- /models/rankgan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/rankgan/save/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/rankgan/save/generator.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/rankgan/save/generator.txt -------------------------------------------------------------------------------- /models/rankgan/save/oracle.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/rankgan/save/oracle.txt -------------------------------------------------------------------------------- /models/seqgan/Seqgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/seqgan/Seqgan.py -------------------------------------------------------------------------------- /models/seqgan/SeqganDataLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/seqgan/SeqganDataLoader.py -------------------------------------------------------------------------------- /models/seqgan/SeqganDiscriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/seqgan/SeqganDiscriminator.py -------------------------------------------------------------------------------- /models/seqgan/SeqganGenerator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/seqgan/SeqganGenerator.py -------------------------------------------------------------------------------- /models/seqgan/SeqganReward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/seqgan/SeqganReward.py -------------------------------------------------------------------------------- /models/seqgan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/seqgan/save/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/seqgan/save/generator.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/seqgan/save/generator.txt -------------------------------------------------------------------------------- /models/seqgan/save/oracle.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/seqgan/save/oracle.txt -------------------------------------------------------------------------------- /models/textGan_MMD/Textgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/textGan_MMD/Textgan.py -------------------------------------------------------------------------------- /models/textGan_MMD/TextganDataLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/textGan_MMD/TextganDataLoader.py -------------------------------------------------------------------------------- /models/textGan_MMD/TextganDiscriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/textGan_MMD/TextganDiscriminator.py -------------------------------------------------------------------------------- /models/textGan_MMD/TextganGenerator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/textGan_MMD/TextganGenerator.py -------------------------------------------------------------------------------- /models/textGan_MMD/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/textGan_MMD/save/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/textGan_MMD/save/generator.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/textGan_MMD/save/generator.txt -------------------------------------------------------------------------------- /models/textGan_MMD/save/oracle.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/models/textGan_MMD/save/oracle.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/requirements.txt -------------------------------------------------------------------------------- /save/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/metrics/Bleu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/metrics/Bleu.py -------------------------------------------------------------------------------- /utils/metrics/Cfg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/metrics/Cfg.py -------------------------------------------------------------------------------- /utils/metrics/DocEmbSim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/metrics/DocEmbSim.py -------------------------------------------------------------------------------- /utils/metrics/EmbSim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/metrics/EmbSim.py -------------------------------------------------------------------------------- /utils/metrics/Metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/metrics/Metrics.py -------------------------------------------------------------------------------- /utils/metrics/Nll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/metrics/Nll.py -------------------------------------------------------------------------------- /utils/metrics/SelfBleu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/metrics/SelfBleu.py -------------------------------------------------------------------------------- /utils/metrics/UniqueGram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/metrics/UniqueGram.py -------------------------------------------------------------------------------- /utils/metrics/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/oracle/OracleCfg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/oracle/OracleCfg.py -------------------------------------------------------------------------------- /utils/oracle/OracleGru.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/oracle/OracleGru.py -------------------------------------------------------------------------------- /utils/oracle/OracleLstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/oracle/OracleLstm.py -------------------------------------------------------------------------------- /utils/oracle/OracleSru.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/oracle/OracleSru.py -------------------------------------------------------------------------------- /utils/oracle/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/text_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/text_process.py -------------------------------------------------------------------------------- /utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geek-ai/Texygen/HEAD/utils/utils.py --------------------------------------------------------------------------------