GithubHelp home page GithubHelp logo

Comments (4)

ankmathur96 avatar ankmathur96 commented on May 11, 2024

same error - commenting to see if there's a followup

from mt-dnn.

ankmathur96 avatar ankmathur96 commented on May 11, 2024

As an initial diagnosis, it seems that the QNNLI loader starts by loading the QNLI train TSV file, which has 104744 lines including the header. We remove the header, leaving an odd number of lines which fails the assert. This is true for the dev and test set files as well, which have 5464 lines.

I'm not familiar with what data is supposed to be read in, but it seems only 1 of the pairs of lines in the QNLI data actually don't trigger the if statement here. Not sure if that's expected, but seemed weird.

I tried dropping the assert and breaking if there's no subsequent line (if idx+1 >= len(lines)), but that fails on the test set on the assertion here. I tried adding code that simply continues the loop if block1[1] != block2[1].

That code is still running, but it's possible the preprocessing breaking might screw up later stages of the model and might make fine-tuning worse? @namisan please let us know if there's a stable commit that doesn't experience this problem

from mt-dnn.

namisan avatar namisan commented on May 11, 2024

Thanks for suggestions. I've fixed the issue and please refer README for more information.

from mt-dnn.

ankmathur96 avatar ankmathur96 commented on May 11, 2024

Confirmed this works - thanks @namisan!

from mt-dnn.

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.