├── .gitignore ├── LICENSE ├── README.md ├── dataset └── DocRED_baseline_metadata │ └── dev_intra_inter.pk └── src ├── __init__.py ├── eval_submmit.py ├── evaluator.py ├── generate_submmit.py ├── main.py ├── model ├── BiLSTM.py ├── __init__.py ├── __pycache__ │ ├── BiLSTM.cpython-37.pyc │ ├── __init__.cpython-37.pyc │ ├── aggcn.cpython-37.pyc │ ├── attention.cpython-37.pyc │ ├── bertClassifier.cpython-37.pyc │ ├── classifier.cpython-37.pyc │ ├── docBilstm.cpython-37.pyc │ ├── gcn.cpython-37.pyc │ ├── gnn.cpython-37.pyc │ ├── graph.cpython-37.pyc │ ├── han.cpython-37.pyc │ ├── interact.cpython-37.pyc │ ├── localEncoder.cpython-37.pyc │ ├── lsr.cpython-37.pyc │ ├── mention_gnn.cpython-37.pyc │ ├── reasoner.cpython-37.pyc │ ├── select.cpython-37.pyc │ ├── tmp_model.cpython-37.pyc │ ├── torch_utils.cpython-37.pyc │ ├── trainer.cpython-37.pyc │ └── transformer.cpython-37.pyc ├── classifier.py ├── docBilstm.py └── localEncoder.py ├── path_dataset.py ├── preprocess ├── __init__.py └── make_dataset_doc_path.py └── script └── local_path.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/README.md -------------------------------------------------------------------------------- /dataset/DocRED_baseline_metadata/dev_intra_inter.pk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/dataset/DocRED_baseline_metadata/dev_intra_inter.pk -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/eval_submmit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/eval_submmit.py -------------------------------------------------------------------------------- /src/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/evaluator.py -------------------------------------------------------------------------------- /src/generate_submmit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/generate_submmit.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/main.py -------------------------------------------------------------------------------- /src/model/BiLSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/BiLSTM.py -------------------------------------------------------------------------------- /src/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/model/__pycache__/BiLSTM.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/BiLSTM.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/aggcn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/aggcn.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/attention.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/attention.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/bertClassifier.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/bertClassifier.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/classifier.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/classifier.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/docBilstm.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/docBilstm.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/gcn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/gcn.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/gnn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/gnn.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/graph.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/graph.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/han.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/han.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/interact.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/interact.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/localEncoder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/localEncoder.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/lsr.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/lsr.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/mention_gnn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/mention_gnn.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/reasoner.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/reasoner.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/select.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/select.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/tmp_model.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/tmp_model.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/torch_utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/torch_utils.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/trainer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/trainer.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/__pycache__/transformer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/__pycache__/transformer.cpython-37.pyc -------------------------------------------------------------------------------- /src/model/classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/classifier.py -------------------------------------------------------------------------------- /src/model/docBilstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/docBilstm.py -------------------------------------------------------------------------------- /src/model/localEncoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/model/localEncoder.py -------------------------------------------------------------------------------- /src/path_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/path_dataset.py -------------------------------------------------------------------------------- /src/preprocess/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/preprocess/make_dataset_doc_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/preprocess/make_dataset_doc_path.py -------------------------------------------------------------------------------- /src/script/local_path.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewZhe/Three-Sentences-Are-All-You-Need/HEAD/src/script/local_path.sh --------------------------------------------------------------------------------