gsarti commited on
Commit
db7d3d7
1 Parent(s): a687d50

Fix and add info

Browse files
Files changed (3) hide show
  1. README.md +27 -0
  2. dataset_info.json +113 -0
  3. scat.py +0 -1
README.md CHANGED
@@ -21,6 +21,33 @@ tags:
21
  task_categories:
22
  - translation
23
  task_ids: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  ---
25
 
26
  # Dataset Card for SCAT
 
21
  task_categories:
22
  - translation
23
  task_ids: []
24
+ dataset_info:
25
+ features:
26
+ - name: id
27
+ dtype: int32
28
+ - name: context_en
29
+ dtype: string
30
+ - name: en
31
+ dtype: string
32
+ - name: context_fr
33
+ dtype: string
34
+ - name: fr
35
+ dtype: string
36
+ - name: has_supporting_context
37
+ dtype: bool
38
+ config_name: sentences
39
+ splits:
40
+ - name: train
41
+ num_bytes: 6813668
42
+ num_examples: 11144
43
+ - name: validation
44
+ num_bytes: 93178
45
+ num_examples: 144
46
+ - name: test
47
+ num_bytes: 583831
48
+ num_examples: 973
49
+ download_size: 7292968
50
+ dataset_size: 7490677
51
  ---
52
 
53
  # Dataset Card for SCAT
dataset_info.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "description": "The Supporting Context for Ambiguous Translations corpus (SCAT) is a dataset \nof English-to-French translations annotated with human rationales used for resolving ambiguity \nin pronoun anaphora resolution for multi-sentence translation.\n",
3
+ "citation": "@inproceedings{yin-etal-2021-context,\n title = \"Do Context-Aware Translation Models Pay the Right Attention?\",\n author = \"Yin, Kayo and\n Fernandes, Patrick and\n Pruthi, Danish and\n Chaudhary, Aditi and\n Martins, Andr{'e} F. T. and\n Neubig, Graham\",\n booktitle = \"Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)\",\n month = aug,\n year = \"2021\",\n address = \"Online\",\n publisher = \"Association for Computational Linguistics\",\n url = \"https://aclanthology.org/2021.acl-long.65\",\n doi = \"10.18653/v1/2021.acl-long.65\",\n pages = \"788--801\",\n}\n",
4
+ "homepage": "https://github.com/neulab/contextual-mt/tree/master/data/scat",
5
+ "license": "Unknown",
6
+ "features": {
7
+ "id": {
8
+ "dtype": "int32",
9
+ "_type": "Value"
10
+ },
11
+ "context_en": {
12
+ "dtype": "string",
13
+ "_type": "Value"
14
+ },
15
+ "en": {
16
+ "dtype": "string",
17
+ "_type": "Value"
18
+ },
19
+ "context_fr": {
20
+ "dtype": "string",
21
+ "_type": "Value"
22
+ },
23
+ "fr": {
24
+ "dtype": "string",
25
+ "_type": "Value"
26
+ },
27
+ "has_supporting_context": {
28
+ "dtype": "bool",
29
+ "_type": "Value"
30
+ }
31
+ },
32
+ "builder_name": "scat",
33
+ "config_name": "sentences",
34
+ "version": {
35
+ "version_str": "0.0.0",
36
+ "major": 0,
37
+ "minor": 0,
38
+ "patch": 0
39
+ },
40
+ "splits": {
41
+ "train": {
42
+ "name": "train",
43
+ "num_bytes": 6813668,
44
+ "num_examples": 11144,
45
+ "dataset_name": "scat"
46
+ },
47
+ "validation": {
48
+ "name": "validation",
49
+ "num_bytes": 93178,
50
+ "num_examples": 144,
51
+ "dataset_name": "scat"
52
+ },
53
+ "test": {
54
+ "name": "test",
55
+ "num_bytes": 583831,
56
+ "num_examples": 973,
57
+ "dataset_name": "scat"
58
+ }
59
+ },
60
+ "download_checksums": {
61
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.train.context.en": {
62
+ "num_bytes": 2314611,
63
+ "checksum": "5b12687b8a1779f7ae9bb55bfd21c09bae8dd4f9fffb483aabaa4bab7971a843"
64
+ },
65
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.train.en": {
66
+ "num_bytes": 873040,
67
+ "checksum": "d2e94f2ee4c44c572094a0b397685d1bd361d2d8c474aa1bbcca471f539b702a"
68
+ },
69
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.train.context.fr": {
70
+ "num_bytes": 2482190,
71
+ "checksum": "65dfd761f5ce42a560a4a1e93a62a7d5286137d15a28c131e7326b108a710496"
72
+ },
73
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.train.fr": {
74
+ "num_bytes": 964130,
75
+ "checksum": "9ddb502f989b2f99fd24e5db566dfd02ab40dabcb79129ecc58c7acc2bd5473a"
76
+ },
77
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.valid.context.en": {
78
+ "num_bytes": 31100,
79
+ "checksum": "91454b2879699928e921eb44af718378de285ac80821daba22dc9ea083f3b732"
80
+ },
81
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.valid.en": {
82
+ "num_bytes": 11363,
83
+ "checksum": "b27fadf69941502023d721c6c9542cd0b895624df8d9ffb7384030d6a7c10e39"
84
+ },
85
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.valid.context.fr": {
86
+ "num_bytes": 35187,
87
+ "checksum": "973748c53f5e5e06e2f11ad6f231b711cfec31f3bec331281c6d8d15704256bf"
88
+ },
89
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.valid.fr": {
90
+ "num_bytes": 13206,
91
+ "checksum": "cfc9c4de44495a5605f75b1265411f95c0d3dac57019a5084e143b0e7ab0f476"
92
+ },
93
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.test.context.en": {
94
+ "num_bytes": 188509,
95
+ "checksum": "363e2e40c758b0a9e6de58f6876fbef230d0dd072fc412f08cd4f1b3209b409e"
96
+ },
97
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.test.en": {
98
+ "num_bytes": 75226,
99
+ "checksum": "845bd73b5372e395df5e3d2654f2e20e137f373002cc2b40dfc54c93de173d60"
100
+ },
101
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.test.context.fr": {
102
+ "num_bytes": 214331,
103
+ "checksum": "fd7ff210b8ca104a5c9ee01e758afb216fc4f773a6b991d8fb158f5b3938bf14"
104
+ },
105
+ "https://huggingface.co/datasets/inseq/scat/resolve/main/filtered_scat/filtered.test.fr": {
106
+ "num_bytes": 90075,
107
+ "checksum": "7589f6cb024413d5b1c388616ddc4450e5f2657d304757d7b8e3d0893aae7cfe"
108
+ }
109
+ },
110
+ "download_size": 7292968,
111
+ "dataset_size": 7490677,
112
+ "size_in_bytes": 14783645
113
+ }
scat.py CHANGED
@@ -57,7 +57,6 @@ _LICENSE = "Unknown"
57
  class ScatConfig(datasets.BuilderConfig):
58
  def __init__(
59
  self,
60
- data_type: str,
61
  source_language: str,
62
  target_language: str,
63
  **kwargs
 
57
  class ScatConfig(datasets.BuilderConfig):
58
  def __init__(
59
  self,
 
60
  source_language: str,
61
  target_language: str,
62
  **kwargs