Skip to content
Discussion options

You must be logged in to vote

Hi @nsrinidhibhat ,

  • Spancat's default scorer currently uses the LinearLogistic layer. This means that it's treating each class independently, hence their confidences do not sum up to 1. This works in theory because we want spancat to work with overlapping entities. But if you have exclusive classes, you might need to change the scorer to Softmax.
  • The classification part of spancat works as a multilabel classification problem, so no, it doesn't try to predict label(s) one by one. Instead, what happens is that you have an array of confidence scores (per label) and you try to obtain the argmax of that array. Right now, there's no concept of "no label" in spancat. In addition, the LinearLogi…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@ljvmiranda921
Comment options

@lanchiang
Comment options

@ljvmiranda921
Comment options

@lanchiang
Comment options

@jamnicki
Comment options

Answer selected by nsrinidhibhat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / scorer Feature: Scorer feat / spancat Feature: Span Categorizer
5 participants