Update chess_ground-targz.py
Browse files- chess_ground-targz.py +14 -0
chess_ground-targz.py
CHANGED
|
@@ -4,6 +4,20 @@ import tarfile
|
|
| 4 |
import datasets
|
| 5 |
from collections import defaultdict
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
class ChessImageTextDataset(datasets.GeneratorBasedBuilder):
|
| 8 |
"""Dataset for linking chess scoresheet images with multiple ground truth texts."""
|
| 9 |
|
|
|
|
| 4 |
import datasets
|
| 5 |
from collections import defaultdict
|
| 6 |
|
| 7 |
+
_DESCRIPTION = """\
|
| 8 |
+
Dataset for extracting notations from chess scoresheets, integrating both image and text data.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
_CITATION = """\
|
| 12 |
+
@InProceedings{huggingface:dataset,
|
| 13 |
+
title = {A great new dataset},
|
| 14 |
+
author={huggingface, Inc.},
|
| 15 |
+
year={2024}
|
| 16 |
+
}
|
| 17 |
+
"""
|
| 18 |
+
|
| 19 |
+
_LICENSE = "Creative Commons Attribution 3.0"
|
| 20 |
+
|
| 21 |
class ChessImageTextDataset(datasets.GeneratorBasedBuilder):
|
| 22 |
"""Dataset for linking chess scoresheet images with multiple ground truth texts."""
|
| 23 |
|