add testo to mate
Browse files- Invalsi.py +2 -0
Invalsi.py
CHANGED
@@ -65,6 +65,7 @@ class invalsi(datasets.GeneratorBasedBuilder):
|
|
65 |
features = datasets.Features(
|
66 |
# TODO: add after the image col is there "immagine": datasets.Value("string"),
|
67 |
{
|
|
|
68 |
"domanda": datasets.Value("string"),
|
69 |
"risposta": datasets.Value("string"),
|
70 |
"test_id": datasets.Value("string"),
|
@@ -117,6 +118,7 @@ class invalsi(datasets.GeneratorBasedBuilder):
|
|
117 |
if self.config.name == "mate":
|
118 |
# Yields examples as (key, example) tuples
|
119 |
out = {
|
|
|
120 |
"domanda": row["domanda"],
|
121 |
"risposta": row["risposta"],
|
122 |
"test_id": row["test_id"],
|
|
|
65 |
features = datasets.Features(
|
66 |
# TODO: add after the image col is there "immagine": datasets.Value("string"),
|
67 |
{
|
68 |
+
"testo": datasets.Value("string"),
|
69 |
"domanda": datasets.Value("string"),
|
70 |
"risposta": datasets.Value("string"),
|
71 |
"test_id": datasets.Value("string"),
|
|
|
118 |
if self.config.name == "mate":
|
119 |
# Yields examples as (key, example) tuples
|
120 |
out = {
|
121 |
+
"testo": row["testo"],
|
122 |
"domanda": row["domanda"],
|
123 |
"risposta": row["risposta"],
|
124 |
"test_id": row["test_id"],
|