NER transformer confidence #8918
-
Hi, Anyone have any suggestions or an example to share on how to get a confidence score in this type of model? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You would need to train a spancat model of your own to get the scores. The scores are not yet exposed, but they will be after #8855 goes out, which should be in the next release (>3.1.1); the docs will explain how to access them. If you're feeling adventurous you can try installing from master. The spancat component will work the same whether the input is a Transformer or tok2vec. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer I will try to follow your advice and install from the master 👍 |
Beta Was this translation helpful? Give feedback.
You would need to train a spancat model of your own to get the scores. The scores are not yet exposed, but they will be after #8855 goes out, which should be in the next release (>3.1.1); the docs will explain how to access them. If you're feeling adventurous you can try installing from master.
The spancat component will work the same whether the input is a Transformer or tok2vec.