├── DialogueDiscourseParsing ├── Agent.py ├── Model.py ├── NonStructured_Encoder.py ├── Structured_Encoder.py ├── convert_to_dp.py ├── data │ └── processed_data │ │ ├── test.json │ │ └── train.json ├── data_pre.py ├── libs │ ├── __init__.py │ ├── dropout.py │ └── rnn_cell_impl.py ├── main.py ├── main_inference.py └── utils.py ├── README.md ├── construct_tree_mapping.py ├── convert.py ├── data ├── dev_snippet_parsed.json ├── train_snippet_parsed.json ├── trees_mapping_electra-large-discriminator_dev_base.json └── trees_mapping_electra-large-discriminator_train_base.json ├── evaluator.py ├── fix_question.py ├── model ├── decision.py ├── decision_baseline.py ├── decision_gcn.py ├── decision_rulemask.py ├── decision_sys.py ├── decision_sys_elec.py ├── gcn.py ├── span.py └── transformer.py ├── preprocess_decision_base.py ├── preprocess_span.py ├── qg.py ├── segedu ├── all_vocabulary.pickle ├── model.py ├── preprocess_discourse_segment.py ├── sharc_discourse_segmentation.py ├── solver.py └── trained_model.torchsave ├── train_sharc.py └── unilmqg ├── __init__.py ├── biunilm ├── __init__.py ├── decode_seq2seq.py ├── evaluator.py ├── gen_seq_from_trace.py ├── loader_utils.py ├── run_seq2seq.py └── seq2seq_loader.py ├── nn ├── __init__.py └── data_parallel.py ├── pytorch_pretrained_bert ├── __init__.py ├── __main__.py ├── file_utils.py ├── loss.py ├── modeling.py ├── optimization.py ├── optimization_fp16.py └── tokenization.py └── setup.py /DialogueDiscourseParsing/Agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/Agent.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/Model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/Model.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/NonStructured_Encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/NonStructured_Encoder.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/Structured_Encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/Structured_Encoder.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/convert_to_dp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/convert_to_dp.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/data/processed_data/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/data/processed_data/test.json -------------------------------------------------------------------------------- /DialogueDiscourseParsing/data/processed_data/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/data/processed_data/train.json -------------------------------------------------------------------------------- /DialogueDiscourseParsing/data_pre.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/data_pre.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/libs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/libs/__init__.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/libs/dropout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/libs/dropout.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/libs/rnn_cell_impl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/libs/rnn_cell_impl.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/main.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/main_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/main_inference.py -------------------------------------------------------------------------------- /DialogueDiscourseParsing/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/DialogueDiscourseParsing/utils.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/README.md -------------------------------------------------------------------------------- /construct_tree_mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/construct_tree_mapping.py -------------------------------------------------------------------------------- /convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/convert.py -------------------------------------------------------------------------------- /data/dev_snippet_parsed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/data/dev_snippet_parsed.json -------------------------------------------------------------------------------- /data/train_snippet_parsed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/data/train_snippet_parsed.json -------------------------------------------------------------------------------- /data/trees_mapping_electra-large-discriminator_dev_base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/data/trees_mapping_electra-large-discriminator_dev_base.json -------------------------------------------------------------------------------- /data/trees_mapping_electra-large-discriminator_train_base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/data/trees_mapping_electra-large-discriminator_train_base.json -------------------------------------------------------------------------------- /evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/evaluator.py -------------------------------------------------------------------------------- /fix_question.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/fix_question.py -------------------------------------------------------------------------------- /model/decision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/model/decision.py -------------------------------------------------------------------------------- /model/decision_baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/model/decision_baseline.py -------------------------------------------------------------------------------- /model/decision_gcn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/model/decision_gcn.py -------------------------------------------------------------------------------- /model/decision_rulemask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/model/decision_rulemask.py -------------------------------------------------------------------------------- /model/decision_sys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/model/decision_sys.py -------------------------------------------------------------------------------- /model/decision_sys_elec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/model/decision_sys_elec.py -------------------------------------------------------------------------------- /model/gcn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/model/gcn.py -------------------------------------------------------------------------------- /model/span.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/model/span.py -------------------------------------------------------------------------------- /model/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/model/transformer.py -------------------------------------------------------------------------------- /preprocess_decision_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/preprocess_decision_base.py -------------------------------------------------------------------------------- /preprocess_span.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/preprocess_span.py -------------------------------------------------------------------------------- /qg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/qg.py -------------------------------------------------------------------------------- /segedu/all_vocabulary.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/segedu/all_vocabulary.pickle -------------------------------------------------------------------------------- /segedu/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/segedu/model.py -------------------------------------------------------------------------------- /segedu/preprocess_discourse_segment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/segedu/preprocess_discourse_segment.py -------------------------------------------------------------------------------- /segedu/sharc_discourse_segmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/segedu/sharc_discourse_segmentation.py -------------------------------------------------------------------------------- /segedu/solver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/segedu/solver.py -------------------------------------------------------------------------------- /segedu/trained_model.torchsave: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/segedu/trained_model.torchsave -------------------------------------------------------------------------------- /train_sharc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/train_sharc.py -------------------------------------------------------------------------------- /unilmqg/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unilmqg/biunilm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unilmqg/biunilm/decode_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/biunilm/decode_seq2seq.py -------------------------------------------------------------------------------- /unilmqg/biunilm/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/biunilm/evaluator.py -------------------------------------------------------------------------------- /unilmqg/biunilm/gen_seq_from_trace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/biunilm/gen_seq_from_trace.py -------------------------------------------------------------------------------- /unilmqg/biunilm/loader_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/biunilm/loader_utils.py -------------------------------------------------------------------------------- /unilmqg/biunilm/run_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/biunilm/run_seq2seq.py -------------------------------------------------------------------------------- /unilmqg/biunilm/seq2seq_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/biunilm/seq2seq_loader.py -------------------------------------------------------------------------------- /unilmqg/nn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unilmqg/nn/data_parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/nn/data_parallel.py -------------------------------------------------------------------------------- /unilmqg/pytorch_pretrained_bert/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/pytorch_pretrained_bert/__init__.py -------------------------------------------------------------------------------- /unilmqg/pytorch_pretrained_bert/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/pytorch_pretrained_bert/__main__.py -------------------------------------------------------------------------------- /unilmqg/pytorch_pretrained_bert/file_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/pytorch_pretrained_bert/file_utils.py -------------------------------------------------------------------------------- /unilmqg/pytorch_pretrained_bert/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/pytorch_pretrained_bert/loss.py -------------------------------------------------------------------------------- /unilmqg/pytorch_pretrained_bert/modeling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/pytorch_pretrained_bert/modeling.py -------------------------------------------------------------------------------- /unilmqg/pytorch_pretrained_bert/optimization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/pytorch_pretrained_bert/optimization.py -------------------------------------------------------------------------------- /unilmqg/pytorch_pretrained_bert/optimization_fp16.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/pytorch_pretrained_bert/optimization_fp16.py -------------------------------------------------------------------------------- /unilmqg/pytorch_pretrained_bert/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/pytorch_pretrained_bert/tokenization.py -------------------------------------------------------------------------------- /unilmqg/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozyyshr/DGM/HEAD/unilmqg/setup.py --------------------------------------------------------------------------------