Coder Social home page Coder Social logo

Comments (6)

alphaf52 avatar alphaf52 commented on July 20, 2024

Hi,

I am facing a similar issue when I downloaded the Pretrained Model and then tried to eval on dev-v1.1 using: "python run_piqa.py --do_predict --output_dir tmp --do_load --load_dir model --predict_file dev-v1.1.json --do_eval --gt_file dev-v1.1.json --metadata_dir bert"

The predicted answer seems to be random span, resulting in a metric like: {"exact_match": 0.47303689687795647, "f1": 4.43806570152543}. 0.47% EM means something is totally wrong.

Did I do anything incorrectly? Thanks in advance.

from denspi.

jhyuklee avatar jhyuklee commented on July 20, 2024

Hi, the model at gs://denspi/v1-0/model should work fine. I think the model wasn't loaded properly somehow. Did you try using the full dump provided at gs://denspi/v1-0/dump and run the demo?

from denspi.

pragnakalpdev avatar pragnakalpdev commented on July 20, 2024

Hi,
I have not used the full dump provided at gs://denspi/v1-0/dump, I have created my own custom phrase index. Used the created custom phrase index with the model given at gs://denspi/v1-0/model. I am not getting the correct answers, answers seems to be very random.

from denspi.

jhyuklee avatar jhyuklee commented on July 20, 2024

Hi, i think it's related to #10. Have you tried giving --parallel option when making the dump?

from denspi.

mittalpatel avatar mittalpatel commented on July 20, 2024

Hello @jhyuklee Thanks for your comment. We are in the same team. So consider this fixed as well. 👍

from denspi.

jhyuklee avatar jhyuklee commented on July 20, 2024

Hi @mittalpatel, great! Thank you.

from denspi.

Related Issues (16)

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.