make code public

This commit is contained in:
Adnen Abdessaied 2022-08-11 07:44:46 +02:00
parent 9d8b93db26
commit 6ba92064bb
26 changed files with 1744 additions and 0 deletions

29
templates/metainfo.json Normal file
View file

@ -0,0 +1,29 @@
{
"attributes":["shape", "color", "size", "material"],
"values":{
"shape": ["cube", "sphere", "cylinder"],
"color": ["gray", "red", "blue", "green", "brown", "purple", "cyan", "yellow"],
"size": ["small", "large"],
"material": ["rubber", "metal"]
},
"relations": ["left", "right", "behind", "front"],
"probabilities": [0.7, 0.3, 0.0],
"relation_phrases": {"left": ["left of",
"to the left of",
"on the left side of"],
"right": ["right of",
"to the right of",
"on the right side of"],
"behind": ["behind"],
"front": ["in front of"]},
"tag_map": {"<S>": "shape",
"<M>": "material",
"<Z>": "size",
"<C>": "color",
"<X>": "count",
"<R>": "relation",
"<A>": "attribute",
"<P>": "relation"},
"independent_questions": ["count-all", "count-other", "count-attribute",
"exist-other", "exist-attribute"]
}