Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
csv
Languages:
Spanish
Size:
10K - 100K
License:
Update clef24_dataset_es.py
Browse files- clef24_dataset_es.py +3 -3
clef24_dataset_es.py
CHANGED
@@ -42,7 +42,7 @@ class CLEF24EsData(GeneratorBasedBuilder):
|
|
42 |
"tweet_text": Value("string"),
|
43 |
"class_label": Value("string"),
|
44 |
}),
|
45 |
-
supervised_keys=("
|
46 |
homepage="https://gitlab.com/checkthat_lab/clef2024-checkthat-lab/-/tree/main/task1",
|
47 |
citation=_CITATION,
|
48 |
license=_LICENSE,
|
@@ -75,6 +75,6 @@ class CLEF24EsData(GeneratorBasedBuilder):
|
|
75 |
yield f"{split}_{id_}", {
|
76 |
"tweet_id": cols[0],
|
77 |
"tweet_url": cols[1],
|
78 |
-
"
|
79 |
-
"
|
80 |
}
|
|
|
42 |
"tweet_text": Value("string"),
|
43 |
"class_label": Value("string"),
|
44 |
}),
|
45 |
+
supervised_keys=("tweet_text", "class_label"),
|
46 |
homepage="https://gitlab.com/checkthat_lab/clef2024-checkthat-lab/-/tree/main/task1",
|
47 |
citation=_CITATION,
|
48 |
license=_LICENSE,
|
|
|
75 |
yield f"{split}_{id_}", {
|
76 |
"tweet_id": cols[0],
|
77 |
"tweet_url": cols[1],
|
78 |
+
"tweet_text": cols[2],
|
79 |
+
"class_label": cols[3],
|
80 |
}
|