Datasets:

Modalities:
Text
Formats:
parquet
Libraries:
Datasets
pandas
License:
parquet-converter commited on
Commit
973595e
1 Parent(s): 6348068

Update parquet files

Browse files
.gitattributes DELETED
@@ -1,27 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bin.* filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.model filter=lfs diff=lfs merge=lfs -text
12
- *.msgpack filter=lfs diff=lfs merge=lfs -text
13
- *.onnx filter=lfs diff=lfs merge=lfs -text
14
- *.ot filter=lfs diff=lfs merge=lfs -text
15
- *.parquet filter=lfs diff=lfs merge=lfs -text
16
- *.pb filter=lfs diff=lfs merge=lfs -text
17
- *.pt filter=lfs diff=lfs merge=lfs -text
18
- *.pth filter=lfs diff=lfs merge=lfs -text
19
- *.rar filter=lfs diff=lfs merge=lfs -text
20
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
- *.tar.* filter=lfs diff=lfs merge=lfs -text
22
- *.tflite filter=lfs diff=lfs merge=lfs -text
23
- *.tgz filter=lfs diff=lfs merge=lfs -text
24
- *.xz filter=lfs diff=lfs merge=lfs -text
25
- *.zip filter=lfs diff=lfs merge=lfs -text
26
- *.zstandard filter=lfs diff=lfs merge=lfs -text
27
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,159 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - found
4
- language_creators:
5
- - found
6
- language:
7
- - cnr
8
- - en
9
- license:
10
- - unknown
11
- multilinguality:
12
- - translation
13
- size_categories:
14
- - 10K<n<100K
15
- source_datasets:
16
- - original
17
- task_categories:
18
- - translation
19
- task_ids: []
20
- paperswithcode_id: null
21
- pretty_name: OpusMontenegrinsubs
22
- dataset_info:
23
- features:
24
- - name: translation
25
- dtype:
26
- translation:
27
- languages:
28
- - en
29
- - me
30
- config_name: en-me
31
- splits:
32
- - name: train
33
- num_bytes: 4896403
34
- num_examples: 65043
35
- download_size: 1990570
36
- dataset_size: 4896403
37
- ---
38
-
39
- # Dataset Card for [opus_montenegrinsubs]
40
-
41
- ## Table of Contents
42
- - [Dataset Description](#dataset-description)
43
- - [Dataset Summary](#dataset-summary)
44
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
45
- - [Languages](#languages)
46
- - [Dataset Structure](#dataset-structure)
47
- - [Data Instances](#data-instances)
48
- - [Data Fields](#data-fields)
49
- - [Data Splits](#data-splits)
50
- - [Dataset Creation](#dataset-creation)
51
- - [Curation Rationale](#curation-rationale)
52
- - [Source Data](#source-data)
53
- - [Annotations](#annotations)
54
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
55
- - [Considerations for Using the Data](#considerations-for-using-the-data)
56
- - [Social Impact of Dataset](#social-impact-of-dataset)
57
- - [Discussion of Biases](#discussion-of-biases)
58
- - [Other Known Limitations](#other-known-limitations)
59
- - [Additional Information](#additional-information)
60
- - [Dataset Curators](#dataset-curators)
61
- - [Licensing Information](#licensing-information)
62
- - [Citation Information](#citation-information)
63
- - [Contributions](#contributions)
64
-
65
- ## Dataset Description
66
-
67
- - **Homepage:**[opus MontenegrinSubs ](http://opus.nlpl.eu/MontenegrinSubs.php)
68
- - **Repository:**
69
- - **Paper:**
70
- - **Leaderboard:**
71
- - **Point of Contact:**
72
-
73
- ### Dataset Summary
74
-
75
- Opus MontenegrinSubs dataset for machine translation task, for language pair en-me: english and montenegrin
76
-
77
- ### Supported Tasks and Leaderboards
78
-
79
- The underlying task is machine translation from en to me
80
-
81
- ### Languages
82
-
83
- [More Information Needed]
84
-
85
- ## Dataset Structure
86
-
87
- ### Data Instances
88
-
89
- [More Information Needed]
90
-
91
- ### Data Fields
92
-
93
- [More Information Needed]
94
-
95
- ### Data Splits
96
-
97
- [More Information Needed]
98
-
99
- ## Dataset Creation
100
-
101
- ### Curation Rationale
102
-
103
- [More Information Needed]
104
-
105
- ### Source Data
106
-
107
- #### Initial Data Collection and Normalization
108
-
109
- [More Information Needed]
110
-
111
- #### Who are the source language producers?
112
-
113
- [More Information Needed]
114
-
115
- ### Annotations
116
-
117
- #### Annotation process
118
-
119
- [More Information Needed]
120
-
121
- #### Who are the annotators?
122
-
123
- [More Information Needed]
124
-
125
- ### Personal and Sensitive Information
126
-
127
- [More Information Needed]
128
-
129
- ## Considerations for Using the Data
130
-
131
- ### Social Impact of Dataset
132
-
133
- [More Information Needed]
134
-
135
- ### Discussion of Biases
136
-
137
- [More Information Needed]
138
-
139
- ### Other Known Limitations
140
-
141
- [More Information Needed]
142
-
143
- ## Additional Information
144
-
145
- ### Dataset Curators
146
-
147
- [More Information Needed]
148
-
149
- ### Licensing Information
150
-
151
- [More Information Needed]
152
-
153
- ### Citation Information
154
-
155
- J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)
156
-
157
- ### Contributions
158
-
159
- Thanks to [@spatil6](https://github.com/spatil6) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"en-me": {"description": "Opus MontenegrinSubs dataset for machine translation task, for language pair en-me: english and montenegrin", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)", "homepage": "http://opus.nlpl.eu/MontenegrinSubs.php", "license": "", "features": {"translation": {"languages": ["en", "me"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "opus_montenegrinsubs", "config_name": "en-me", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 4896403, "num_examples": 65043, "dataset_name": "opus_montenegrinsubs"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-MontenegrinSubs/v1/moses/en-me.txt.zip": {"num_bytes": 1990570, "checksum": "d09a6e2d1d1a31865fffe749d1179611d20d67fcf7d9cef8187053df6e113691"}}, "download_size": 1990570, "post_processing_size": null, "dataset_size": 4896403, "size_in_bytes": 6886973}}
 
 
en-me/opus_montenegrinsubs-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:011ad372cace2a5986386351175552147aa50f6c9dc105362e603ff11a9c7a91
3
+ size 3376458
opus_montenegrinsubs.py DELETED
@@ -1,90 +0,0 @@
1
- # coding=utf-8
2
- # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- """Opus MontenegrinSubs dataset for machine translation task, for language pair en-me."""
16
-
17
-
18
- import os
19
-
20
- import datasets
21
-
22
-
23
- _CITATION = """\
24
- J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference \
25
- on Language Resources and Evaluation (LREC 2012)"""
26
-
27
-
28
- _DESCRIPTION = """\
29
- Opus MontenegrinSubs dataset for machine translation task, for language pair en-me: english and montenegrin
30
- """
31
-
32
-
33
- _HOMEPAGE = "http://opus.nlpl.eu/MontenegrinSubs.php"
34
-
35
-
36
- _LICENSE = ""
37
-
38
- _URLs = {"train": "https://object.pouta.csc.fi/OPUS-MontenegrinSubs/v1/moses/en-me.txt.zip"}
39
-
40
-
41
- class OpusMontenegrinsubs(datasets.GeneratorBasedBuilder):
42
-
43
- VERSION = datasets.Version("1.0.0")
44
-
45
- BUILDER_CONFIGS = [datasets.BuilderConfig(name="en-me", version=VERSION)]
46
-
47
- def _info(self):
48
- return datasets.DatasetInfo(
49
- description=_DESCRIPTION,
50
- features=datasets.Features(
51
- {"translation": datasets.features.Translation(languages=tuple(self.config.name.split("-")))}
52
- ),
53
- supervised_keys=None,
54
- homepage="http://opus.nlpl.eu/MontenegrinSubs.php",
55
- citation=_CITATION,
56
- )
57
-
58
- def _split_generators(self, dl_manager):
59
- """Returns SplitGenerators."""
60
- data_dir = dl_manager.download_and_extract(_URLs)
61
- return [
62
- datasets.SplitGenerator(
63
- name=datasets.Split.TRAIN,
64
- # These kwargs will be passed to _generate_examples
65
- gen_kwargs={
66
- "source_file": os.path.join(data_dir["train"], "MontenegrinSubs.en-me.en"),
67
- "target_file": os.path.join(data_dir["train"], "MontenegrinSubs.en-me.me"),
68
- "split": "train",
69
- },
70
- ),
71
- ]
72
-
73
- def _generate_examples(self, source_file, target_file, split):
74
- """This function returns the examples in the raw (text) form."""
75
- with open(source_file, encoding="utf-8") as f:
76
- source_sentences = f.read().split("\n")
77
- with open(target_file, encoding="utf-8") as f:
78
- target_sentences = f.read().split("\n")
79
-
80
- assert len(target_sentences) == len(source_sentences), "Sizes do not match: %d vs %d for %s vs %s." % (
81
- len(source_sentences),
82
- len(target_sentences),
83
- source_file,
84
- target_file,
85
- )
86
-
87
- source, target = tuple(self.config.name.split("-"))
88
- for idx, (l1, l2) in enumerate(zip(source_sentences, target_sentences)):
89
- result = {"translation": {source: l1, target: l2}}
90
- yield idx, result