stas commited on
Commit
f8eb0d7
·
1 Parent(s): 6b0ef43
Files changed (1) hide show
  1. wmt16-en-ro-pre-processed.py +4 -17
wmt16-en-ro-pre-processed.py CHANGED
@@ -12,7 +12,7 @@
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
- """TODO: Add a description here."""
16
 
17
  from __future__ import absolute_import, division, print_function
18
 
@@ -23,7 +23,6 @@ import os
23
  import datasets
24
 
25
 
26
- # TODO: Add BibTeX citation
27
  # Find for instance the citation on arxiv or on the dataset repo/website
28
  _CITATION = """\
29
  @InProceedings{,
@@ -33,24 +32,12 @@ year={2016}
33
  }
34
  """
35
 
36
- # TODO: Add description of the dataset here
37
- # You can copy an official description
38
- _DESCRIPTION = """\
39
- WMT16 English-Romanian Translation Data with further preprocessing
40
- """
41
-
42
- # TODO: Add a link to an official homepage for the dataset here
43
  _HOMEPAGE = "http://www.statmt.org/wmt16/"
44
-
45
- # TODO: Add the licence for the dataset here if you can find it
46
  _LICENSE = ""
47
 
48
- # TODO: Add link to the official dataset URLs here
49
- # The HuggingFace dataset library don't host the datasets but only point to the original files
50
- # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
51
- _URLs = {
52
- 'hf': "https://cdn-datasets.huggingface.co/translation/wmt_en_ro.tar.gz"
53
- }
54
 
55
 
56
  class Wmt16EnRoPreProcessedConfig(datasets.BuilderConfig):
 
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
+ """ WMT16 English-Romanian Translation Data with further preprocessing """
16
 
17
  from __future__ import absolute_import, division, print_function
18
 
 
23
  import datasets
24
 
25
 
 
26
  # Find for instance the citation on arxiv or on the dataset repo/website
27
  _CITATION = """\
28
  @InProceedings{,
 
32
  }
33
  """
34
 
35
+ _DESCRIPTION = "WMT16 English-Romanian Translation Data with further preprocessing"
 
 
 
 
 
 
36
  _HOMEPAGE = "http://www.statmt.org/wmt16/"
 
 
37
  _LICENSE = ""
38
 
39
+
40
+ _DATA_URL = "https://cdn-datasets.huggingface.co/translation/wmt_en_ro.tar.gz"
 
 
 
 
41
 
42
 
43
  class Wmt16EnRoPreProcessedConfig(datasets.BuilderConfig):