Git Product home page Git Product logo

Comments (6)

azraelkuan avatar azraelkuan commented on August 16, 2024

image

from ncrfpp.

jiesutd avatar jiesutd commented on August 16, 2024

Hi @azraelkuan , the reported value of the n-best is the same as the 1-best, i.e. the acc/p/r/f. They are all the performance of one best. The difference is the decoded text, you will see the decoded text includes 10 label sequences and their probabilities for each sentence.

from ncrfpp.

azraelkuan avatar azraelkuan commented on August 16, 2024

so, how can i use the decoded text with 10 label to get better acc/p/r/f?
what i do is that only choose the first label of 10 to do the evaluation, that is the same with 1 best..

from ncrfpp.

jiesutd avatar jiesutd commented on August 16, 2024

The n-best cannot give better performance in separate. It only provides more abundant predict results rather than the single one. For example, sometimes the gold label sequence is the second best rather than the one best.

The nbest decoding is normally used in reranking models to provide more available candidates. And the rerank system will learn how to choose the best sequence from the n-best candidate. The oracle results I reported is based on an assumption that the rerank system works perfectly to choose the best sequence from the n-best outputs. It is a standard metric to show the upbound of the rerank system. You may search the papers of reranking system for more details, or you can check our rerank paper: http://www.acl-bg.org/proceedings/2017/RANLP%202017/pdf/RANLP101.pdf.

In addition, the n-best decoding can also be used in other areas such as the search engine, which extracts all the recognized entities from the n-best outputs to give a better recommendation.

from ncrfpp.

azraelkuan avatar azraelkuan commented on August 16, 2024

thanks!

from ncrfpp.

caoxu915683474 avatar caoxu915683474 commented on August 16, 2024

hi jiesutd! What is the way you calculate the f1 and acc of n-best you reported in your paper?

from ncrfpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.