dwadden / dygiepp

Span-based system for named entity, relation, and event extraction.
MIT License
573 stars 120 forks source link

train model with new event tags #85

Closed unlimit11 closed 2 years ago

unlimit11 commented 2 years ago

hi, thanks for sharing your interesting project and idea. i want to train the event classification model based on a new dataset that labels are different from ace. please advise how can I introduce the available event tags to the model?

dwadden commented 2 years ago

Hi,

You can write your own preprocessing code to get the dataset into the format DyGIE++ expects, and then run the ACE event training script, but with the file paths changed to point to your new data.

For more info, see the Working with new datasets section of the README, and also the doc describing the data. Let me know if you have specific questions.