Download tests.py from fnvls/bleu_1234: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/fnvls/bleu_1234/resolve/main/tests.py
- Command line
-
hf download hf://spaces/fnvls/bleu_1234/tests.py
-
curl -L -o tests.py https://huggingface.co/spaces/fnvls/bleu_1234/resolve/main/tests.py
353 Bytes
| test_cases = [ | |
| { | |
| "predictions": [0, 0], | |
| "references": [1, 1], | |
| "result": {"metric_score": 0} | |
| }, | |
| { | |
| "predictions": [1, 1], | |
| "references": [1, 1], | |
| "result": {"metric_score": 1} | |
| }, | |
| { | |
| "predictions": [1, 0], | |
| "references": [1, 1], | |
| "result": {"metric_score": 0.5} | |
| } | |
| ] |