Code Monkey home page Code Monkey logo

Comments (7)

DevinJake avatar DevinJake commented on July 29, 2024

Hi, Snnzhao.
Don't worry, the training time of webquestionssp is much less than CSQA, which cost several hours to finish training.
We are working on cleaning the code and will upload the code together with the dataset very soon.

As to pre-training, we employed a teacher-forcing paradigm to train the model and will provide the code once we finish cleaning the code.

from ns-cqa.

Snnzhao avatar Snnzhao commented on July 29, 2024

Thanks for that.
And thanks again for providing such outstanding work

from ns-cqa.

DevinJake avatar DevinJake commented on July 29, 2024

I am interested with your pretraining process but I can not find the code for it.
Could you please provide the code for it?
Since CSQA is a very big dataset, running your work on it take a lot of time.
It will help a lot if you can provide the work on Webquestions SP

Hi, Snnzhao:

We have uploaded the source code 'train_crossent.py' and the corresponding dataset for pre-training.
You could check them for details.

If you want to pre-train the models by yourself, you could:

  1. Download the 'PT_train_INT.question' and 'PT_train_INT.action' from the data link https://drive.google.com/drive/folders/1J8C2AQ1PmzBWKKmgeSMRSWgMTVjJbbbI. Put them under the folder 'data\auto_QA_data\mask_even_1.0%'. The files are the pseudo-gold annotations that were formed by using the BFS algorithm.
  2. Run python file 'S2SRL\train_crossent.py'.
  3. Under the folder 'data\saves\pretrained' you could find the models, which are trained under the teacher-forcing paradigm. The models are named following the format 'pre_bleu_TestingScore_numberOfEpochs.dat'. Normally we chose the model with the highest bleu testing score as the pre-trained model for following RL training. Or you could choose whatever model you like.
  4. The performance of the chosen model might have a tiny difference between the uploaded pre-trained model 'pre_bleu_0.956_43.dat'. We recommend you to choose 'pre_bleu_0.956_43.dat' for re-implementation.

We also update the README to explain how to conduct pre-training.
Cheers!

from ns-cqa.

Snnzhao avatar Snnzhao commented on July 29, 2024

Hi, DevinJake.
Thanks for your newly updated code for pretraining, that helps a lot.

from ns-cqa.

Snnzhao avatar Snnzhao commented on July 29, 2024

Also, looking forward to your experiment on WebquestionSP.
Thanks again for providing such outstanding work.

from ns-cqa.

Snnzhao avatar Snnzhao commented on July 29, 2024

The files are the pseudo-gold annotations that were formed by using the BFS algorithm.

Hi, DevinJake.
Could you also provide the code for generating the pseudo-gold annotations?
I am also interested in this part of your talent work.

from ns-cqa.

DevinJake avatar DevinJake commented on July 29, 2024

Also, looking forward to your experiment on WebquestionSP.
Thanks again for providing such outstanding work.

Hi, Snnzhao,
We have uploaded the codes and the materials related to the webquestionssp dataset and updated the README as well.
Please refer to them to try to re-implement the models under the webquestionssp dataset.
Cheers!

from ns-cqa.

Related Issues (7)

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.