gsarti commited on
Commit
04156c9
1 Parent(s): 16520a0

Main task almost finished

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. task/.gitattributes +1 -1
  2. task/example/README.md +6 -5
  3. task/main/README.md +74 -0
  4. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc10_input.txt → main_eng-ita_doc10_no_highlight_input.txt} +0 -0
  5. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc10_input.txt → main_eng-ita_doc10_oracle_input.txt} +0 -0
  6. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc10_input.txt → main_eng-ita_doc10_supervised_input.txt} +0 -0
  7. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc10_input.txt → main_eng-ita_doc10_unsupervised_input.txt} +0 -0
  8. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc11_input.txt → main_eng-ita_doc11_no_highlight_input.txt} +0 -0
  9. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc11_input.txt → main_eng-ita_doc11_oracle_input.txt} +0 -0
  10. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc11_input.txt → main_eng-ita_doc11_supervised_input.txt} +0 -0
  11. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc11_input.txt → main_eng-ita_doc11_unsupervised_input.txt} +0 -0
  12. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc12_input.txt → main_eng-ita_doc12_no_highlight_input.txt} +0 -0
  13. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc12_input.txt → main_eng-ita_doc12_oracle_input.txt} +0 -0
  14. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc12_input.txt → main_eng-ita_doc12_supervised_input.txt} +0 -0
  15. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc12_input.txt → main_eng-ita_doc12_unsupervised_input.txt} +0 -0
  16. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc13_input.txt → main_eng-ita_doc13_no_highlight_input.txt} +0 -0
  17. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc13_input.txt → main_eng-ita_doc13_oracle_input.txt} +0 -0
  18. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc13_input.txt → main_eng-ita_doc13_supervised_input.txt} +0 -0
  19. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc13_input.txt → main_eng-ita_doc13_unsupervised_input.txt} +0 -0
  20. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc14_input.txt → main_eng-ita_doc14_no_highlight_input.txt} +0 -0
  21. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc14_input.txt → main_eng-ita_doc14_oracle_input.txt} +0 -0
  22. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc14_input.txt → main_eng-ita_doc14_supervised_input.txt} +0 -0
  23. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc14_input.txt → main_eng-ita_doc14_unsupervised_input.txt} +0 -0
  24. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc15_input.txt → main_eng-ita_doc15_no_highlight_input.txt} +0 -0
  25. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc15_input.txt → main_eng-ita_doc15_oracle_input.txt} +0 -0
  26. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc15_input.txt → main_eng-ita_doc15_supervised_input.txt} +0 -0
  27. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc15_input.txt → main_eng-ita_doc15_unsupervised_input.txt} +0 -0
  28. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc16_input.txt → main_eng-ita_doc16_no_highlight_input.txt} +0 -0
  29. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc16_input.txt → main_eng-ita_doc16_oracle_input.txt} +0 -0
  30. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc16_input.txt → main_eng-ita_doc16_supervised_input.txt} +0 -0
  31. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc16_input.txt → main_eng-ita_doc16_unsupervised_input.txt} +0 -0
  32. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc17_input.txt → main_eng-ita_doc17_no_highlight_input.txt} +0 -0
  33. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc17_input.txt → main_eng-ita_doc17_oracle_input.txt} +0 -0
  34. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc17_input.txt → main_eng-ita_doc17_supervised_input.txt} +0 -0
  35. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc17_input.txt → main_eng-ita_doc17_unsupervised_input.txt} +0 -0
  36. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc18_input.txt → main_eng-ita_doc18_no_highlight_input.txt} +0 -0
  37. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc18_input.txt → main_eng-ita_doc18_oracle_input.txt} +0 -0
  38. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc18_input.txt → main_eng-ita_doc18_supervised_input.txt} +0 -0
  39. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc18_input.txt → main_eng-ita_doc18_unsupervised_input.txt} +0 -0
  40. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc19_input.txt → main_eng-ita_doc19_no_highlight_input.txt} +0 -0
  41. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc19_input.txt → main_eng-ita_doc19_oracle_input.txt} +0 -0
  42. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc19_input.txt → main_eng-ita_doc19_supervised_input.txt} +0 -0
  43. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc19_input.txt → main_eng-ita_doc19_unsupervised_input.txt} +0 -0
  44. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc1_input.txt → main_eng-ita_doc1_no_highlight_input.txt} +0 -0
  45. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc1_input.txt → main_eng-ita_doc1_oracle_input.txt} +0 -0
  46. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc1_input.txt → main_eng-ita_doc1_supervised_input.txt} +0 -0
  47. task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc1_input.txt → main_eng-ita_doc1_unsupervised_input.txt} +0 -0
  48. task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc20_input.txt → main_eng-ita_doc20_no_highlight_input.txt} +0 -0
  49. task/main/inputs/eng-ita/{main_oracle_eng-ita_doc20_input.txt → main_eng-ita_doc20_oracle_input.txt} +0 -0
  50. task/main/inputs/eng-ita/{main_supervised_eng-ita_doc20_input.txt → main_eng-ita_doc20_supervised_input.txt} +0 -0
task/.gitattributes CHANGED
@@ -1 +1 @@
1
- main/outputs/eng-nld/logs/main_eng-nld_t3_unsupervised_logs.csv filter=lfs diff=lfs merge=lfs -text
 
1
+ main/outputs/eng-nld/logs/main_eng-nld_unsupervised_t3_logs.csv filter=lfs diff=lfs merge=lfs -text
task/example/README.md CHANGED
@@ -11,10 +11,11 @@ example/
11
  │ ├── example_eng-ita_doc1_input.txt
12
  │ └── ... # GroTE input files with tags and ||| source-target separator
13
  ├── outputs/
14
- ├── logs/
15
- │ └── example_eng-ita_t0_logs.csv # GroTE logs
16
- ├── example_eng-ita_doc1_t0_output.txt
17
- └── ... # GroTE output files (one edited target per line)
 
18
  ├── doc_id_map.json # Source and doc name maps
19
  └── README.md
20
  ```
@@ -40,7 +41,7 @@ Files in `outputs/{{TRANSLATION_DIRECTION}}` contain post-edited outputs (one pe
40
  The contents of `outputs/{{TRANSLATION_DIRECTION}}/logs` can be used to analyze editing behavior at a granular scale. Each log file has format:
41
 
42
  ```python
43
- "{{TASK_ID}}_{{TRANSLATION_DIRECTION}}_{{TRANSLATOR_ID}}_logs.txt"
44
  ```
45
 
46
  Refer to [GroTE](https://github.com/gsarti/grote) documentation for more information about the logs.
 
11
  │ ├── example_eng-ita_doc1_input.txt
12
  │ └── ... # GroTE input files with tags and ||| source-target separator
13
  ├── outputs/
14
+ └── eng-ita/
15
+ ├── logs/
16
+ └── example_eng-ita_t0_logs.csv # GroTE logs
17
+ ├── example_eng-ita_doc1_t0_output.txt
18
+ │ └── ... # GroTE output files (one edited target per line)
19
  ├── doc_id_map.json # Source and doc name maps
20
  └── README.md
21
  ```
 
41
  The contents of `outputs/{{TRANSLATION_DIRECTION}}/logs` can be used to analyze editing behavior at a granular scale. Each log file has format:
42
 
43
  ```python
44
+ "{{TASK_ID}}_{{TRANSLATION_DIRECTION}}_{{TRANSLATOR_ID}}_logs.csv"
45
  ```
46
 
47
  Refer to [GroTE](https://github.com/gsarti/grote) documentation for more information about the logs.
task/main/README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # QE4PE Main Task
2
+
3
+ The goal of the `main` task is to evaluate the speed and quality of translators using different word-level highlight modalities, with the goal of estimating the impact of highlights over the editing process. Refer to the [translators' guidelines](./main_guidelines.pdf) for additional details about the task.
4
+
5
+ ## Folder Structure
6
+
7
+ ```shell
8
+ main/
9
+ ├── inputs/
10
+ │ ├── eng-ita/
11
+ │ │ ├── main_eng-ita_doc1_no_highlight_input.txt
12
+ │ │ ├── main_eng-ita_doc1_oracle_input.txt
13
+ │ │ └── ... # GroTE input files with tags and ||| source-target separator
14
+ │ └── eng-nld/
15
+ │ │ ├── main_eng-nld_doc1_no_highlight_input.txt
16
+ │ │ ├── main_eng-nld_doc1_oracle_input.txt
17
+ │ │ └── ... # GroTE input files with tags and ||| source-target separator
18
+ ├── outputs/
19
+ │ ├── eng-ita/
20
+ │ │ ├── logs/
21
+ │ │ │ ├── main_eng-ita_no_highlight_t1_logs.csv
22
+ │ │ │ └── ... # GroTE logs for every translator (e.g. no_highlight_t1)
23
+ │ │ ├── main_eng-ita_doc1_no_highlight_t1_output.txt
24
+ │ │ └── ... # GroTE output files (one edited target per line)
25
+ │ └── eng-nld/
26
+ │ ├── logs/
27
+ │ │ ├── main_eng-nld_no_highlight_t1_logs.csv
28
+ │ │ └── ... # GroTE logs for every translator (e.g. no_highlight_t1)
29
+ │ ├── example_eng-nld_doc1_no_highlight_t1_output.txt
30
+ │ └── ... # GroTE output files (one edited target per line)
31
+ ├── doc_id_map.json # Source and doc name maps
32
+ ├── main_guidelines.pdf # Task guidelines for translators
33
+ └── README.md
34
+ ```
35
+
36
+ ## Inputs
37
+
38
+ The `main` task uses 50 documents containing between 6-10 contiguous sentences (tot. ) from the `wmt23` collection that were filtered ad-hoc to ensure sufficient but not perfect quality. Moreover, 15 critical errors were manually introduced in some translations across the two target languages before applying highlight modalities (more info in [manual_errors](../../setup/processed/manual_errors/)).
39
+
40
+ >The document `doc28` corresponding to the original WMT23 file `aaronsgiles.110351251990540992` was also erroneously included in the main task, but it was also used for the `pretask` and was hence excluded from the main analysis to account for preview effects of editing times.
41
+
42
+ The four modalities of highlighting tested are `no_highlight`, `oracle`, `supervised` and `unsupervised`:
43
+
44
+ - `no_highlight`: MT outputs requiring post-editing are presented without any highlighting.
45
+
46
+ - `oracle`: Highlights are inferred from majority-voting from a previous set of 3 professional post-edits per translation direction. We mark spans edited by 2/3 editors as potential `minor` errors, and 3/3 as potential `major` errors. Refer to the [oracle folder](../../setup/highlights/oracle) for an overview of the highlights in this modality.
47
+
48
+ - `supervised`: Highlights are produced by XCOMET-XXL as it was done for the `pretask`. We use `minor` errors and merge `major` and `critical` errors into a single `major` potential error category to match levels of other highlighting modalities. Confidence scores were ignored, since they were found to not affect the highlights agreement with human edits in an important way (see paper).
49
+
50
+ - `unsupervised`: Highlights are produced from the original MT model NLLB 3.3B using Monte Carlo Dropount Variance of probability scores. Based on the proportion of `minor` and `major` potential error spans for the `supervised` modality, we set two threshold values to ensure a matching amount of spans for each of the two categories.
51
+
52
+ For all methods, word-level error spans are extended to match closest word boundaries whenever necessary. Input files for the task have names using the format:
53
+
54
+ ```python
55
+ "{{TASK_ID}}_{{TRANSLATION_DIRECTION}}_{{DOC_ID}}_{{HIGHLIGHT_MODALITY}}_input.txt"
56
+ ```
57
+
58
+ ## Outputs
59
+
60
+ Files in `outputs/eng-ita` and `outputs/eng-nld` contain post-edited outputs (one per line, matching inputs) using format:
61
+
62
+ ```python
63
+ "{{TASK_ID}}_{{TRANSLATION_DIRECTION}}_{{DOC_ID}}_{{TRANSLATOR_ID}}_output.txt"
64
+ ```
65
+
66
+ > **Note**: `{{TRANSLATOR_ID}}` includes the `{{HIGHLIGHT_MODALITY}}` information, and reflects the speed of the translator on the pretask (e.g. The translator `no_highlight_t1` belongs to Group 1, i.e. the faster one, from the [`pretask` assignments](../pretask/main_task_assignments.json))
67
+
68
+ The contents of `outputs/{{TRANSLATION_DIRECTION}}/logs` can be used to analyze editing behavior at a granular scale. Each log file has format:
69
+
70
+ ```python
71
+ "{{TASK_ID}}_{{TRANSLATION_DIRECTION}}_{{TRANSLATOR_ID}}_logs.csv"
72
+ ```
73
+
74
+ Refer to [GroTE](https://github.com/gsarti/grote) documentation for more information about the logs.
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc10_input.txt → main_eng-ita_doc10_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc10_input.txt → main_eng-ita_doc10_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc10_input.txt → main_eng-ita_doc10_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc10_input.txt → main_eng-ita_doc10_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc11_input.txt → main_eng-ita_doc11_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc11_input.txt → main_eng-ita_doc11_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc11_input.txt → main_eng-ita_doc11_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc11_input.txt → main_eng-ita_doc11_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc12_input.txt → main_eng-ita_doc12_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc12_input.txt → main_eng-ita_doc12_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc12_input.txt → main_eng-ita_doc12_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc12_input.txt → main_eng-ita_doc12_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc13_input.txt → main_eng-ita_doc13_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc13_input.txt → main_eng-ita_doc13_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc13_input.txt → main_eng-ita_doc13_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc13_input.txt → main_eng-ita_doc13_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc14_input.txt → main_eng-ita_doc14_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc14_input.txt → main_eng-ita_doc14_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc14_input.txt → main_eng-ita_doc14_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc14_input.txt → main_eng-ita_doc14_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc15_input.txt → main_eng-ita_doc15_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc15_input.txt → main_eng-ita_doc15_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc15_input.txt → main_eng-ita_doc15_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc15_input.txt → main_eng-ita_doc15_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc16_input.txt → main_eng-ita_doc16_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc16_input.txt → main_eng-ita_doc16_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc16_input.txt → main_eng-ita_doc16_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc16_input.txt → main_eng-ita_doc16_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc17_input.txt → main_eng-ita_doc17_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc17_input.txt → main_eng-ita_doc17_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc17_input.txt → main_eng-ita_doc17_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc17_input.txt → main_eng-ita_doc17_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc18_input.txt → main_eng-ita_doc18_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc18_input.txt → main_eng-ita_doc18_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc18_input.txt → main_eng-ita_doc18_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc18_input.txt → main_eng-ita_doc18_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc19_input.txt → main_eng-ita_doc19_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc19_input.txt → main_eng-ita_doc19_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc19_input.txt → main_eng-ita_doc19_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc19_input.txt → main_eng-ita_doc19_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc1_input.txt → main_eng-ita_doc1_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc1_input.txt → main_eng-ita_doc1_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc1_input.txt → main_eng-ita_doc1_supervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_unsupervised_eng-ita_doc1_input.txt → main_eng-ita_doc1_unsupervised_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_no_highlight_eng-ita_doc20_input.txt → main_eng-ita_doc20_no_highlight_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_oracle_eng-ita_doc20_input.txt → main_eng-ita_doc20_oracle_input.txt} RENAMED
File without changes
task/main/inputs/eng-ita/{main_supervised_eng-ita_doc20_input.txt → main_eng-ita_doc20_supervised_input.txt} RENAMED
File without changes