Spaces:
Running on Zero
Running on Zero
Download workflow.json from akhaliq/openjev: direct link, hf CLI and curl.
- Browser
- Download file 2.15 kB
-
https://huggingface.co/spaces/akhaliq/openjev/resolve/main/workflow.json
- Command line
-
hf download hf://spaces/akhaliq/openjev/workflow.json
-
curl -L -o workflow.json https://huggingface.co/spaces/akhaliq/openjev/resolve/main/workflow.json
2.15 kB
| { | |
| "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"} | |
| } | |