yonatanbitton commited on
Commit
44fca02
1 Parent(s): 85b0519

Update winogavil.py

Browse files
Files changed (1) hide show
  1. winogavil.py +8 -0
winogavil.py CHANGED
@@ -19,6 +19,7 @@ import os
19
 
20
  import datasets
21
 
 
22
 
23
  # Find for instance the citation on arxiv or on the dataset repo/website
24
  _CITATION = """\
@@ -61,8 +62,11 @@ class Winogavil(datasets.GeneratorBasedBuilder):
61
  ]
62
 
63
  DEFAULT_CONFIG_NAME = "10_12" # It's not mandatory to have a default configuration. Just use one if it make sense.
 
64
 
65
  def _info(self):
 
 
66
  features = datasets.Features(
67
  {
68
  "candidates": datasets.Value("string"),
@@ -93,6 +97,8 @@ class Winogavil(datasets.GeneratorBasedBuilder):
93
  )
94
 
95
  def _split_generators(self, dl_manager):
 
 
96
  # If several configurations are possible (listed in BUILDER_CONFIGS), the configuration selected by the user is in self.config.name
97
 
98
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
@@ -121,6 +127,8 @@ class Winogavil(datasets.GeneratorBasedBuilder):
121
 
122
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
123
  def _generate_examples(self, filepath, split):
 
 
124
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
125
 
126
  df = pd.read_csv(filepath)
 
19
 
20
  import datasets
21
 
22
+ print('winogavil.py')
23
 
24
  # Find for instance the citation on arxiv or on the dataset repo/website
25
  _CITATION = """\
 
62
  ]
63
 
64
  DEFAULT_CONFIG_NAME = "10_12" # It's not mandatory to have a default configuration. Just use one if it make sense.
65
+ print('winogavil.py BUILDER')
66
 
67
  def _info(self):
68
+ print('winogavil.py INFO')
69
+
70
  features = datasets.Features(
71
  {
72
  "candidates": datasets.Value("string"),
 
97
  )
98
 
99
  def _split_generators(self, dl_manager):
100
+ print('winogavil.py _split_generators')
101
+
102
  # If several configurations are possible (listed in BUILDER_CONFIGS), the configuration selected by the user is in self.config.name
103
 
104
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
 
127
 
128
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
129
  def _generate_examples(self, filepath, split):
130
+ print('winogavil.py _generate_examples')
131
+
132
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
133
 
134
  df = pd.read_csv(filepath)