Skip to content

Skill: Turn a sentence into a question in the simplest form. #1450

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Title of work: Turn a sentence into a question in the simplest form.
License of the work: CC-BY-SA-4.0
Creator names: lpsandrea02
24 changes: 24 additions & 0 deletions compositional_skills/grounded/linguistics/writing/qna.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
created_by: lpsandrea02
version: 3
task_description: >-
Turn a sentence into a question by inverting the first auxiliary verb with the
Subject, or do-support if there is none (a form of 'do').
seed_examples:
- context: Mary was cooking dinner.
question: Turn this sentence into a question.
answer: Was Mary cooking dinner?
- context: Gabby likes jogging.
question: Can you turn this sentence into a question?
answer: Does Gabby like jogging?
- context: Could Joseph have been sick?
question: Make this sentence into a question.
answer: Joseph could have been sick.
- context: I am hungry.
question: Rewrite this sentence as a question.
answer: 'Am I hungry? '
- context: I had lost my wallet.
question: Turn this text into a question.
answer: Had I lost my wallet?
- context: He is not working on the project.
question: Can you rewrite this sentence as a question?
answer: Is he not working on the project?