Datasets:

Languages:
English
Multilinguality:
translation
Size Categories:
10K<n<100K
Source Datasets:
original
Tags:
License:
cdleong commited on
Commit
2cc53e0
1 Parent(s): bc885a9

Update piglatin-mt.py

Browse files
Files changed (1) hide show
  1. piglatin-mt.py +4 -6
piglatin-mt.py CHANGED
@@ -23,8 +23,7 @@ import datasets
23
 
24
  # TODO: Add BibTeX citation
25
  # Find for instance the citation on arxiv or on the dataset repo/website
26
- _CITATION = """\
27
- @InProceedings{huggingface:dataset,
28
  title = {A great new dataset},
29
  author={huggingface, Inc.
30
  },
@@ -34,8 +33,7 @@ year={2020}
34
 
35
 
36
  # You can copy an official description
37
- _DESCRIPTION = """\
38
- Pig-latin machine and English parallel machine translation corpus.
39
 
40
  Based on
41
  The Project Gutenberg EBook of "De Bello Gallico" and Other Commentaries
@@ -54,12 +52,12 @@ _LICENSE = "MIT License, derived from public domain text and converted with MIT-
54
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
55
  _URLS = {
56
  "train": "./piglatin-mt-train.json",
57
- "dev": "./piglatin-mt-test.json",
58
  }
59
 
60
 
61
  # TODO: Name of the dataset usually match the script name with CamelCase instead of snake_case
62
- class PigLatin-MT(datasets.GeneratorBasedBuilder):
63
  """Machine Translation dataset created with """
64
 
65
  VERSION = datasets.Version("1.0.0")
 
23
 
24
  # TODO: Add BibTeX citation
25
  # Find for instance the citation on arxiv or on the dataset repo/website
26
+ _CITATION = """\\r\n@InProceedings{huggingface:dataset,
 
27
  title = {A great new dataset},
28
  author={huggingface, Inc.
29
  },
 
33
 
34
 
35
  # You can copy an official description
36
+ _DESCRIPTION = """\\r\nPig-latin machine and English parallel machine translation corpus.
 
37
 
38
  Based on
39
  The Project Gutenberg EBook of "De Bello Gallico" and Other Commentaries
 
52
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
53
  _URLS = {
54
  "train": "./piglatin-mt-train.json",
55
+ "test": "./piglatin-mt-test.json",
56
  }
57
 
58
 
59
  # TODO: Name of the dataset usually match the script name with CamelCase instead of snake_case
60
+ class PigLatinMT(datasets.GeneratorBasedBuilder):
61
  """Machine Translation dataset created with """
62
 
63
  VERSION = datasets.Version("1.0.0")