Spaces:
Runtime error
Runtime error
update
Browse files
tests.py
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 1 |
test_cases = [
|
| 2 |
{
|
| 3 |
-
"predictions":
|
| 4 |
-
"references":
|
| 5 |
-
"result": {"
|
| 6 |
-
},
|
| 7 |
-
{
|
| 8 |
-
"predictions": [1, 1],
|
| 9 |
-
"references": [1, 1],
|
| 10 |
-
"result": {"metric_score": 1}
|
| 11 |
-
},
|
| 12 |
-
{
|
| 13 |
-
"predictions": [1, 0],
|
| 14 |
-
"references": [1, 1],
|
| 15 |
-
"result": {"metric_score": 0.5}
|
| 16 |
}
|
| 17 |
]
|
|
|
|
| 1 |
test_cases = [
|
| 2 |
{
|
| 3 |
+
"predictions": 'hi world',
|
| 4 |
+
"references": 'hello world',
|
| 5 |
+
"result": {"ctc_score": 0.5211202502250671}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
}
|
| 7 |
]
|