Code Monkey home page Code Monkey logo

Comments (5)

nreimers avatar nreimers commented on August 22, 2024

Hi,
the development and test score is computed every epoch.

The system further remembers what the epoch with the best development score was. It shows than in every epoch also the dev & test score from the epoch that had so far the best development score.

If the current epoch has the best dev score, it shows the dev & test score from that epoch.

from emnlp2017-bilstm-cnn-crf.

 avatar commented on August 22, 2024

Hi thanks,

Are the actual predictions made by classifier written somewhere?

from emnlp2017-bilstm-cnn-crf.

nreimers avatar nreimers commented on August 22, 2024

The actual predictions are not written to disk during training. However, when you safe the model you can load it and use it for predictions. The git contains several examples how to load the models. For example, see the RunModel_CoNLL_Format.py

If you would like to have the predictions during training, you would need to modify the BiLSTM.fit function.

from emnlp2017-bilstm-cnn-crf.

 avatar commented on August 22, 2024

So i need the function to write the predictions made for dev and test set for each epoch written to the respective files. Only BiLSTM.fit needs to be changed for that?

from emnlp2017-bilstm-cnn-crf.

nreimers avatar nreimers commented on August 22, 2024

Yes. BiLSTM.fit predicts the labels for the dev/test set. You just need to add lines so that these predictions (and maybe the gold labels) are stored in a file.

from emnlp2017-bilstm-cnn-crf.

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.