Datasets:
Rename GenDocVQA2024.py to GenDocVQA.py
Browse files
GenDocVQA2024.py → GenDocVQA.py
RENAMED
@@ -11,7 +11,7 @@
|
|
11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
-
"""This is a data loader for the GenDocVQA
|
15 |
|
16 |
|
17 |
import csv
|
@@ -27,14 +27,14 @@ This dataset is dedicated to the non-extractive document visual question challen
|
|
27 |
"""
|
28 |
|
29 |
_URLS = {
|
30 |
-
'img_tar': 'https://huggingface.co/datasets/lenagibee/
|
31 |
-
'ocr_tar': 'https://huggingface.co/datasets/lenagibee/
|
32 |
-
'annotations_tar': 'https://huggingface.co/datasets/lenagibee/
|
33 |
}
|
34 |
|
35 |
_LICENSE = "Other"
|
36 |
|
37 |
-
class
|
38 |
|
39 |
VERSION = datasets.Version("1.0.0")
|
40 |
|
|
|
11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
+
"""This is a data loader for the GenDocVQA Dataset."""
|
15 |
|
16 |
|
17 |
import csv
|
|
|
27 |
"""
|
28 |
|
29 |
_URLS = {
|
30 |
+
'img_tar': 'https://huggingface.co/datasets/lenagibee/GenDocVQA/resolve/main/archives/gendocvqa2024_imgs.tar.gz?download=true',
|
31 |
+
'ocr_tar': 'https://huggingface.co/datasets/lenagibee/GenDocVQA/resolve/main/archives/gendocvqa2024_ocr.tar.gz?download=true',
|
32 |
+
'annotations_tar': 'https://huggingface.co/datasets/lenagibee/GenDocVQA/resolve/main/archives/gendocvqa2024_annotations.tar.gz?download=true'
|
33 |
}
|
34 |
|
35 |
_LICENSE = "Other"
|
36 |
|
37 |
+
class GenDocVQA(datasets.GeneratorBasedBuilder):
|
38 |
|
39 |
VERSION = datasets.Version("1.0.0")
|
40 |
|