question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NER Scores at spaCy 3.0 ?

See original GitHub issue

I wonder if, with spaCy 3.0, we will finally get a way to extract the NER entities sconfidence scores. I have the impression that it is an upcomming feature, by some of the commits that I’ve been looking at (like this one), but I did not find anything regarding that on the documentation.

With spaCy 2.x, I used a method proposed by #3996, #881, #831 and finally #5917. However, it does not work anymore, giving me the following error message: AttributeError: 'English' object has no attribute 'entity'

Your Environment

  • Operating System: Windows 10
  • Python Version Used: 3.8
  • spaCy Version Used: 3.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
polmcommented, Aug 3, 2021

@metalaureate If you have a question about usage the right place to ask is in Discussions.

That article looks like a generic NER tutorial, maybe try following the training docs or looking at the example projects. If you’d like more details please open a discussion thread.

1reaction
svlandegcommented, Dec 29, 2020

Oh, I thought you said you were using 2.x. But yea, for 3.0 it’s work in progress. I think we can close this feature request and merge it with https://github.com/explosion/spaCy/issues/5917.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spacy 3 Confidence Score on Named-Entity recognition
It fails miserably for my real models (5000 docs ~4k text each, training NER f-scores about 75%). By 'miserably' I mean the 'greedy'...
Read more >
Training Pipelines & Models · spaCy Usage Documentation
In this example, the labeled dependency accuracy and NER F-score count towards the final score with 40% each and the tagging accuracy makes...
Read more >
Meaning of NER Training values using Spacy
The score column shows the overall score of the pipeline, which may or may not be a weighted more to specific subtasks. Share....
Read more >
How to output / compute an NER model F1 score under spaCy ...
I have been training a NER model with spacy 3.0. However, I didn't find any guide on how to output model's F1 score...
Read more >
Using spaCy 3.0 to build a custom NER model | by Zachary Lim
Essentially, in Spacy v3, there has been a shift toward training your model pipelines using the spacy train command on the command line...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found