Skip to content

xinyadu/grit_doc_event_entity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRIT: Generative Role-filler Transformers for Document-level Event Entity Extraction (link) EACL'21

Dependencies

  • Python 3.6.10
  • Transformers: transformers 2.4.1 installed from source.
  • Pytorch-Lightning==0.7.1
  • Pytorch==1.4.0
  • seqeval

Dataset

  • ./data/muc, refer to ./data/muc/README.md for details

Eval

  • import eval_ceaf, from eval import eval_ceaf, read eval.py for details
  • eval on preds.out python eval.py --pred_file model_gtt/preds_s_t.out
  • run simple test case: python test_cases_eval.py

GRIT model

Citation

If you use materials in this repo helpful, please cite.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published