xu1998hz commited on
Commit
7575054
1 Parent(s): 002b32c

Update description.md

Browse files
Files changed (1) hide show
  1. description.md +2 -0
description.md CHANGED
@@ -8,11 +8,13 @@ Minimal example (evaluating English text 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']
 
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']