Liwei commited on
Commit
1e07ff6
1 Parent(s): 48f506b

Update processing script

Browse files
Files changed (1) hide show
  1. c4_200m.py +4 -4
c4_200m.py CHANGED
@@ -51,8 +51,8 @@ class C4200M(datasets.GeneratorBasedBuilder):
51
  def _info(self):
52
  features = datasets.Features(
53
  {
54
- "text": datasets.Value("string"),
55
- "summary": datasets.Value("string"),
56
  }
57
  )
58
  return datasets.DatasetInfo(
@@ -90,6 +90,6 @@ class C4200M(datasets.GeneratorBasedBuilder):
90
  reader = csv.reader(fix_nulls(f), delimiter="\t", quoting=csv.QUOTE_NONE)
91
  for id_, row in enumerate(reader):
92
  yield id_, {
93
- "text": row[0],
94
- "summary": row[1],
95
  }
 
51
  def _info(self):
52
  features = datasets.Features(
53
  {
54
+ "input": datasets.Value("string"),
55
+ "output": datasets.Value("string"),
56
  }
57
  )
58
  return datasets.DatasetInfo(
 
90
  reader = csv.reader(fix_nulls(f), delimiter="\t", quoting=csv.QUOTE_NONE)
91
  for id_, row in enumerate(reader):
92
  yield id_, {
93
+ "input": row[0],
94
+ "output": row[1],
95
  }