dwadden / dygiepp

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

How to print the prediction of the trained models? #116

Closed vuducanh0802 closed 1 year ago

vuducanh0802 commented 1 year ago

Hi,

Thanks for the detailed code and careful instructions. I would like to print out the prediction of the trained models for visualization. May I ask whether you had the code for this?

dwadden commented 1 year ago

Unfortunately, i don't think the code directly supports this. You can certainly save the predictions out to a file. Other than that, you can always insert print statements to view the output_dict of predictions.

vuducanh0802 commented 1 year ago

Thank you for the response, keep up the good work !