Spaces:
Running on Zero
Running on Zero
File size: 2,150 Bytes
69231c1 12d439e 69231c1 12d439e 69231c1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | {
"schema_version": "2",
"name": "openjev NLI",
"runtime": {"default": "client"},
"references": [
{
"id": "ref_premise",
"label": "Premise",
"role": "reference",
"asset_type": "text",
"data": {"out": "The bird is 0.05 below the centre of the gap."},
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 60, "y": 80
},
{
"id": "ref_hypothesis",
"label": "Hypothesis",
"role": "reference",
"asset_type": "text",
"data": {"out": "The bird is below the centre of the gap."},
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 60, "y": 320
}
],
"operators": [
{
"id": "op_classify",
"label": "jev-classify",
"role": "operator",
"kind": "fn",
"fn": "jev-classify",
"inputs": [
{"id": "premise", "label": "Premise", "type": "text", "required": true},
{"id": "hypothesis", "label": "Hypothesis", "type": "text", "required": true}
],
"outputs": [{"id": "out_0", "label": "Result", "type": "text", "output_index": 0}],
"x": 460, "y": 180
}
],
"subjects": [
{
"id": "sub_result",
"label": "NLI Result",
"role": "subject",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 840, "y": 200
}
],
"edges": [
{
"id": "e1",
"from_node_id": "ref_premise", "from_port_id": "out",
"to_node_id": "op_classify", "to_port_id": "premise",
"type": "text"
},
{
"id": "e2",
"from_node_id": "ref_hypothesis", "from_port_id": "out",
"to_node_id": "op_classify", "to_port_id": "hypothesis",
"type": "text"
},
{
"id": "e3",
"from_node_id": "op_classify", "from_port_id": "out_0",
"to_node_id": "sub_result", "to_port_id": "in",
"type": "text"
}
],
"view": {"default": "canvas"}
}
|