princeton-nlp / PURE

[NAACL 2021] A Frustratingly Easy Approach for Entity and Relation Extraction https://arxiv.org/abs/2010.12812
MIT License
790 stars 122 forks source link

Add auto-populate task labels based on data #48

Open prasang-gupta opened 2 years ago

prasang-gupta commented 2 years ago

Implemented changes primarily in shared/const.py to enable auto-populating NER and REL labels based on data (apart from the standard labels present for ace04, ace05 and scierc). Changes include: