Spaces:
Running
Running
Download gradio_api_validation_v2.json from TyfUser/dive-tuning-coursework: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/spaces/TyfUser/dive-tuning-coursework/resolve/main/gradio_api_validation_v2.json
- Command line
-
hf download hf://spaces/TyfUser/dive-tuning-coursework/gradio_api_validation_v2.json
-
curl -L -o gradio_api_validation_v2.json https://huggingface.co/spaces/TyfUser/dive-tuning-coursework/resolve/main/gradio_api_validation_v2.json
1.05 kB
| { | |
| "status": "verified", | |
| "interface": "Gradio HTTP API /predict", | |
| "model_sha256": "98a29d8ccc0d171bc2ae80af7c136e388d7f1c565b79af0bffb496b684ff10c1", | |
| "samples": [ | |
| { | |
| "input": "A delightful, beautifully acted movie.", | |
| "expected": "positive / 正面", | |
| "output": { | |
| "label": "positive / 正面", | |
| "confidences": [ | |
| { | |
| "label": "positive / 正面", | |
| "confidence": 0.9996210336685181 | |
| }, | |
| { | |
| "label": "negative / 负面", | |
| "confidence": 0.00037898318259976804 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "input": "A boring waste of time with a terrible script.", | |
| "expected": "negative / 负面", | |
| "output": { | |
| "label": "negative / 负面", | |
| "confidences": [ | |
| { | |
| "label": "negative / 负面", | |
| "confidence": 0.9985722303390503 | |
| }, | |
| { | |
| "label": "positive / 正面", | |
| "confidence": 0.0014277398586273193 | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| } | |