├── .gitignore ├── LICENSE ├── README.md ├── data ├── create_post_data.py ├── create_post_train_dataset.sh ├── create_post_training_data.py ├── douban │ └── README.md ├── duplicate.sh ├── duplicate_dataset.py ├── ecommerce │ └── README.md ├── extraction_keywords.py ├── extraction_keywords.sh ├── generate_ext.py ├── make_adversarial.py ├── restoration-200k │ ├── process_test.py │ ├── process_train.py │ ├── process_valid.py │ └── stat.py └── ubuntu │ └── README.md ├── exp_datas └── DR-BERT-exp-data.md ├── git-push.sh ├── requirements.txt └── simpleredial ├── config ├── __init__.py ├── base.yaml ├── bert-fp-comp.yaml ├── bert-fp-mono.yaml ├── bert-fp-multi.yaml ├── bert-fp-no-cls.yaml ├── bert-fp-original.yaml ├── bert-fp.yaml ├── bert-ft-compare-multi-cls.yaml ├── bert-ft-compare-multi-ens.yaml ├── bert-ft-compare-multi.yaml ├── bert-ft-compare-token.yaml ├── bert-ft-compare.yaml ├── bert-ft-essay.yaml ├── bert-ft.yaml ├── bert-mask-da-dmr.yaml ├── bert-mask-da-sep.yaml ├── bert-mask-da.yaml ├── dual-bert-adv.yaml ├── dual-bert-bce.yaml ├── dual-bert-bow.yaml ├── dual-bert-cl.yaml ├── dual-bert-comp-hn.yaml ├── dual-bert-comp.yaml ├── dual-bert-compare.yaml ├── dual-bert-cosine.yaml ├── dual-bert-ctx-cut.yaml ├── dual-bert-ext-neg.yaml ├── dual-bert-fusion-gray-writer.yaml ├── dual-bert-fusion.yaml ├── dual-bert-gen.yaml ├── dual-bert-grading.yaml ├── dual-bert-gray-writer.yaml ├── dual-bert-gray.yaml ├── dual-bert-hier.yaml ├── dual-bert-hn-bce.yaml ├── dual-bert-hn-cl.yaml ├── dual-bert-hn-ctx.yaml ├── dual-bert-hn-hier.yaml ├── dual-bert-hn-pos.yaml ├── dual-bert-hn-sa.yaml ├── dual-bert-hn.yaml ├── dual-bert-ishn.yaml ├── dual-bert-margin.yaml ├── dual-bert-memory.yaml ├── dual-bert-mixup.yaml ├── dual-bert-ml.yaml ├── dual-bert-multi.yaml ├── dual-bert-nhp.yaml ├── dual-bert-oa-random.yaml ├── dual-bert-oa.yaml ├── dual-bert-one2many-original.yaml ├── dual-bert-one2many.yaml ├── dual-bert-phrase.yaml ├── dual-bert-pos.yaml ├── dual-bert-proj.yaml ├── dual-bert-pt.yaml ├── dual-bert-sa.yaml ├── dual-bert-semi.yaml ├── dual-bert-speaker.yaml ├── dual-bert-triplet.yaml ├── dual-bert-unsup.yaml ├── dual-bert-vae.yaml ├── dual-bert.yaml ├── gpt2-unlikely.yaml ├── gpt2.yaml ├── gpt2lm.yaml ├── hash-bert.yaml ├── poly-encoder-hn.yaml ├── poly-encoder.yaml ├── sa-bert.yaml ├── seq2seq.yaml └── simcse.yaml ├── dataloader ├── __init__.py ├── augmentation.py ├── bert_ft_auxiliary_dataloader.py ├── bert_ft_compare_dataloader.py ├── bert_ft_dataloader.py ├── bert_mask_augmentation_dataloader.py ├── dual_bert_arxiv_dataloader.py ├── dual_bert_curriculum_learning_dataloader.py ├── dual_bert_dataloader.py ├── dual_bert_full_dataloader.py ├── dual_bert_hier_dataloader.py ├── dual_bert_phrase_dataloader.py ├── dual_bert_pt_dataloader.py ├── dual_bert_unsup_dataloader.py ├── evaluation_dataloader.py ├── fine_grained_test_dataloader.py ├── gpt2_dataloader.py ├── horse_human_test_dataloader.py ├── inference_ctx_dataloader.py ├── inference_dataloader.py ├── inference_full_dataloader.py ├── inference_full_filter_dataloader.py ├── inference_phrase_dataloader.py ├── lm_dataloader.py ├── loader.py ├── post_train_dataloader.py ├── randomaccess.py ├── sa_bert_dataloader.py ├── simcse_dataloader.py ├── time_evaluation_dataloader.py ├── util_func.py └── utils.py ├── deploy.py ├── deploy ├── __init__.py ├── pipeline.py ├── pipeline_evaluation.py ├── recall.py ├── rerank.py └── utils.py ├── es ├── README.md ├── __init__.py ├── bm25_gray.py ├── es_utils.py └── init.py ├── header.py ├── inference.py ├── inference_utils ├── README.md ├── __init__.py ├── compare_test_recall.py ├── data_augmentation.py ├── data_filter.py ├── gray.py ├── gray_extend.py ├── gray_hard.py ├── gray_one2many.py ├── gray_one2many_ctx.py ├── gray_one2many_res.py ├── gray_one2many_with_source.py ├── gray_simcse.py ├── gray_simcse_unlikelyhood.py ├── gray_test.py ├── response.py ├── response_with_source.py ├── self_play.py ├── unparallel.py ├── utils.py └── writer_with_source.py ├── init.py ├── model ├── AugmentationModels │ ├── __init__.py │ ├── agent.py │ ├── bert_mask.py │ ├── bert_mask_dmr.py │ └── bert_mask_sep.py ├── CompareInteractionModels │ ├── __init__.py │ ├── agent.py │ ├── bert_ft_compare.py │ ├── bert_ft_compare_multi.py │ ├── dual_bert_comp.py │ └── dual_bert_compare.py ├── InteractionModels │ ├── __init__.py │ ├── agent.py │ ├── bert_fp_original.py │ ├── bert_ft.py │ └── sa_bert.py ├── LanguageModels │ ├── __init__.py │ ├── agent.py │ └── gpt2lm.py ├── LatentInteractionModels │ ├── __init__.py │ ├── agent.py │ ├── dual_bert_compare.bak2.py │ └── poly_encoder.py ├── PostTrainModels │ ├── __init__.py │ ├── agent.py │ ├── bert_fp.py │ ├── bert_fp_comp.py │ ├── bert_fp_monolingual.py │ ├── bert_fp_multi.py │ ├── bert_fp_no_cls.py │ ├── dual_bert_unsup.py │ └── simcse.py ├── RAGenerationModels │ ├── __init__.py │ ├── agent.py │ ├── dual_bert_phrase.py │ ├── ragpt2.py │ └── utils.py ├── RepresentationModels │ ├── __init__.py │ ├── agent.py │ ├── dual_bert.py │ ├── dual_bert_adv.py │ ├── dual_bert_bow.py │ ├── dual_bert_cl.py │ ├── dual_bert_cosine.py │ ├── dual_bert_ctx_cut.py │ ├── dual_bert_ext_neg.py │ ├── dual_bert_fusion.py │ ├── dual_bert_fusion_gray_writer.py │ ├── dual_bert_gray.py │ ├── dual_bert_gray_writer.py │ ├── dual_bert_hier.py │ ├── dual_bert_hn.py │ ├── dual_bert_ishn.py │ ├── dual_bert_memory.py │ ├── dual_bert_mixup.py │ ├── dual_bert_ml.py │ ├── dual_bert_multi.py │ ├── dual_bert_oa.py │ ├── dual_bert_one2many.py │ ├── dual_bert_phrase.py │ ├── dual_bert_pos.py │ ├── dual_bert_proj.py │ ├── dual_bert_pt.py │ ├── dual_bert_random.py │ ├── dual_bert_sa.py │ ├── dual_bert_semi.py │ ├── dual_bert_shuffle.py │ ├── dual_bert_triplet.py │ └── hash_bert.py ├── __init__.py └── utils │ ├── __init__.py │ ├── base.py │ ├── fg_metric.py │ ├── gen_utils.py │ ├── generation_utils.py │ ├── grl.py │ ├── header.py │ ├── speaker_aware_models.py │ └── utils.py ├── scripts ├── build_es_index.sh ├── deploy.sh ├── inference.sh ├── inference_context.sh ├── inference_da.sh ├── inference_data_filter.sh ├── inference_ext_dialog.sh ├── inference_full_ctx_res.sh ├── inference_gray.sh ├── inference_gray_hard.sh ├── inference_gray_one2many.sh ├── inference_gray_one2many_with_source.sh ├── inference_gray_res_search_ctx.sh ├── inference_gray_simcse.sh ├── inference_gray_simcse_unlikelyhood.sh ├── inference_gray_test.sh ├── inference_response.sh ├── inference_response_with_source.sh ├── inference_self_play.sh ├── inference_simcse_response.sh ├── inference_simcse_unlikelyhood_response.sh ├── search_es_index.sh ├── test_api.sh ├── test_api_pipeline.sh ├── test_comparison.sh ├── test_es_recall.sh ├── test_fg_rerank.sh ├── test_generation.sh ├── test_horse_human.sh ├── test_recall.sh ├── test_rerank.sh ├── test_rerank_time.sh ├── train.sh └── train_cl.sh ├── test.py ├── test_api.py ├── train.py └── train_curriculum_learning.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/README.md -------------------------------------------------------------------------------- /data/create_post_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/create_post_data.py -------------------------------------------------------------------------------- /data/create_post_train_dataset.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/create_post_train_dataset.sh -------------------------------------------------------------------------------- /data/create_post_training_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/create_post_training_data.py -------------------------------------------------------------------------------- /data/douban/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/douban/README.md -------------------------------------------------------------------------------- /data/duplicate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/duplicate.sh -------------------------------------------------------------------------------- /data/duplicate_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/duplicate_dataset.py -------------------------------------------------------------------------------- /data/ecommerce/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/ecommerce/README.md -------------------------------------------------------------------------------- /data/extraction_keywords.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/extraction_keywords.py -------------------------------------------------------------------------------- /data/extraction_keywords.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/extraction_keywords.sh -------------------------------------------------------------------------------- /data/generate_ext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/generate_ext.py -------------------------------------------------------------------------------- /data/make_adversarial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/make_adversarial.py -------------------------------------------------------------------------------- /data/restoration-200k/process_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/restoration-200k/process_test.py -------------------------------------------------------------------------------- /data/restoration-200k/process_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/restoration-200k/process_train.py -------------------------------------------------------------------------------- /data/restoration-200k/process_valid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/restoration-200k/process_valid.py -------------------------------------------------------------------------------- /data/restoration-200k/stat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/restoration-200k/stat.py -------------------------------------------------------------------------------- /data/ubuntu/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/data/ubuntu/README.md -------------------------------------------------------------------------------- /exp_datas/DR-BERT-exp-data.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/exp_datas/DR-BERT-exp-data.md -------------------------------------------------------------------------------- /git-push.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/git-push.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/requirements.txt -------------------------------------------------------------------------------- /simpleredial/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/__init__.py -------------------------------------------------------------------------------- /simpleredial/config/base.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/base.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-fp-comp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-fp-comp.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-fp-mono.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-fp-mono.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-fp-multi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-fp-multi.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-fp-no-cls.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-fp-no-cls.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-fp-original.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-fp-original.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-fp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-fp.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-ft-compare-multi-cls.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-ft-compare-multi-cls.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-ft-compare-multi-ens.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-ft-compare-multi-ens.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-ft-compare-multi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-ft-compare-multi.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-ft-compare-token.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-ft-compare-token.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-ft-compare.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-ft-compare.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-ft-essay.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-ft-essay.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-ft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-ft.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-mask-da-dmr.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-mask-da-dmr.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-mask-da-sep.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-mask-da-sep.yaml -------------------------------------------------------------------------------- /simpleredial/config/bert-mask-da.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/bert-mask-da.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-adv.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-adv.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-bce.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-bce.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-bow.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-bow.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-cl.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-cl.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-comp-hn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-comp-hn.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-comp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-comp.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-compare.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-compare.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-cosine.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-cosine.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-ctx-cut.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-ctx-cut.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-ext-neg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-ext-neg.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-fusion-gray-writer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-fusion-gray-writer.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-fusion.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-fusion.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-gen.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-gen.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-grading.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-grading.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-gray-writer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-gray-writer.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-gray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-gray.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-hier.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-hier.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-hn-bce.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-hn-bce.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-hn-cl.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-hn-cl.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-hn-ctx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-hn-ctx.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-hn-hier.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-hn-hier.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-hn-pos.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-hn-pos.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-hn-sa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-hn-sa.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-hn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-hn.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-ishn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-ishn.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-margin.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-margin.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-memory.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-memory.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-mixup.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-mixup.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-ml.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-ml.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-multi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-multi.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-nhp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-nhp.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-oa-random.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-oa-random.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-oa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-oa.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-one2many-original.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-one2many-original.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-one2many.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-one2many.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-phrase.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-phrase.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-pos.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-pos.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-proj.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-proj.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-pt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-pt.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-sa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-sa.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-semi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-semi.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-speaker.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-speaker.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-triplet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-triplet.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-unsup.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-unsup.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert-vae.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert-vae.yaml -------------------------------------------------------------------------------- /simpleredial/config/dual-bert.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/dual-bert.yaml -------------------------------------------------------------------------------- /simpleredial/config/gpt2-unlikely.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/gpt2-unlikely.yaml -------------------------------------------------------------------------------- /simpleredial/config/gpt2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/gpt2.yaml -------------------------------------------------------------------------------- /simpleredial/config/gpt2lm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/gpt2lm.yaml -------------------------------------------------------------------------------- /simpleredial/config/hash-bert.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/hash-bert.yaml -------------------------------------------------------------------------------- /simpleredial/config/poly-encoder-hn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/poly-encoder-hn.yaml -------------------------------------------------------------------------------- /simpleredial/config/poly-encoder.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/poly-encoder.yaml -------------------------------------------------------------------------------- /simpleredial/config/sa-bert.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/sa-bert.yaml -------------------------------------------------------------------------------- /simpleredial/config/seq2seq.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/seq2seq.yaml -------------------------------------------------------------------------------- /simpleredial/config/simcse.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/config/simcse.yaml -------------------------------------------------------------------------------- /simpleredial/dataloader/__init__.py: -------------------------------------------------------------------------------- 1 | from .loader import * 2 | -------------------------------------------------------------------------------- /simpleredial/dataloader/augmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/augmentation.py -------------------------------------------------------------------------------- /simpleredial/dataloader/bert_ft_auxiliary_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/bert_ft_auxiliary_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/bert_ft_compare_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/bert_ft_compare_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/bert_ft_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/bert_ft_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/bert_mask_augmentation_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/bert_mask_augmentation_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/dual_bert_arxiv_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/dual_bert_arxiv_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/dual_bert_curriculum_learning_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/dual_bert_curriculum_learning_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/dual_bert_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/dual_bert_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/dual_bert_full_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/dual_bert_full_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/dual_bert_hier_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/dual_bert_hier_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/dual_bert_phrase_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/dual_bert_phrase_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/dual_bert_pt_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/dual_bert_pt_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/dual_bert_unsup_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/dual_bert_unsup_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/evaluation_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/evaluation_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/fine_grained_test_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/fine_grained_test_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/gpt2_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/gpt2_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/horse_human_test_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/horse_human_test_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/inference_ctx_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/inference_ctx_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/inference_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/inference_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/inference_full_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/inference_full_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/inference_full_filter_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/inference_full_filter_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/inference_phrase_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/inference_phrase_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/lm_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/lm_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/loader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/post_train_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/post_train_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/randomaccess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/randomaccess.py -------------------------------------------------------------------------------- /simpleredial/dataloader/sa_bert_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/sa_bert_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/simcse_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/simcse_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/time_evaluation_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/time_evaluation_dataloader.py -------------------------------------------------------------------------------- /simpleredial/dataloader/util_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/util_func.py -------------------------------------------------------------------------------- /simpleredial/dataloader/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/dataloader/utils.py -------------------------------------------------------------------------------- /simpleredial/deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/deploy.py -------------------------------------------------------------------------------- /simpleredial/deploy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/deploy/__init__.py -------------------------------------------------------------------------------- /simpleredial/deploy/pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/deploy/pipeline.py -------------------------------------------------------------------------------- /simpleredial/deploy/pipeline_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/deploy/pipeline_evaluation.py -------------------------------------------------------------------------------- /simpleredial/deploy/recall.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/deploy/recall.py -------------------------------------------------------------------------------- /simpleredial/deploy/rerank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/deploy/rerank.py -------------------------------------------------------------------------------- /simpleredial/deploy/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/deploy/utils.py -------------------------------------------------------------------------------- /simpleredial/es/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/es/README.md -------------------------------------------------------------------------------- /simpleredial/es/__init__.py: -------------------------------------------------------------------------------- 1 | from .es_utils import * 2 | -------------------------------------------------------------------------------- /simpleredial/es/bm25_gray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/es/bm25_gray.py -------------------------------------------------------------------------------- /simpleredial/es/es_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/es/es_utils.py -------------------------------------------------------------------------------- /simpleredial/es/init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/es/init.py -------------------------------------------------------------------------------- /simpleredial/header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/header.py -------------------------------------------------------------------------------- /simpleredial/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/README.md -------------------------------------------------------------------------------- /simpleredial/inference_utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/__init__.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/compare_test_recall.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/compare_test_recall.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/data_augmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/data_augmentation.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/data_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/data_filter.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/gray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/gray.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/gray_extend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/gray_extend.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/gray_hard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/gray_hard.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/gray_one2many.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/gray_one2many.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/gray_one2many_ctx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/gray_one2many_ctx.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/gray_one2many_res.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/gray_one2many_res.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/gray_one2many_with_source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/gray_one2many_with_source.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/gray_simcse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/gray_simcse.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/gray_simcse_unlikelyhood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/gray_simcse_unlikelyhood.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/gray_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/gray_test.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/response.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/response_with_source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/response_with_source.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/self_play.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/self_play.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/unparallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/unparallel.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/utils.py -------------------------------------------------------------------------------- /simpleredial/inference_utils/writer_with_source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/inference_utils/writer_with_source.py -------------------------------------------------------------------------------- /simpleredial/init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/init.py -------------------------------------------------------------------------------- /simpleredial/model/AugmentationModels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/AugmentationModels/__init__.py -------------------------------------------------------------------------------- /simpleredial/model/AugmentationModels/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/AugmentationModels/agent.py -------------------------------------------------------------------------------- /simpleredial/model/AugmentationModels/bert_mask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/AugmentationModels/bert_mask.py -------------------------------------------------------------------------------- /simpleredial/model/AugmentationModels/bert_mask_dmr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/AugmentationModels/bert_mask_dmr.py -------------------------------------------------------------------------------- /simpleredial/model/AugmentationModels/bert_mask_sep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/AugmentationModels/bert_mask_sep.py -------------------------------------------------------------------------------- /simpleredial/model/CompareInteractionModels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/CompareInteractionModels/__init__.py -------------------------------------------------------------------------------- /simpleredial/model/CompareInteractionModels/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/CompareInteractionModels/agent.py -------------------------------------------------------------------------------- /simpleredial/model/CompareInteractionModels/bert_ft_compare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/CompareInteractionModels/bert_ft_compare.py -------------------------------------------------------------------------------- /simpleredial/model/CompareInteractionModels/bert_ft_compare_multi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/CompareInteractionModels/bert_ft_compare_multi.py -------------------------------------------------------------------------------- /simpleredial/model/CompareInteractionModels/dual_bert_comp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/CompareInteractionModels/dual_bert_comp.py -------------------------------------------------------------------------------- /simpleredial/model/CompareInteractionModels/dual_bert_compare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/CompareInteractionModels/dual_bert_compare.py -------------------------------------------------------------------------------- /simpleredial/model/InteractionModels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/InteractionModels/__init__.py -------------------------------------------------------------------------------- /simpleredial/model/InteractionModels/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/InteractionModels/agent.py -------------------------------------------------------------------------------- /simpleredial/model/InteractionModels/bert_fp_original.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/InteractionModels/bert_fp_original.py -------------------------------------------------------------------------------- /simpleredial/model/InteractionModels/bert_ft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/InteractionModels/bert_ft.py -------------------------------------------------------------------------------- /simpleredial/model/InteractionModels/sa_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/InteractionModels/sa_bert.py -------------------------------------------------------------------------------- /simpleredial/model/LanguageModels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/LanguageModels/__init__.py -------------------------------------------------------------------------------- /simpleredial/model/LanguageModels/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/LanguageModels/agent.py -------------------------------------------------------------------------------- /simpleredial/model/LanguageModels/gpt2lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/LanguageModels/gpt2lm.py -------------------------------------------------------------------------------- /simpleredial/model/LatentInteractionModels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/LatentInteractionModels/__init__.py -------------------------------------------------------------------------------- /simpleredial/model/LatentInteractionModels/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/LatentInteractionModels/agent.py -------------------------------------------------------------------------------- /simpleredial/model/LatentInteractionModels/dual_bert_compare.bak2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/LatentInteractionModels/dual_bert_compare.bak2.py -------------------------------------------------------------------------------- /simpleredial/model/LatentInteractionModels/poly_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/LatentInteractionModels/poly_encoder.py -------------------------------------------------------------------------------- /simpleredial/model/PostTrainModels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/PostTrainModels/__init__.py -------------------------------------------------------------------------------- /simpleredial/model/PostTrainModels/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/PostTrainModels/agent.py -------------------------------------------------------------------------------- /simpleredial/model/PostTrainModels/bert_fp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/PostTrainModels/bert_fp.py -------------------------------------------------------------------------------- /simpleredial/model/PostTrainModels/bert_fp_comp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/PostTrainModels/bert_fp_comp.py -------------------------------------------------------------------------------- /simpleredial/model/PostTrainModels/bert_fp_monolingual.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/PostTrainModels/bert_fp_monolingual.py -------------------------------------------------------------------------------- /simpleredial/model/PostTrainModels/bert_fp_multi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/PostTrainModels/bert_fp_multi.py -------------------------------------------------------------------------------- /simpleredial/model/PostTrainModels/bert_fp_no_cls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/PostTrainModels/bert_fp_no_cls.py -------------------------------------------------------------------------------- /simpleredial/model/PostTrainModels/dual_bert_unsup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/PostTrainModels/dual_bert_unsup.py -------------------------------------------------------------------------------- /simpleredial/model/PostTrainModels/simcse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/PostTrainModels/simcse.py -------------------------------------------------------------------------------- /simpleredial/model/RAGenerationModels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RAGenerationModels/__init__.py -------------------------------------------------------------------------------- /simpleredial/model/RAGenerationModels/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RAGenerationModels/agent.py -------------------------------------------------------------------------------- /simpleredial/model/RAGenerationModels/dual_bert_phrase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RAGenerationModels/dual_bert_phrase.py -------------------------------------------------------------------------------- /simpleredial/model/RAGenerationModels/ragpt2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RAGenerationModels/ragpt2.py -------------------------------------------------------------------------------- /simpleredial/model/RAGenerationModels/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RAGenerationModels/utils.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/__init__.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/agent.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_adv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_adv.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_bow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_bow.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_cl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_cl.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_cosine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_cosine.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_ctx_cut.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_ctx_cut.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_ext_neg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_ext_neg.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_fusion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_fusion.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_fusion_gray_writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_fusion_gray_writer.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_gray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_gray.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_gray_writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_gray_writer.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_hier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_hier.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_hn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_hn.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_ishn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_ishn.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_memory.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_mixup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_mixup.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_ml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_ml.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_multi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_multi.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_oa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_oa.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_one2many.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_one2many.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_phrase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_phrase.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_pos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_pos.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_proj.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_proj.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_pt.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_random.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_random.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_sa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_sa.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_semi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_semi.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_shuffle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_shuffle.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/dual_bert_triplet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/dual_bert_triplet.py -------------------------------------------------------------------------------- /simpleredial/model/RepresentationModels/hash_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/RepresentationModels/hash_bert.py -------------------------------------------------------------------------------- /simpleredial/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/__init__.py -------------------------------------------------------------------------------- /simpleredial/model/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/utils/__init__.py -------------------------------------------------------------------------------- /simpleredial/model/utils/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/utils/base.py -------------------------------------------------------------------------------- /simpleredial/model/utils/fg_metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/utils/fg_metric.py -------------------------------------------------------------------------------- /simpleredial/model/utils/gen_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/utils/gen_utils.py -------------------------------------------------------------------------------- /simpleredial/model/utils/generation_utils.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simpleredial/model/utils/grl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/utils/grl.py -------------------------------------------------------------------------------- /simpleredial/model/utils/header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/utils/header.py -------------------------------------------------------------------------------- /simpleredial/model/utils/speaker_aware_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/utils/speaker_aware_models.py -------------------------------------------------------------------------------- /simpleredial/model/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/model/utils/utils.py -------------------------------------------------------------------------------- /simpleredial/scripts/build_es_index.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/build_es_index.sh -------------------------------------------------------------------------------- /simpleredial/scripts/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/deploy.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_context.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_context.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_da.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_da.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_data_filter.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_data_filter.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_ext_dialog.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_ext_dialog.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_full_ctx_res.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_full_ctx_res.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_gray.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_gray.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_gray_hard.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_gray_hard.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_gray_one2many.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_gray_one2many.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_gray_one2many_with_source.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_gray_one2many_with_source.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_gray_res_search_ctx.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_gray_res_search_ctx.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_gray_simcse.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_gray_simcse.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_gray_simcse_unlikelyhood.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_gray_simcse_unlikelyhood.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_gray_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_gray_test.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_response.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_response.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_response_with_source.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_response_with_source.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_self_play.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_self_play.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_simcse_response.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_simcse_response.sh -------------------------------------------------------------------------------- /simpleredial/scripts/inference_simcse_unlikelyhood_response.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/inference_simcse_unlikelyhood_response.sh -------------------------------------------------------------------------------- /simpleredial/scripts/search_es_index.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/search_es_index.sh -------------------------------------------------------------------------------- /simpleredial/scripts/test_api.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/test_api.sh -------------------------------------------------------------------------------- /simpleredial/scripts/test_api_pipeline.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/test_api_pipeline.sh -------------------------------------------------------------------------------- /simpleredial/scripts/test_comparison.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/test_comparison.sh -------------------------------------------------------------------------------- /simpleredial/scripts/test_es_recall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/test_es_recall.sh -------------------------------------------------------------------------------- /simpleredial/scripts/test_fg_rerank.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/test_fg_rerank.sh -------------------------------------------------------------------------------- /simpleredial/scripts/test_generation.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/test_generation.sh -------------------------------------------------------------------------------- /simpleredial/scripts/test_horse_human.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/test_horse_human.sh -------------------------------------------------------------------------------- /simpleredial/scripts/test_recall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/test_recall.sh -------------------------------------------------------------------------------- /simpleredial/scripts/test_rerank.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/test_rerank.sh -------------------------------------------------------------------------------- /simpleredial/scripts/test_rerank_time.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/test_rerank_time.sh -------------------------------------------------------------------------------- /simpleredial/scripts/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/train.sh -------------------------------------------------------------------------------- /simpleredial/scripts/train_cl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/scripts/train_cl.sh -------------------------------------------------------------------------------- /simpleredial/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/test.py -------------------------------------------------------------------------------- /simpleredial/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/test_api.py -------------------------------------------------------------------------------- /simpleredial/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/train.py -------------------------------------------------------------------------------- /simpleredial/train_curriculum_learning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmftbyGMFTBY/SimpleReDial-v1/HEAD/simpleredial/train_curriculum_learning.py --------------------------------------------------------------------------------