Contestosis
Contestosis

Reputation: 461

How to use seqeval classification_report after having performed NER with HuggingFace transformers?

I have followed this tutorial on a custom dataset of mine, and I have now a trained model.

I would like to use seqeval's classification_report function so that I have a nice display of the performances of my model.

On which data should I call classification_report?

Upvotes: 1

Views: 545

Answers (1)

Billy
Billy

Reputation: 491

You can call the classification_report on your training data first to check if the model trained correctly, after that call it on the test data to check how your model is dealing with data that it didn't see before.

Upvotes: 1

Related Questions