Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which file contains label data for QA. #5

Open
librahu opened this issue Sep 9, 2024 · 1 comment
Open

Which file contains label data for QA. #5

librahu opened this issue Sep 9, 2024 · 1 comment

Comments

@librahu
Copy link

librahu commented Sep 9, 2024

Only COT is contained in generated_ood_data.zip.
I wonder where can I find the generated QA data (including question and answer) .

@asaparov
Copy link
Owner

asaparov commented Sep 9, 2024

Hello,

generated_ood_data.zip contains questions, for example in 1hop_AndElim_random_noadj.json:

"example2": {
  ...,
  "test_example": {
   "question": "Shumpuses are grimpuses and lorpuses. Every sterpus is a lempus and a shumpus. Each lempus is a wumpus and a vumpus. Each vumpus is a numpus and an impus. Zumpuses are fruity and yumpuses. Max is an impus and a numpus. Max is a vumpus and a lempus.",
   "query": "Prove: Max is a lempus.",
   "chain_of_thought": [
    "Max is a vumpus and a lempus.",
    "Max is a lempus."
   ]
  }
}

But note that this is the OOD version of PrOntoQA, where we only ask for proofs and not labels (i.e. true or false), and so the CoT is the answer. If you want to use data where each example has a label, you can generate examples using run_experiment.py and omitting the flag --proofs-only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants