Arie Cattan commited on
Commit
2b7e78e
·
1 Parent(s): ce5868a
Files changed (1) hide show
  1. scico.py +10 -2
scico.py CHANGED
@@ -24,14 +24,22 @@ _DESCRIPTION = """\
24
  _DATA_URL = "https://nlp.biu.ac.il/~ariecattan/scico/data.tar"
25
 
26
  class Scico(datasets.GeneratorBasedBuilder):
 
 
 
 
 
 
 
 
27
  def _info(self):
28
  return datasets.DatasetInfo(
29
  description=_DESCRIPTION,
30
  homepage="https://scico.apps.allenai.org/",
31
  features=datasets.Features(
32
  {
33
- "flatten_tokens": datasets.Sequence(),
34
- "flatten_mentions": datasets.Sequence(),
35
  "tokens": datasets.Sequence(),
36
  "doc_ids": datasets.Sequence(),
37
  "metadata": datasets.Sequence(),
 
24
  _DATA_URL = "https://nlp.biu.ac.il/~ariecattan/scico/data.tar"
25
 
26
  class Scico(datasets.GeneratorBasedBuilder):
27
+ BUILDER_CONFIGS = [
28
+ datasets.BuilderConfig(
29
+ name="plain_text",
30
+ version=datasets.Version("1.0.0", ""),
31
+ description="SciCo",
32
+ )
33
+ ]
34
+
35
  def _info(self):
36
  return datasets.DatasetInfo(
37
  description=_DESCRIPTION,
38
  homepage="https://scico.apps.allenai.org/",
39
  features=datasets.Features(
40
  {
41
+ "flatten_tokens": datasets.list(),
42
+ "flatten_mentions": datasets.list(),
43
  "tokens": datasets.Sequence(),
44
  "doc_ids": datasets.Sequence(),
45
  "metadata": datasets.Sequence(),