├── .gitignore ├── LICENSE ├── README.md ├── data └── muc │ ├── README.md │ ├── processed │ ├── dev.json │ ├── docids_entity_avg_m.json │ ├── docids_overlap_ind_org.json │ ├── pretty_dev.json │ ├── pretty_test.json │ ├── pretty_train.json │ ├── test.json │ └── train.json │ ├── raw_files │ ├── .DS_Store │ ├── muc34.tar.gz │ ├── proc_output │ │ ├── doc_dev │ │ ├── doc_test │ │ ├── doc_train │ │ ├── keys_dev │ │ ├── keys_test │ │ └── keys_train │ └── raw_scripts │ │ ├── README.md │ │ ├── go_proc_doc.sh │ │ ├── go_proc_keys.sh │ │ ├── proc_keys.py │ │ └── proc_texts.py │ └── scripts │ ├── dataset_analysis.py │ ├── get_docids_avg_m.py │ ├── get_docids_overlap_ind_org.py │ ├── num_mention_per_entity.py │ └── preprocess.py ├── eval.py ├── figs ├── architecture.png └── task.png ├── model_grit ├── README.md ├── preds_s_t.out ├── preds_s_t_no_offset_constraint.out ├── preds_s_t_sep_downweigh.out ├── run_pl.sh ├── run_pl_debug.sh ├── run_pl_s_t.py ├── transformer_base.py └── utils_s_t.py └── test_cases_eval.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/README.md -------------------------------------------------------------------------------- /data/muc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/README.md -------------------------------------------------------------------------------- /data/muc/processed/dev.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/processed/dev.json -------------------------------------------------------------------------------- /data/muc/processed/docids_entity_avg_m.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/processed/docids_entity_avg_m.json -------------------------------------------------------------------------------- /data/muc/processed/docids_overlap_ind_org.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/processed/docids_overlap_ind_org.json -------------------------------------------------------------------------------- /data/muc/processed/pretty_dev.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/processed/pretty_dev.json -------------------------------------------------------------------------------- /data/muc/processed/pretty_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/processed/pretty_test.json -------------------------------------------------------------------------------- /data/muc/processed/pretty_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/processed/pretty_train.json -------------------------------------------------------------------------------- /data/muc/processed/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/processed/test.json -------------------------------------------------------------------------------- /data/muc/processed/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/processed/train.json -------------------------------------------------------------------------------- /data/muc/raw_files/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/.DS_Store -------------------------------------------------------------------------------- /data/muc/raw_files/muc34.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/muc34.tar.gz -------------------------------------------------------------------------------- /data/muc/raw_files/proc_output/doc_dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/proc_output/doc_dev -------------------------------------------------------------------------------- /data/muc/raw_files/proc_output/doc_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/proc_output/doc_test -------------------------------------------------------------------------------- /data/muc/raw_files/proc_output/doc_train: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/proc_output/doc_train -------------------------------------------------------------------------------- /data/muc/raw_files/proc_output/keys_dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/proc_output/keys_dev -------------------------------------------------------------------------------- /data/muc/raw_files/proc_output/keys_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/proc_output/keys_test -------------------------------------------------------------------------------- /data/muc/raw_files/proc_output/keys_train: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/proc_output/keys_train -------------------------------------------------------------------------------- /data/muc/raw_files/raw_scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/raw_scripts/README.md -------------------------------------------------------------------------------- /data/muc/raw_files/raw_scripts/go_proc_doc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/raw_scripts/go_proc_doc.sh -------------------------------------------------------------------------------- /data/muc/raw_files/raw_scripts/go_proc_keys.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/raw_scripts/go_proc_keys.sh -------------------------------------------------------------------------------- /data/muc/raw_files/raw_scripts/proc_keys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/raw_scripts/proc_keys.py -------------------------------------------------------------------------------- /data/muc/raw_files/raw_scripts/proc_texts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/raw_files/raw_scripts/proc_texts.py -------------------------------------------------------------------------------- /data/muc/scripts/dataset_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/scripts/dataset_analysis.py -------------------------------------------------------------------------------- /data/muc/scripts/get_docids_avg_m.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/scripts/get_docids_avg_m.py -------------------------------------------------------------------------------- /data/muc/scripts/get_docids_overlap_ind_org.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/scripts/get_docids_overlap_ind_org.py -------------------------------------------------------------------------------- /data/muc/scripts/num_mention_per_entity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/scripts/num_mention_per_entity.py -------------------------------------------------------------------------------- /data/muc/scripts/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/data/muc/scripts/preprocess.py -------------------------------------------------------------------------------- /eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/eval.py -------------------------------------------------------------------------------- /figs/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/figs/architecture.png -------------------------------------------------------------------------------- /figs/task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/figs/task.png -------------------------------------------------------------------------------- /model_grit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/model_grit/README.md -------------------------------------------------------------------------------- /model_grit/preds_s_t.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/model_grit/preds_s_t.out -------------------------------------------------------------------------------- /model_grit/preds_s_t_no_offset_constraint.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/model_grit/preds_s_t_no_offset_constraint.out -------------------------------------------------------------------------------- /model_grit/preds_s_t_sep_downweigh.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/model_grit/preds_s_t_sep_downweigh.out -------------------------------------------------------------------------------- /model_grit/run_pl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/model_grit/run_pl.sh -------------------------------------------------------------------------------- /model_grit/run_pl_debug.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/model_grit/run_pl_debug.sh -------------------------------------------------------------------------------- /model_grit/run_pl_s_t.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/model_grit/run_pl_s_t.py -------------------------------------------------------------------------------- /model_grit/transformer_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/model_grit/transformer_base.py -------------------------------------------------------------------------------- /model_grit/utils_s_t.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/model_grit/utils_s_t.py -------------------------------------------------------------------------------- /test_cases_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinyadu/grit_doc_event_entity/HEAD/test_cases_eval.py --------------------------------------------------------------------------------