vsty commited on
Commit
d8dd59c
·
verified ·
1 Parent(s): 5893d08

Update clef24_dataset_es.py

Browse files
Files changed (1) hide show
  1. 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=("Text", "class_label"),
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
- "sentence": cols[2],
79
- "label": cols[3],
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
  }