Update get_stats.py
Browse files- get_stats.py +1 -1
get_stats.py
CHANGED
|
@@ -15,7 +15,7 @@ task_description = {
|
|
| 15 |
"tweet_nerd": "binary classification"
|
| 16 |
}
|
| 17 |
for task in task_description.keys():
|
| 18 |
-
data = load_dataset("
|
| 19 |
tmp_table = {"task": task, "description": task_description[task]}
|
| 20 |
tmp_table['number of instances'] = " / ".join([str(len(data[s])) for s in ['train', 'validation', 'test']])
|
| 21 |
table.append(tmp_table)
|
|
|
|
| 15 |
"tweet_nerd": "binary classification"
|
| 16 |
}
|
| 17 |
for task in task_description.keys():
|
| 18 |
+
data = load_dataset(".", task)
|
| 19 |
tmp_table = {"task": task, "description": task_description[task]}
|
| 20 |
tmp_table['number of instances'] = " / ".join([str(len(data[s])) for s in ['train', 'validation', 'test']])
|
| 21 |
table.append(tmp_table)
|