├── .gitignore ├── LICENSE ├── NVLL ├── __init__.py ├── analysis │ ├── __init__.py │ ├── analyze_nvrnn.py │ ├── analyze_samples.py │ ├── analyzer_argparse.py │ ├── cos_loss_bow_code.py │ └── word_freq.py ├── argparser.py ├── classification │ ├── __init__.py │ ├── label_matching.py │ ├── model_export_to_file.py │ └── train_classifier.py ├── data │ ├── __init__.py │ ├── lm.py │ ├── ng.py │ ├── preprocess_sst_to_ptb.py │ └── preprocess_yelp13_to_ptb_format.py ├── distribution │ ├── __init__.py │ ├── archived_vmf.py │ ├── empirical_kl.py │ ├── gauss.py │ ├── kl_cost_sheet.py │ ├── try_bessel.py │ ├── vmf_batch.py │ ├── vmf_hypvae.py │ ├── vmf_only.py │ └── vmf_unif.py ├── framework │ ├── __init__.py │ ├── eval_nvdm.py │ ├── eval_nvrnn.py │ ├── train_eval_nvdm.py │ └── train_eval_nvrnn.py ├── model │ ├── __init__.py │ ├── nvdm.py │ └── nvrnn.py ├── nvll.py ├── util │ ├── __init__.py │ ├── gpu_flag.py │ ├── hyp_tune_nvdm.py │ ├── hyp_tune_nvrnn.py │ ├── run_on_mav.py │ ├── try.py │ └── util.py └── visual │ ├── __init__.py │ ├── draw_gauss_ball.py │ ├── draw_vmf_ball.py │ ├── gaussian_scatter.py │ ├── kl_tradeoff.py │ ├── vmf_cos_dispersion.py │ └── vmf_stat.py ├── README.md ├── archive ├── genut │ ├── __init__.py │ ├── data │ │ ├── __init__.py │ │ ├── load_data.py │ │ ├── preprocess_ptb.py │ │ └── preprocess_yelp15.py │ ├── framework │ │ └── __init__.py │ ├── main.py │ ├── models │ │ ├── __init__.py │ │ ├── lm.py │ │ ├── lm_vae.py │ │ ├── seq2seq.py │ │ └── seq2seq_vae.py │ ├── modules │ │ ├── __init__.py │ │ ├── attention.py │ │ ├── dec │ │ │ ├── __init__.py │ │ │ ├── copy.py │ │ │ ├── decode_greedy.py │ │ │ ├── decoder.py │ │ │ ├── decoder_beam.py │ │ │ ├── decoder_srnn.py │ │ │ └── decoder_step.py │ │ ├── embedding.py │ │ ├── enc │ │ │ ├── __init__.py │ │ │ ├── encoder.py │ │ │ └── rnn_enc.py │ │ └── vae.py │ ├── tmp.py │ └── util │ │ ├── __init__.py │ │ ├── argparser.py │ │ ├── beam.py │ │ ├── eval.py │ │ ├── eval_lm.py │ │ ├── feat.py │ │ ├── helper.py │ │ ├── logger.py │ │ ├── struct.py │ │ ├── train.py │ │ ├── train_lm.py │ │ └── train_s2s.py ├── nvdm │ ├── __init__.py │ ├── dist.py │ ├── main.py │ ├── miao_nvdm.py │ ├── model.py │ └── util.py ├── original_pytorch │ ├── __init__.py │ ├── data.py │ ├── generate.py │ ├── main.py │ └── model.py └── vae_proto │ ├── __init__.py │ ├── data.py │ ├── generate.py │ ├── lm.py │ ├── main.py │ ├── rnn_model.py │ ├── try.py │ ├── util.py │ ├── vMF.py │ └── vae_model.py ├── data ├── 20ng.zip ├── ptb.zip └── yelp.zip └── image ├── kl_collapse.jpg └── model.jpg /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/LICENSE -------------------------------------------------------------------------------- /NVLL/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NVLL/analysis/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NVLL/analysis/analyze_nvrnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/analysis/analyze_nvrnn.py -------------------------------------------------------------------------------- /NVLL/analysis/analyze_samples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/analysis/analyze_samples.py -------------------------------------------------------------------------------- /NVLL/analysis/analyzer_argparse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/analysis/analyzer_argparse.py -------------------------------------------------------------------------------- /NVLL/analysis/cos_loss_bow_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/analysis/cos_loss_bow_code.py -------------------------------------------------------------------------------- /NVLL/analysis/word_freq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/analysis/word_freq.py -------------------------------------------------------------------------------- /NVLL/argparser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/argparser.py -------------------------------------------------------------------------------- /NVLL/classification/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NVLL/classification/label_matching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/classification/label_matching.py -------------------------------------------------------------------------------- /NVLL/classification/model_export_to_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/classification/model_export_to_file.py -------------------------------------------------------------------------------- /NVLL/classification/train_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/classification/train_classifier.py -------------------------------------------------------------------------------- /NVLL/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NVLL/data/lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/data/lm.py -------------------------------------------------------------------------------- /NVLL/data/ng.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/data/ng.py -------------------------------------------------------------------------------- /NVLL/data/preprocess_sst_to_ptb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/data/preprocess_sst_to_ptb.py -------------------------------------------------------------------------------- /NVLL/data/preprocess_yelp13_to_ptb_format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/data/preprocess_yelp13_to_ptb_format.py -------------------------------------------------------------------------------- /NVLL/distribution/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NVLL/distribution/archived_vmf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/distribution/archived_vmf.py -------------------------------------------------------------------------------- /NVLL/distribution/empirical_kl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/distribution/empirical_kl.py -------------------------------------------------------------------------------- /NVLL/distribution/gauss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/distribution/gauss.py -------------------------------------------------------------------------------- /NVLL/distribution/kl_cost_sheet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/distribution/kl_cost_sheet.py -------------------------------------------------------------------------------- /NVLL/distribution/try_bessel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/distribution/try_bessel.py -------------------------------------------------------------------------------- /NVLL/distribution/vmf_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/distribution/vmf_batch.py -------------------------------------------------------------------------------- /NVLL/distribution/vmf_hypvae.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/distribution/vmf_hypvae.py -------------------------------------------------------------------------------- /NVLL/distribution/vmf_only.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/distribution/vmf_only.py -------------------------------------------------------------------------------- /NVLL/distribution/vmf_unif.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/distribution/vmf_unif.py -------------------------------------------------------------------------------- /NVLL/framework/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NVLL/framework/eval_nvdm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/framework/eval_nvdm.py -------------------------------------------------------------------------------- /NVLL/framework/eval_nvrnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/framework/eval_nvrnn.py -------------------------------------------------------------------------------- /NVLL/framework/train_eval_nvdm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/framework/train_eval_nvdm.py -------------------------------------------------------------------------------- /NVLL/framework/train_eval_nvrnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/framework/train_eval_nvrnn.py -------------------------------------------------------------------------------- /NVLL/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NVLL/model/nvdm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/model/nvdm.py -------------------------------------------------------------------------------- /NVLL/model/nvrnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/model/nvrnn.py -------------------------------------------------------------------------------- /NVLL/nvll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/nvll.py -------------------------------------------------------------------------------- /NVLL/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NVLL/util/gpu_flag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/util/gpu_flag.py -------------------------------------------------------------------------------- /NVLL/util/hyp_tune_nvdm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/util/hyp_tune_nvdm.py -------------------------------------------------------------------------------- /NVLL/util/hyp_tune_nvrnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/util/hyp_tune_nvrnn.py -------------------------------------------------------------------------------- /NVLL/util/run_on_mav.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/util/run_on_mav.py -------------------------------------------------------------------------------- /NVLL/util/try.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/util/try.py -------------------------------------------------------------------------------- /NVLL/util/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/util/util.py -------------------------------------------------------------------------------- /NVLL/visual/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NVLL/visual/draw_gauss_ball.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/visual/draw_gauss_ball.py -------------------------------------------------------------------------------- /NVLL/visual/draw_vmf_ball.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/visual/draw_vmf_ball.py -------------------------------------------------------------------------------- /NVLL/visual/gaussian_scatter.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NVLL/visual/kl_tradeoff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/visual/kl_tradeoff.py -------------------------------------------------------------------------------- /NVLL/visual/vmf_cos_dispersion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/visual/vmf_cos_dispersion.py -------------------------------------------------------------------------------- /NVLL/visual/vmf_stat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/NVLL/visual/vmf_stat.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/README.md -------------------------------------------------------------------------------- /archive/genut/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/data/load_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/data/load_data.py -------------------------------------------------------------------------------- /archive/genut/data/preprocess_ptb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/data/preprocess_ptb.py -------------------------------------------------------------------------------- /archive/genut/data/preprocess_yelp15.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/data/preprocess_yelp15.py -------------------------------------------------------------------------------- /archive/genut/framework/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/main.py -------------------------------------------------------------------------------- /archive/genut/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/models/lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/models/lm.py -------------------------------------------------------------------------------- /archive/genut/models/lm_vae.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/models/lm_vae.py -------------------------------------------------------------------------------- /archive/genut/models/seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/models/seq2seq.py -------------------------------------------------------------------------------- /archive/genut/models/seq2seq_vae.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/modules/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/modules/attention.py -------------------------------------------------------------------------------- /archive/genut/modules/dec/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/modules/dec/copy.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/modules/dec/decode_greedy.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/modules/dec/decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/modules/dec/decoder.py -------------------------------------------------------------------------------- /archive/genut/modules/dec/decoder_beam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/modules/dec/decoder_beam.py -------------------------------------------------------------------------------- /archive/genut/modules/dec/decoder_srnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/modules/dec/decoder_srnn.py -------------------------------------------------------------------------------- /archive/genut/modules/dec/decoder_step.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/modules/dec/decoder_step.py -------------------------------------------------------------------------------- /archive/genut/modules/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/modules/embedding.py -------------------------------------------------------------------------------- /archive/genut/modules/enc/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/modules/enc/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/modules/enc/encoder.py -------------------------------------------------------------------------------- /archive/genut/modules/enc/rnn_enc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/modules/enc/rnn_enc.py -------------------------------------------------------------------------------- /archive/genut/modules/vae.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/modules/vae.py -------------------------------------------------------------------------------- /archive/genut/tmp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/tmp.py -------------------------------------------------------------------------------- /archive/genut/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/genut/util/argparser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/argparser.py -------------------------------------------------------------------------------- /archive/genut/util/beam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/beam.py -------------------------------------------------------------------------------- /archive/genut/util/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/eval.py -------------------------------------------------------------------------------- /archive/genut/util/eval_lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/eval_lm.py -------------------------------------------------------------------------------- /archive/genut/util/feat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/feat.py -------------------------------------------------------------------------------- /archive/genut/util/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/helper.py -------------------------------------------------------------------------------- /archive/genut/util/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/logger.py -------------------------------------------------------------------------------- /archive/genut/util/struct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/struct.py -------------------------------------------------------------------------------- /archive/genut/util/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/train.py -------------------------------------------------------------------------------- /archive/genut/util/train_lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/train_lm.py -------------------------------------------------------------------------------- /archive/genut/util/train_s2s.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/genut/util/train_s2s.py -------------------------------------------------------------------------------- /archive/nvdm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/nvdm/dist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/nvdm/dist.py -------------------------------------------------------------------------------- /archive/nvdm/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/nvdm/main.py -------------------------------------------------------------------------------- /archive/nvdm/miao_nvdm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/nvdm/miao_nvdm.py -------------------------------------------------------------------------------- /archive/nvdm/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/nvdm/model.py -------------------------------------------------------------------------------- /archive/nvdm/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/nvdm/util.py -------------------------------------------------------------------------------- /archive/original_pytorch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/original_pytorch/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/original_pytorch/data.py -------------------------------------------------------------------------------- /archive/original_pytorch/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/original_pytorch/generate.py -------------------------------------------------------------------------------- /archive/original_pytorch/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/original_pytorch/main.py -------------------------------------------------------------------------------- /archive/original_pytorch/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/original_pytorch/model.py -------------------------------------------------------------------------------- /archive/vae_proto/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/vae_proto/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/vae_proto/data.py -------------------------------------------------------------------------------- /archive/vae_proto/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/vae_proto/generate.py -------------------------------------------------------------------------------- /archive/vae_proto/lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/vae_proto/lm.py -------------------------------------------------------------------------------- /archive/vae_proto/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/vae_proto/main.py -------------------------------------------------------------------------------- /archive/vae_proto/rnn_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/vae_proto/rnn_model.py -------------------------------------------------------------------------------- /archive/vae_proto/try.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/vae_proto/try.py -------------------------------------------------------------------------------- /archive/vae_proto/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/vae_proto/util.py -------------------------------------------------------------------------------- /archive/vae_proto/vMF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/vae_proto/vMF.py -------------------------------------------------------------------------------- /archive/vae_proto/vae_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/archive/vae_proto/vae_model.py -------------------------------------------------------------------------------- /data/20ng.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/data/20ng.zip -------------------------------------------------------------------------------- /data/ptb.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/data/ptb.zip -------------------------------------------------------------------------------- /data/yelp.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/data/yelp.zip -------------------------------------------------------------------------------- /image/kl_collapse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/image/kl_collapse.jpg -------------------------------------------------------------------------------- /image/model.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiacheng-xu/vmf_vae_nlp/HEAD/image/model.jpg --------------------------------------------------------------------------------