liweili commited on
Commit
d601dbd
1 Parent(s): e85837e

Update c4_200m.py

Browse files
Files changed (1) hide show
  1. c4_200m.py +5 -6
c4_200m.py CHANGED
@@ -25,11 +25,10 @@ import datasets
25
  # TODO: Add BibTeX citation
26
  # Find for instance the citation on arxiv or on the dataset repo/website
27
  _CITATION = """\
28
- @InProceedings{huggingface:dataset,
29
- title = {A great new dataset},
30
- author={huggingface, Inc.
31
- },
32
- year={2020}
33
  }
34
  """
35
 
@@ -84,7 +83,7 @@ class C4200M(datasets.GeneratorBasedBuilder):
84
  for line in s:
85
  yield line.replace('\0', ' ')
86
 
87
- path = filepath + "/*.tsv*"
88
  for filename in glob.glob(path):
89
  with open(filename, encoding="utf-8") as f:
90
  reader = csv.reader(fix_nulls(f), delimiter="\t", quoting=csv.QUOTE_NONE)
25
  # TODO: Add BibTeX citation
26
  # Find for instance the citation on arxiv or on the dataset repo/website
27
  _CITATION = """\
28
+ @InProceedings{huggingface:c4_200m_dataset,
29
+ title = {c4_200m},
30
+ author={Li Liwei},
31
+ year={2021}
 
32
  }
33
  """
34
 
83
  for line in s:
84
  yield line.replace('\0', ' ')
85
 
86
+ path = os.path.join(filepath, "/*.tsv*")
87
  for filename in glob.glob(path):
88
  with open(filename, encoding="utf-8") as f:
89
  reader = csv.reader(fix_nulls(f), delimiter="\t", quoting=csv.QUOTE_NONE)