Vallp commited on
Commit
cb5f413
1 Parent(s): b35923b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -6
README.md CHANGED
@@ -1,12 +1,31 @@
1
  ---
2
- title: Ter
3
- emoji: 🐨
4
- colorFrom: purple
5
- colorTo: green
6
- sdk: streamlit
7
- sdk_version: 1.26.0
8
  app_file: app.py
9
  pinned: false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: TER
3
+ emoji: 🤗
4
+ colorFrom: blue
5
+ colorTo: red
6
+ sdk: gradio
7
+ sdk_version: 3.19.1
8
  app_file: app.py
9
  pinned: false
10
+ tags:
11
+ - evaluate
12
+ - metric
13
+ description: >-
14
+ TER (Translation Edit Rate, also called Translation Error Rate) is a metric to
15
+ quantify the edit operations that a hypothesis requires to match a reference
16
+ translation. We use the implementation that is already present in sacrebleu
17
+ (https://github.com/mjpost/sacreBLEU#ter), which in turn is inspired by the
18
+ TERCOM implementation, which can be found here:
19
+ https://github.com/jhclark/tercom.
20
+
21
+ The implementation here is slightly different from sacrebleu in terms of the
22
+ required input format. The length of the references and hypotheses lists need
23
+ to be the same, so you may need to transpose your references compared to
24
+ sacrebleu's required input format. See
25
+ https://github.com/huggingface/datasets/issues/3154#issuecomment-950746534
26
+
27
+ See the README.md file at https://github.com/mjpost/sacreBLEU#ter for more
28
+ information.
29
  ---
30
 
31
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference