Datasets:
Format data to JSON Lines.
Browse files- .gitattributes +2 -2
- .idea/.gitignore +0 -6
- .idea/OPUS-MT-EN-Fixed.iml +0 -8
- .idea/inspectionProfiles/Project_Default.xml +0 -42
- .idea/inspectionProfiles/profiles_settings.xml +0 -6
- .idea/misc.xml +0 -7
- .idea/modules.xml +0 -8
- .idea/vcs.xml +0 -6
- README.md +31 -35
- data/dev.en +0 -0
- data/{train.en → dev.jsonl} +2 -2
- data/dev.mt +0 -0
- data/test.en +0 -0
- data/{train.mt → test.jsonl} +2 -2
- data/test.mt +0 -0
- data/train.jsonl +3 -0
.gitattributes
CHANGED
@@ -53,5 +53,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
56 |
-
|
57 |
-
|
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
56 |
+
# Dataset files - compressed
|
57 |
+
*.jsonl filter=lfs diff=lfs merge=lfs -text
|
.idea/.gitignore
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
# Default ignored files
|
2 |
-
/shelf/
|
3 |
-
/workspace.xml
|
4 |
-
# Datasource local storage ignored files
|
5 |
-
/dataSources/
|
6 |
-
/dataSources.local.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/OPUS-MT-EN-Fixed.iml
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<module type="PYTHON_MODULE" version="4">
|
3 |
-
<component name="NewModuleRootManager">
|
4 |
-
<content url="file://$MODULE_DIR$" />
|
5 |
-
<orderEntry type="inheritedJdk" />
|
6 |
-
<orderEntry type="sourceFolder" forTests="false" />
|
7 |
-
</component>
|
8 |
-
</module>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/inspectionProfiles/Project_Default.xml
DELETED
@@ -1,42 +0,0 @@
|
|
1 |
-
<component name="InspectionProjectProfileManager">
|
2 |
-
<profile version="1.0">
|
3 |
-
<option name="myName" value="Project Default" />
|
4 |
-
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
5 |
-
<option name="ignoredPackages">
|
6 |
-
<value>
|
7 |
-
<list size="29">
|
8 |
-
<item index="0" class="java.lang.String" itemvalue="protobuf" />
|
9 |
-
<item index="1" class="java.lang.String" itemvalue="rsa" />
|
10 |
-
<item index="2" class="java.lang.String" itemvalue="async-timeout" />
|
11 |
-
<item index="3" class="java.lang.String" itemvalue="googleapis-common-protos" />
|
12 |
-
<item index="4" class="java.lang.String" itemvalue="httplib2" />
|
13 |
-
<item index="5" class="java.lang.String" itemvalue="pyasn1" />
|
14 |
-
<item index="6" class="java.lang.String" itemvalue="requests" />
|
15 |
-
<item index="7" class="java.lang.String" itemvalue="frozenlist" />
|
16 |
-
<item index="8" class="java.lang.String" itemvalue="pyasn1-modules" />
|
17 |
-
<item index="9" class="java.lang.String" itemvalue="requests-oauthlib" />
|
18 |
-
<item index="10" class="java.lang.String" itemvalue="pygsheets" />
|
19 |
-
<item index="11" class="java.lang.String" itemvalue="certifi" />
|
20 |
-
<item index="12" class="java.lang.String" itemvalue="oauthlib" />
|
21 |
-
<item index="13" class="java.lang.String" itemvalue="google-auth-httplib2" />
|
22 |
-
<item index="14" class="java.lang.String" itemvalue="discord.py" />
|
23 |
-
<item index="15" class="java.lang.String" itemvalue="pyparsing" />
|
24 |
-
<item index="16" class="java.lang.String" itemvalue="google-api-core" />
|
25 |
-
<item index="17" class="java.lang.String" itemvalue="uritemplate" />
|
26 |
-
<item index="18" class="java.lang.String" itemvalue="google-auth-oauthlib" />
|
27 |
-
<item index="19" class="java.lang.String" itemvalue="attrs" />
|
28 |
-
<item index="20" class="java.lang.String" itemvalue="discord" />
|
29 |
-
<item index="21" class="java.lang.String" itemvalue="cachetools" />
|
30 |
-
<item index="22" class="java.lang.String" itemvalue="charset-normalizer" />
|
31 |
-
<item index="23" class="java.lang.String" itemvalue="aiohttp" />
|
32 |
-
<item index="24" class="java.lang.String" itemvalue="multidict" />
|
33 |
-
<item index="25" class="java.lang.String" itemvalue="google-api-python-client" />
|
34 |
-
<item index="26" class="java.lang.String" itemvalue="yarl" />
|
35 |
-
<item index="27" class="java.lang.String" itemvalue="aiosignal" />
|
36 |
-
<item index="28" class="java.lang.String" itemvalue="google-auth" />
|
37 |
-
</list>
|
38 |
-
</value>
|
39 |
-
</option>
|
40 |
-
</inspection_tool>
|
41 |
-
</profile>
|
42 |
-
</component>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/inspectionProfiles/profiles_settings.xml
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
<component name="InspectionProjectProfileManager">
|
2 |
-
<settings>
|
3 |
-
<option name="USE_PROJECT_PROFILE" value="false" />
|
4 |
-
<version value="1.0" />
|
5 |
-
</settings>
|
6 |
-
</component>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/misc.xml
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<project version="4">
|
3 |
-
<component name="Black">
|
4 |
-
<option name="sdkName" value="Python 3.9" />
|
5 |
-
</component>
|
6 |
-
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
|
7 |
-
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/modules.xml
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<project version="4">
|
3 |
-
<component name="ProjectModuleManager">
|
4 |
-
<modules>
|
5 |
-
<module fileurl="file://$PROJECT_DIR$/.idea/OPUS-MT-EN-Fixed.iml" filepath="$PROJECT_DIR$/.idea/OPUS-MT-EN-Fixed.iml" />
|
6 |
-
</modules>
|
7 |
-
</component>
|
8 |
-
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/vcs.xml
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<project version="4">
|
3 |
-
<component name="VcsDirectoryMappings">
|
4 |
-
<mapping directory="" vcs="Git" />
|
5 |
-
</component>
|
6 |
-
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -5,52 +5,48 @@ task_categories:
|
|
5 |
language:
|
6 |
- mt
|
7 |
- en
|
8 |
-
|
9 |
-
- legal
|
10 |
configs:
|
11 |
- config_name: default
|
12 |
-
|
13 |
-
|
14 |
-
path:
|
15 |
-
- "data/train.en"
|
16 |
-
- "data/train.mt"
|
17 |
-
- split: dev
|
18 |
-
path:
|
19 |
-
- "data/dev.en"
|
20 |
-
- "data/dev.mt"
|
21 |
-
- split: test
|
22 |
-
path:
|
23 |
-
- "data/test.en"
|
24 |
-
- "data/test.mt"
|
25 |
---
|
26 |
|
27 |
-
# OPUS-100-
|
28 |
|
29 |
## Overview
|
30 |
|
31 |
-
OPUS-100-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
- `data/`
|
36 |
-
- `train.en`: English training data
|
37 |
-
- `train.mt`: Maltese training data with corrected tokenisation
|
38 |
-
- `dev.en`: English validation data
|
39 |
-
- `dev.mt`: Maltese validation data with corrected tokenisation
|
40 |
-
- `test.en`: English test data
|
41 |
-
- `test.mt`: Maltese test data with corrected tokenisation
|
42 |
-
- `README.md`: This file
|
43 |
|
44 |
## Citation
|
45 |
|
46 |
If you use this dataset in your research, please cite the paper:
|
47 |
|
48 |
-
```
|
49 |
@inproceedings{tokenisation2024,
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
55 |
-
|
56 |
-
```
|
|
|
5 |
language:
|
6 |
- mt
|
7 |
- en
|
8 |
+
pretty_name: OPUS-100-MT-EN-Fixed
|
|
|
9 |
configs:
|
10 |
- config_name: default
|
11 |
+
size_categories:
|
12 |
+
- 1M<n<10M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
---
|
14 |
|
15 |
+
# OPUS-100-Fixed: Tokenisation-Improved English-Maltese Dataset
|
16 |
|
17 |
## Overview
|
18 |
|
19 |
+
OPUS-100-Fixed is an updated version of the [OPUS-100](https://huggingface.co/datasets/Helsinki-NLP/opus-100) parallel English-Maltese dataset.
|
20 |
+
This version addresses tokenisation inconsistencies in the Maltese text using the MLRS tokeniser, aiming to improve machine translation quality.
|
21 |
+
The `"en"` column is the same as in the original OPUS-100 data, while the `"mt"` column has been corrected with the [MLRS detokeniser](https://mlrs.research.um.edu.mt/).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
## Citation
|
24 |
|
25 |
If you use this dataset in your research, please cite the paper:
|
26 |
|
27 |
+
```bibtex
|
28 |
@inproceedings{tokenisation2024,
|
29 |
+
title = "Tokenisation in Machine Translation Does Matter: The impact of different tokenisation approaches for {M}altese",
|
30 |
+
author = "Abela, Kurt and
|
31 |
+
Micallef, Kurt and
|
32 |
+
Tanti, Marc and
|
33 |
+
Borg, Claudia",
|
34 |
+
editor = "Ojha, Atul Kr. and
|
35 |
+
Liu, Chao-hong and
|
36 |
+
Vylomova, Ekaterina and
|
37 |
+
Pirinen, Flammie and
|
38 |
+
Abbott, Jade and
|
39 |
+
Washington, Jonathan and
|
40 |
+
Oco, Nathaniel and
|
41 |
+
Malykh, Valentin and
|
42 |
+
Logacheva, Varvara and
|
43 |
+
Zhao, Xiaobing",
|
44 |
+
booktitle = "Proceedings of the Seventh Workshop on Technologies for Machine Translation of Low-Resource Languages (LoResMT 2024)",
|
45 |
+
month = aug,
|
46 |
+
year = "2024",
|
47 |
+
address = "Bangkok, Thailand",
|
48 |
+
publisher = "Association for Computational Linguistics",
|
49 |
+
url = "https://aclanthology.org/2024.loresmt-1.11",
|
50 |
+
pages = "109--120",
|
51 |
}
|
52 |
+
```
|
|
data/dev.en
DELETED
The diff for this file is too large to render.
See raw diff
|
|
data/{train.en → dev.jsonl}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fbb80c021b08a8c684008325ec3dd9265fcc7a27c56bc8e61bf9b62762d72129
|
3 |
+
size 615273
|
data/dev.mt
DELETED
The diff for this file is too large to render.
See raw diff
|
|
data/test.en
DELETED
The diff for this file is too large to render.
See raw diff
|
|
data/{train.mt → test.jsonl}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:135a010838c8fd5270ae825f0b01df695e2892ce37eedb6582678b3fae779215
|
3 |
+
size 587145
|
data/test.mt
DELETED
The diff for this file is too large to render.
See raw diff
|
|
data/train.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d103033e71edf27fab2770b364ca5464af8a022be67cf6db7f8593574bdee78
|
3 |
+
size 233202246
|