Spaces:
Runtime error
Runtime error
Update description.md
Browse files- description.md +6 -1
description.md
CHANGED
@@ -8,6 +8,11 @@ Minimal example (evaluating English text generation)
|
|
8 |
```python
|
9 |
import evaluate
|
10 |
sescore = evaluate.load("xu1998hz/sescore")
|
|
|
|
|
|
|
|
|
|
|
11 |
score = sescore.compute(
|
12 |
references=['sescore is a simple but effective next-generation text evaluation metric'],
|
13 |
predictions=['sescore is simple effective text evaluation metric for next generation']
|
@@ -25,7 +30,7 @@ Currently, the following language/model pairs are available:
|
|
25 |
|----------|-----------------|-----------------------|
|
26 |
| English | MT | [xu1998hz/sescore_english_mt](https://huggingface.co/xu1998hz/sescore_english_mt) |
|
27 |
| German | MT | [xu1998hz/sescore_german_mt](https://huggingface.co/xu1998hz/sescore_german_mt) |
|
28 |
-
| English | webNLG17 | [xu1998hz/sescore_english_webnlg17](https://huggingface.co/xu1998hz/
|
29 |
| English | CoCo captions | [xu1998hz/sescore_english_coco](https://huggingface.co/xu1998hz/sescore_english_coco) |
|
30 |
|
31 |
|
|
|
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']
|
|
|
30 |
|----------|-----------------|-----------------------|
|
31 |
| English | MT | [xu1998hz/sescore_english_mt](https://huggingface.co/xu1998hz/sescore_english_mt) |
|
32 |
| German | MT | [xu1998hz/sescore_german_mt](https://huggingface.co/xu1998hz/sescore_german_mt) |
|
33 |
+
| English | webNLG17 | [xu1998hz/sescore_english_webnlg17](https://huggingface.co/xu1998hz/sescore_english_webnlg) |
|
34 |
| English | CoCo captions | [xu1998hz/sescore_english_coco](https://huggingface.co/xu1998hz/sescore_english_coco) |
|
35 |
|
36 |
|