Giter Club home page Giter Club logo

zerogen's Issues

Label leakage during zero-shot evaluation of Classification and NLI datasets

Hi. From my understanding, there could be a label leakage in the prompt when doing zero-shot evaluation with Classification and NLI datasets?

I am seeing in the code, the following prompts are used (using imdb-zero-shot.json as an example):

  • Positive (label=0)
    The movie review in positive sentiment is: "<X>"

  • Negative (label=1)
    The movie review in negative sentiment is: "<X>"
    where <X> is replaced with the movie review, before feeding it to GPT-2.

The words "positive" and "negative" are not replaced. This is seems like label leakage. I don't see any code where this is removed in the zero-shot baseline

So it seems to me like the Prompting baseline in ZeroGen is incorrect and overestimates the true value.

Would love to hear your thoughts.

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.