Giter Site home page Giter Site logo

evaluate and test about presumm HOT 6 CLOSED

nlpyang avatar nlpyang commented on July 21, 2024
evaluate and test

from presumm.

Comments (6)

astariul avatar astariul commented on July 21, 2024 1

@antonysama

He meant in your evaluation command, you should replace -bert_data_path ~/o3/PreSumm/bert_data/ into -bert_data_path ~/o3/PreSumm/bert_data/cnndm

from presumm.

eridgd avatar eridgd commented on July 21, 2024

Change -bert_data_path ~/o3/PreSumm/bert_data/ to -bert_data_path ~/o3/PreSumm/bert_data/cnndm, it will append the .valid/test.pt to that.

from presumm.

antonysama avatar antonysama commented on July 21, 2024

@eridgd,

Thanks. The pre- processing steps change the json file 'cnndm_sample.train.0.bert.json' to torch file, 'cnndm_sample.train.0.bert.pt' . The torch file remains with that name throughout the training steps (ex, ab, & ex-ab). It doesn't give me the 'cnndm', which you showed. But I tried appending my torch file like you showed, to no avail : ( (all steps are documented : https://github.com/antonysama/PreSumm/blob/master/README.md).

from presumm.

antonysama avatar antonysama commented on July 21, 2024

@eridgd, @colanim,

How do you get the 'cnndm' file? Because I get 'cnndm_sample.train.0.bert.pt' after preprocessing, and even after training. I'm missing something between the processing and training, and that's the cnndm file you mention.

from presumm.

astariul avatar astariul commented on July 21, 2024

@antonysama
There is no cnndm file

Specifying -bert_data_path ~/o3/PreSumm/bert_data/cnndm is just a way to indicate to the code the folder with the root name of your training files. So if you have data from another dataset, you can put it in the same folder with a different root name.

Just try to run the same command with this option, without changing anything else.


Note : If you data files start with cnndm_sample, you might need to change the option to -bert_data_path ~/o3/PreSumm/bert_data/cnndm_sample

from presumm.

antonysama avatar antonysama commented on July 21, 2024

Thanks, I'll try this. Much appreciated.

from presumm.

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.