Performance by named entity category of spacy/en_core_web_trf #12312
-
Hi, I'm looking for a breakdown of performance scores (ENTS_P, ENTS_R, and ENTS_F) by entity categories for your It'd be really useful to benchmark the performance of the NER model my team has been training (some categories overlap). Is this information available anywhere or could it be made available? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, good question! This information is recorded in the file
All that said - when you're setting out to compare two different models, it's always best to rerun the evaluation yourself for both models, on a totally independent dev set that has zero overlap with the training sets of either models. If you want to accomplish this, you can use |
Beta Was this translation helpful? Give feedback.
Hi, good question! This information is recorded in the file
accuracy.json
that is shipped as part of the model when you download it. So when you've donespacy download en_core_web_trf
you can navigate to where this package sits in your virtual environment, for instance on my system that would be...\venv\Lib\site-packages\en_core_web_trf\en_core_web_trf-3.5.0
. I'll paste the relevant content here for your convenience: