yzha commited on
Commit
3a81753
1 Parent(s): 999d570
Files changed (1) hide show
  1. tests.py +3 -13
tests.py CHANGED
@@ -1,17 +1,7 @@
1
  test_cases = [
2
  {
3
- "predictions": [0, 0],
4
- "references": [1, 1],
5
- "result": {"metric_score": 0}
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
  ]