make code public
This commit is contained in:
parent
9d8b93db26
commit
6ba92064bb
26 changed files with 1744 additions and 0 deletions
81
templates/questionsSplitB/count_question.json
Normal file
81
templates/questionsSplitB/count_question.json
Normal file
|
@ -0,0 +1,81 @@
|
|||
[
|
||||
{
|
||||
"name":"Count-All Objects",
|
||||
"text": [
|
||||
"How many things are in the image?",
|
||||
"What is the count of all the things [in the image]?",
|
||||
"How many things in total [in the image]?",
|
||||
"What is the number of things [in the image]?"
|
||||
],
|
||||
"type":"count",
|
||||
"label":"count-all",
|
||||
"inputs":0
|
||||
},
|
||||
|
||||
{
|
||||
"name":"Count-Attribute",
|
||||
"text": [
|
||||
"If present, how many <Z> <C> <M> <S> are in the image?",
|
||||
"What is the count of <Z> <C> <M> <S> [in the image], if present?",
|
||||
"What is the number of <Z> <C> <M> <S> [in the image], if present?",
|
||||
"What number of <Z> <C> <M> <S> are present [in the image]?"
|
||||
],
|
||||
"constraints":[],
|
||||
"type":"count-attribute",
|
||||
"label":"count-attribute",
|
||||
"inputs":1
|
||||
},
|
||||
{
|
||||
"name":"Count-Attribute Group",
|
||||
"text": [
|
||||
"How many <Z> <C> <M> <S> among them?",
|
||||
"How many <Z> <C> <M> <S> in the group?",
|
||||
"How many of them are <Z> <C> <M> <S>?",
|
||||
"What is the count of <Z> <C> <M> <S> among them?",
|
||||
"What is the count of <Z> <C> <M> <S> in this group?",
|
||||
"What is the number of <Z> <C> <M> <S> among them?",
|
||||
"What is the number of <Z> <C> <M> <S> in this group?"
|
||||
],
|
||||
"constraints":[],
|
||||
"type":"count-attribute-group",
|
||||
"label":"count-attribute-group",
|
||||
"inputs":1
|
||||
},
|
||||
|
||||
{
|
||||
"name":"Count Relation Object Immediate Pair",
|
||||
"text": [
|
||||
"How about to its <P>?",
|
||||
"What about to its <P>?",
|
||||
"And to its <P>?"
|
||||
],
|
||||
"type":"count-obj-rel",
|
||||
"label":"count-obj-rel-imm2",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"How about to {F{its}} <P>?",
|
||||
"What about to {F{its}} <P>?",
|
||||
"And to {F{its}} <P>?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Count Relation Object Earlier",
|
||||
"text": [
|
||||
"How many things [are present] <R> the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"How many things does the earlier <Z1> <C1> <M1> <S1> have to its <P>?",
|
||||
"What number of things [are present] <R> the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"What is the count of things the earlier <Z1> <C1> <M1> <S1> has to its <P>?"
|
||||
],
|
||||
"type":"count-obj-rel",
|
||||
"label":"count-obj-rel-early",
|
||||
"inputs":2,
|
||||
"references": [
|
||||
"How many things [are present] <R> {F{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"How many things does {F{the earlier <Z1> <C1> <M1> <S1>}} have to {F{its}} <P>?",
|
||||
"What number of things [are present] <R> {F{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"What is the count of things {F{the earlier <Z1> <C1> <M1> <S1>}} has to {F{its}} <P>?"
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
|
70
templates/questionsSplitB/exist_question.json
Normal file
70
templates/questionsSplitB/exist_question.json
Normal file
|
@ -0,0 +1,70 @@
|
|||
[
|
||||
{
|
||||
"name":"Exist-Attribute",
|
||||
"text": [
|
||||
"Are there [any] <Z> <C> <M> <S> [in the image]?",
|
||||
"Any <Z> <C> <M> <S> [in the image]?",
|
||||
"Does the image contain any <Z> <C> <M> <S>?"
|
||||
],
|
||||
"constraints":[],
|
||||
"type":"exist-attribute",
|
||||
"label":"exist-attribute",
|
||||
"inputs":1
|
||||
},
|
||||
{
|
||||
"name":"Exist-Attribute Group",
|
||||
"text": [
|
||||
"Are there [any] <Z> <C> <M> <S> among them?",
|
||||
"Are there [any] <Z> <C> <M> <S> in the group?",
|
||||
"Do they have [any] <Z> <C> <M> <S>?",
|
||||
"Any <Z> <C> <M> <S> in the group?",
|
||||
"Any <Z> <C> <M> <S> among them?"
|
||||
],
|
||||
"constraints":[],
|
||||
"type":"exist-attribute-group",
|
||||
"label":"exist-attribute-group",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"Are there [any] <Z> <C> <M> <S> among {{them}}?",
|
||||
"Are there [any] <Z> <C> <M> <S> in {{the group}}?",
|
||||
"Do {{they}} have [any] <Z> <C> <M> <S>?",
|
||||
"Any <Z> <C> <M> <S> in {{the group}}?",
|
||||
"Any <Z> <C> <M> <S> among {{them}}?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Exist Relation Object Immediate",
|
||||
"text": [
|
||||
"Are there things [present] to its <P> [in the image]?",
|
||||
"Does it have things to its <P> [in the image]?",
|
||||
"Are there things [present] <R> itself [in the image]?",
|
||||
"Does it have things to <R> itself [in the image]?"
|
||||
],
|
||||
"type":"exist-obj-rel",
|
||||
"label":"exist-obj-rel-imm",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"Are there things [present] to {F{its}} <P> [in the image]?",
|
||||
"Does {F{it}} have things to {F{its}} <P> [in the image]?",
|
||||
"Are there things [present] <R> {F{itself}} [in the image]?",
|
||||
"Does {F{it}} have things to <R> {F{itself}} [in the image]?"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name":"Exist Relation Object Earlier",
|
||||
"text": [
|
||||
"Are there things [present] <R> the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"Does the earlier <Z1> <C1> <M1> <S1> have things to its <P>?"
|
||||
],
|
||||
"type":"exist-obj-rel",
|
||||
"label":"exist-obj-rel-early",
|
||||
"inputs":2,
|
||||
"references": [
|
||||
"Are there things [present] <R> {F{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"Does {F{the earlier <Z1> <C1> <M1> <S1>}} have things to {F{its}} <P>?"
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
|
79
templates/questionsSplitB/seek_attribute.json
Normal file
79
templates/questionsSplitB/seek_attribute.json
Normal file
|
@ -0,0 +1,79 @@
|
|||
[
|
||||
{
|
||||
"name":"Seek Attribute Immediate",
|
||||
"text": [
|
||||
"What is its <A>?",
|
||||
"What <A> is it?",
|
||||
"What about its <A>?",
|
||||
"What is the <A> of this thing?"
|
||||
],
|
||||
"constraints":[{"class":"seek-attr", "args":[]}],
|
||||
"type":"seek-attr",
|
||||
"label":"seek-attr-imm",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"What is {{its}} <A>?",
|
||||
"What <A> is {{it}}?",
|
||||
"What about {{its}} <A>?",
|
||||
"What is the <A> of {{this thing}}?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Seek Attribute Immediate Pair",
|
||||
"text": [
|
||||
"What about <A>?",
|
||||
"And <A>?",
|
||||
"How about <A>?"
|
||||
],
|
||||
"constraints":[{"class":"seek-attr", "args":[]}],
|
||||
"type":"seek-attr",
|
||||
"label":"seek-attr-imm2",
|
||||
"inputs":1
|
||||
},
|
||||
{
|
||||
"name":"Seek Attribute Earlier",
|
||||
"text": [
|
||||
"What is the <A> of the earlier <Z1> <C1> <M1> <S1>?",
|
||||
"What <A> is the earlier <Z1> <C1> <M1> <S1>?"
|
||||
],
|
||||
"constraints":[{"class":"seek-attr", "args":[]}],
|
||||
"type":"seek-attr",
|
||||
"label":"seek-attr-early",
|
||||
"inputs":2,
|
||||
"references": [
|
||||
"What is the <A> of {{the earlier <Z1> <C1> <M1> <S1>}}?",
|
||||
"What <A> is {{the earlier <Z1> <C1> <M1> <S1>}}?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Seek Attribute Relation Immediate",
|
||||
"text": [
|
||||
"If there is a thing <R> it, what is its <A>?",
|
||||
"If there is a thing <R> it, what <A> is it?"
|
||||
],
|
||||
"constraints":[{"class":"seek-attr", "args":[]}],
|
||||
"type":"seek-attr-rel",
|
||||
"label":"seek-attr-rel-imm",
|
||||
"inputs":1,
|
||||
"references": [
|
||||
"If there is a thing <R> {F{it}}, what is {{its}} <A>?",
|
||||
"If there is a thing <R> {F{it}}, what <A> is {{it}}?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Seek Attribute Relation Earlier",
|
||||
"text": [
|
||||
"If there is a thing <R> the earlier <Z1> <C1> <M1> <S1>, what is its <A>?",
|
||||
"If there is a thing <R> the earlier <Z1> <C1> <M1> <S1>, what <A> is it?"
|
||||
],
|
||||
"constraints":[{"class":"seek-attr", "args":[]}],
|
||||
"type":"seek-attr-rel",
|
||||
"label":"seek-attr-rel-early",
|
||||
"inputs":2,
|
||||
"references": [
|
||||
"If there is a thing <R> {F{the earlier <Z1> <C1> <M1> <S1>}}, what is {{its}} <A>?",
|
||||
"If there is a thing <R> {F{the earlier <Z1> <C1> <M1> <S1>}}, what <A> is {{it}}?"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue