chanind / frame-semantic-transformer

Frame Semantic Parser based on T5 and FrameNet
https://chanind.github.io/frame-semantic-transformer
MIT License
51 stars 10 forks source link

perf: minor performance improvements for arg extraction and frame detection #15

Closed chanind closed 1 year ago

chanind commented 1 year ago

This PR slightly improves arg extraction and frame detection F1 due to smarter post-processing of T5 outputs. It also refactors some of the training / evaluation to make it easier to run standalone evaluation. It also changes the format of the training output filenames to have more information about validation F1 scores in a more machine-parsable format.