Giter VIP home page Giter VIP logo

Comments (3)

createmomo avatar createmomo commented on June 2, 2024

Hi doggyChe, thanks for your feedback. As for the first one: in fact, in the CRF layer, only the emission score was from the LSTM outputs. The transition score matrix was a part of the CRF layer. The matrix would be trained during the training phase. In term of the name "CRF" layer, the theory of the CRF layer in the BiLSTM-CRF model is not the same as the original CRF, but the idea is similar to some degree. That might be the reason why some publications called the layer "CRF" layer. Secondly, when computing the total score of all the paths, it is an efficient way to compute the total score by "previous+obs+transitions". "where previous is transposed?" Could you explain the meaning of "transposed" in your question? @doggyChe

from crf-layer-on-the-top-of-bilstm.

Charles-ux-bit avatar Charles-ux-bit commented on June 2, 2024

for question 2, I read your blog again and made the dynamic algorithm clear. it is very beautiful, thanks for explaining this to me. But for question 1, I think the original CRF is based on the observation sequence, I mean there should be many emission matrice and transition matrices, or at least , the input words should be included in the emission and transition matrix, otherwise, the algorithm is just simply count the frequency of labels, because the last output is not observation sequence, but already the labels. Thank you for your reply.

from crf-layer-on-the-top-of-bilstm.

createmomo avatar createmomo commented on June 2, 2024

Yes, the "CRF" layer discussed in the posts was a bit different with the original CRF. But the general idea is similar. Probably you could propose a new and more robust CRF layer and publish a new paper. :)

from crf-layer-on-the-top-of-bilstm.

Related Issues (5)

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.