Datasets:
nlp-thedeep
commited on
Commit
•
ba79e96
1
Parent(s):
819c229
Update humsetbias.py
Browse files- humsetbias.py +5 -3
humsetbias.py
CHANGED
@@ -88,6 +88,7 @@ HUMSETBIAS_FEATURES = datasets.Features(
|
|
88 |
}
|
89 |
)
|
90 |
|
|
|
91 |
HUMSETBIAS_GENERAL = [
|
92 |
'entry_id',
|
93 |
'excerpt',
|
@@ -135,7 +136,7 @@ HUMSETBIAS_FEATURES_COUNTRY = [
|
|
135 |
"subpillars_1d",
|
136 |
"subpillars_2d"
|
137 |
]
|
138 |
-
|
139 |
|
140 |
|
141 |
class HumsetConfig(datasets.BuilderConfig):
|
@@ -193,7 +194,8 @@ class Humset(datasets.GeneratorBasedBuilder):
|
|
193 |
gen_kwargs={
|
194 |
"filepath": downloaded_files["dev"]
|
195 |
},
|
196 |
-
)
|
|
|
197 |
#datasets.SplitGenerator(
|
198 |
# name="test_gender",
|
199 |
# gen_kwargs={
|
@@ -206,7 +208,7 @@ class Humset(datasets.GeneratorBasedBuilder):
|
|
206 |
# "filepath": downloaded_files["country"]
|
207 |
# }
|
208 |
#),
|
209 |
-
]
|
210 |
|
211 |
return splits
|
212 |
|
|
|
88 |
}
|
89 |
)
|
90 |
|
91 |
+
""""
|
92 |
HUMSETBIAS_GENERAL = [
|
93 |
'entry_id',
|
94 |
'excerpt',
|
|
|
136 |
"subpillars_1d",
|
137 |
"subpillars_2d"
|
138 |
]
|
139 |
+
"""
|
140 |
|
141 |
|
142 |
class HumsetConfig(datasets.BuilderConfig):
|
|
|
194 |
gen_kwargs={
|
195 |
"filepath": downloaded_files["dev"]
|
196 |
},
|
197 |
+
)
|
198 |
+
]
|
199 |
#datasets.SplitGenerator(
|
200 |
# name="test_gender",
|
201 |
# gen_kwargs={
|
|
|
208 |
# "filepath": downloaded_files["country"]
|
209 |
# }
|
210 |
#),
|
211 |
+
#]
|
212 |
|
213 |
return splits
|
214 |
|