Fix the class labels feature
#2
by severo HF Staff - opened
- geokhoj_v1.py +1 -1
geokhoj_v1.py
CHANGED
|
@@ -99,7 +99,7 @@ class Geokhojv1Dataset(datasets.GeneratorBasedBuilder):
|
|
| 99 |
{
|
| 100 |
"id": datasets.Value("string"),
|
| 101 |
"label": datasets.features.ClassLabel(
|
| 102 |
-
names=
|
| 103 |
),
|
| 104 |
"text": datasets.Value("string"),
|
| 105 |
}
|
|
|
|
| 99 |
{
|
| 100 |
"id": datasets.Value("string"),
|
| 101 |
"label": datasets.features.ClassLabel(
|
| 102 |
+
names=["control", "perturbation"]
|
| 103 |
),
|
| 104 |
"text": datasets.Value("string"),
|
| 105 |
}
|