Datasets:
License:
Update aftdb.py
Browse files
aftdb.py
CHANGED
@@ -68,7 +68,7 @@ class AFT_Dataset(datasets.GeneratorBasedBuilder):
|
|
68 |
"Dataset containing scientific article figures associated "
|
69 |
"with their caption, summary, and article title."
|
70 |
),
|
71 |
-
data_dir="./
|
72 |
nb_files_figure=_NB_TAR_FIGURE,
|
73 |
nb_files_table=None
|
74 |
),
|
@@ -80,7 +80,7 @@ class AFT_Dataset(datasets.GeneratorBasedBuilder):
|
|
80 |
"representation of the table, including its caption, summary, "
|
81 |
"and article title."
|
82 |
),
|
83 |
-
data_dir="./
|
84 |
nb_files_figure=None,
|
85 |
nb_files_table=_NB_TAR_TABLE
|
86 |
),
|
@@ -92,7 +92,7 @@ class AFT_Dataset(datasets.GeneratorBasedBuilder):
|
|
92 |
"textual representation of the table, including its caption, "
|
93 |
"summary, and article title."
|
94 |
),
|
95 |
-
data_dir="./
|
96 |
nb_files_figure=_NB_TAR_FIGURE,
|
97 |
nb_files_table=_NB_TAR_TABLE
|
98 |
)
|
|
|
68 |
"Dataset containing scientific article figures associated "
|
69 |
"with their caption, summary, and article title."
|
70 |
),
|
71 |
+
data_dir="./{type}", # A modiféer sur Huggingface Hub
|
72 |
nb_files_figure=_NB_TAR_FIGURE,
|
73 |
nb_files_table=None
|
74 |
),
|
|
|
80 |
"representation of the table, including its caption, summary, "
|
81 |
"and article title."
|
82 |
),
|
83 |
+
data_dir="./{type}", # A modiféer sur Huggingface Hub
|
84 |
nb_files_figure=None,
|
85 |
nb_files_table=_NB_TAR_TABLE
|
86 |
),
|
|
|
92 |
"textual representation of the table, including its caption, "
|
93 |
"summary, and article title."
|
94 |
),
|
95 |
+
data_dir="./{type}", # A modiféer sur Huggingface Hub
|
96 |
nb_files_figure=_NB_TAR_FIGURE,
|
97 |
nb_files_table=_NB_TAR_TABLE
|
98 |
)
|