Spaces:
Runtime error
Runtime error
Update description.md
Browse files- description.md +0 -2
description.md
CHANGED
@@ -8,13 +8,11 @@ Minimal example (evaluating English text generation)
|
|
8 |
```python
|
9 |
import evaluate
|
10 |
sescore = evaluate.load("xu1998hz/sescore")
|
11 |
-
|
12 |
# for different versions of SEScore
|
13 |
# sescore = evaluate.load("xu1998hz/sescore_english_mt") -> for English at Machine Translation
|
14 |
# sescore = evaluate.load("xu1998hz/sescore_german_mt") -> for German at Machine Translation
|
15 |
# sescore = evaluate.load("xu1998hz/sescore_english_webnlg") -> for webnlg data-to-text
|
16 |
# sescore = evaluate.load("xu1998hz/sescore_english_coco") -> for image caption
|
17 |
-
|
18 |
score = sescore.compute(
|
19 |
references=['sescore is a simple but effective next-generation text evaluation metric'],
|
20 |
predictions=['sescore is simple effective text evaluation metric for next generation']
|
|
|
8 |
```python
|
9 |
import evaluate
|
10 |
sescore = evaluate.load("xu1998hz/sescore")
|
|
|
11 |
# for different versions of SEScore
|
12 |
# sescore = evaluate.load("xu1998hz/sescore_english_mt") -> for English at Machine Translation
|
13 |
# sescore = evaluate.load("xu1998hz/sescore_german_mt") -> for German at Machine Translation
|
14 |
# sescore = evaluate.load("xu1998hz/sescore_english_webnlg") -> for webnlg data-to-text
|
15 |
# sescore = evaluate.load("xu1998hz/sescore_english_coco") -> for image caption
|
|
|
16 |
score = sescore.compute(
|
17 |
references=['sescore is a simple but effective next-generation text evaluation metric'],
|
18 |
predictions=['sescore is simple effective text evaluation metric for next generation']
|