Datasets:
License:
Update aftdb.py
Browse files
aftdb.py
CHANGED
@@ -58,7 +58,7 @@ class AFT_Dataset(datasets.GeneratorBasedBuilder):
|
|
58 |
"Dataset containing scientific article figures associated "
|
59 |
"with their caption, summary, and article title."
|
60 |
),
|
61 |
-
data_dir="
|
62 |
nb_files_figure=_NB_TAR_FIGURE,
|
63 |
nb_files_table=None
|
64 |
),
|
@@ -70,7 +70,7 @@ class AFT_Dataset(datasets.GeneratorBasedBuilder):
|
|
70 |
"representation of the table, including its caption, summary, "
|
71 |
"and article title."
|
72 |
),
|
73 |
-
data_dir="
|
74 |
nb_files_figure=None,
|
75 |
nb_files_table=_NB_TAR_TABLE
|
76 |
),
|
@@ -82,7 +82,7 @@ class AFT_Dataset(datasets.GeneratorBasedBuilder):
|
|
82 |
"textual representation of the table, including its caption, "
|
83 |
"summary, and article title."
|
84 |
),
|
85 |
-
data_dir="
|
86 |
nb_files_figure=_NB_TAR_FIGURE,
|
87 |
nb_files_table=_NB_TAR_TABLE
|
88 |
)
|
|
|
58 |
"Dataset containing scientific article figures associated "
|
59 |
"with their caption, summary, and article title."
|
60 |
),
|
61 |
+
data_dir="{type}", # A modiféer sur Huggingface Hub => "./" supprimé
|
62 |
nb_files_figure=_NB_TAR_FIGURE,
|
63 |
nb_files_table=None
|
64 |
),
|
|
|
70 |
"representation of the table, including its caption, summary, "
|
71 |
"and article title."
|
72 |
),
|
73 |
+
data_dir="{type}", # A modiféer sur Huggingface Hub => "./" supprimé
|
74 |
nb_files_figure=None,
|
75 |
nb_files_table=_NB_TAR_TABLE
|
76 |
),
|
|
|
82 |
"textual representation of the table, including its caption, "
|
83 |
"summary, and article title."
|
84 |
),
|
85 |
+
data_dir="{type}", # A modiféer sur Huggingface Hub => "./" supprimé
|
86 |
nb_files_figure=_NB_TAR_FIGURE,
|
87 |
nb_files_table=_NB_TAR_TABLE
|
88 |
)
|