Datasets:
Update README.md to include detailed dataset information for Mahjong Souls Tiles, including dataset description, usage, associated model performance, training hyperparameters, and citation. Added license information and improved formatting for clarity.
Browse files
README.md
CHANGED
@@ -1,144 +1,89 @@
|
|
1 |
---
|
2 |
task_categories:
|
3 |
- image-classification
|
|
|
4 |
size_categories:
|
5 |
-
-
|
6 |
---
|
7 |
|
8 |
-
# Dataset Card for
|
9 |
-
|
10 |
-
<!-- Provide a quick summary of the dataset. -->
|
11 |
-
|
12 |
-
This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).
|
13 |
|
14 |
## Dataset Details
|
15 |
|
16 |
### Dataset Description
|
17 |
|
18 |
-
|
19 |
-
|
20 |
|
|
|
21 |
|
22 |
-
- **Curated by:**
|
23 |
-
- **
|
24 |
-
- **Shared by [optional]:** [More Information Needed]
|
25 |
-
- **Language(s) (NLP):** [More Information Needed]
|
26 |
-
- **License:** [More Information Needed]
|
27 |
|
28 |
-
### Dataset Sources
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
- **Repository:** [More Information Needed]
|
33 |
-
- **Paper [optional]:** [More Information Needed]
|
34 |
-
- **Demo [optional]:** [More Information Needed]
|
35 |
|
36 |
## Uses
|
37 |
|
38 |
-
<!-- Address questions around how the dataset is intended to be used. -->
|
39 |
-
|
40 |
### Direct Use
|
41 |
|
42 |
-
|
43 |
-
|
44 |
-
[More Information Needed]
|
45 |
|
46 |
### Out-of-Scope Use
|
47 |
|
48 |
-
|
49 |
-
|
50 |
-
[More Information Needed]
|
51 |
|
52 |
## Dataset Structure
|
53 |
|
54 |
-
|
55 |
-
|
56 |
-
[More Information Needed]
|
57 |
-
|
58 |
-
## Dataset Creation
|
59 |
-
|
60 |
-
### Curation Rationale
|
61 |
-
|
62 |
-
<!-- Motivation for the creation of this dataset. -->
|
63 |
-
|
64 |
-
[More Information Needed]
|
65 |
-
|
66 |
-
### Source Data
|
67 |
-
|
68 |
-
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
|
69 |
-
|
70 |
-
#### Data Collection and Processing
|
71 |
-
|
72 |
-
<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
|
73 |
-
|
74 |
-
[More Information Needed]
|
75 |
-
|
76 |
-
#### Who are the source data producers?
|
77 |
-
|
78 |
-
<!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
|
79 |
-
|
80 |
-
[More Information Needed]
|
81 |
-
|
82 |
-
### Annotations [optional]
|
83 |
-
|
84 |
-
<!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
|
85 |
-
|
86 |
-
#### Annotation process
|
87 |
-
|
88 |
-
<!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
|
89 |
-
|
90 |
-
[More Information Needed]
|
91 |
-
|
92 |
-
#### Who are the annotators?
|
93 |
-
|
94 |
-
<!-- This section describes the people or systems who created the annotations. -->
|
95 |
-
|
96 |
-
[More Information Needed]
|
97 |
-
|
98 |
-
#### Personal and Sensitive Information
|
99 |
-
|
100 |
-
<!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
|
101 |
-
|
102 |
-
[More Information Needed]
|
103 |
-
|
104 |
-
## Bias, Risks, and Limitations
|
105 |
-
|
106 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
107 |
-
|
108 |
-
[More Information Needed]
|
109 |
-
|
110 |
-
### Recommendations
|
111 |
-
|
112 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
113 |
-
|
114 |
-
Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
|
115 |
-
|
116 |
-
## Citation [optional]
|
117 |
-
|
118 |
-
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
119 |
|
120 |
-
|
121 |
|
122 |
-
|
123 |
|
124 |
-
|
|
|
|
|
|
|
125 |
|
126 |
-
|
127 |
|
128 |
-
|
129 |
|
130 |
-
|
131 |
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
|
134 |
-
|
135 |
|
136 |
-
|
|
|
|
|
|
|
137 |
|
138 |
-
##
|
139 |
|
140 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
|
142 |
## Dataset Card Contact
|
143 |
|
144 |
-
|
|
|
1 |
---
|
2 |
task_categories:
|
3 |
- image-classification
|
4 |
+
license: apache-2.0
|
5 |
size_categories:
|
6 |
+
- 1k<n<10k
|
7 |
---
|
8 |
|
9 |
+
# Dataset Card for Mahjong Souls Tiles
|
|
|
|
|
|
|
|
|
10 |
|
11 |
## Dataset Details
|
12 |
|
13 |
### Dataset Description
|
14 |
|
15 |
+
This dataset, `pjura/mahjong_souls_tiles`, contains images of Mahjong tiles extracted from the game Mahjong Soul. It was created specifically for the purpose of training computer vision models to recognize Mahjong tiles within the game interface.
|
|
|
16 |
|
17 |
+
The dataset was used to fine-tune the `google/vit-base-patch16-224-in21k` model, resulting in the `pjura/mahjong_vision` model available on Hugging Face.
|
18 |
|
19 |
+
- **Curated by:** pjura
|
20 |
+
- **License:** apache-2.0
|
|
|
|
|
|
|
21 |
|
22 |
+
### Dataset Sources
|
23 |
|
24 |
+
- **Repository:** [https://huggingface.co/datasets/pjura/mahjong_souls_tiles](https://huggingface.co/datasets/pjura/mahjong_souls_tiles)
|
25 |
+
- **Associated Model:** [https://huggingface.co/pjura/mahjong_vision](https://huggingface.co/pjura/mahjong_vision)
|
|
|
|
|
|
|
26 |
|
27 |
## Uses
|
28 |
|
|
|
|
|
29 |
### Direct Use
|
30 |
|
31 |
+
This dataset is primarily intended for training or fine-tuning image classification models, specifically Vision Transformers (ViT) or similar architectures, for the task of recognizing Mahjong tiles from game screenshots or live feeds.
|
|
|
|
|
32 |
|
33 |
### Out-of-Scope Use
|
34 |
|
35 |
+
Using this dataset for tasks unrelated to Mahjong tile recognition might not yield meaningful results. The images are specific to the art style and presentation of the Mahjong Soul game.
|
|
|
|
|
36 |
|
37 |
## Dataset Structure
|
38 |
|
39 |
+
The dataset consists of labeled images of individual Mahjong tiles. It is structured as an image folder dataset suitable for use with libraries like `datasets` and `torchvision`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
+
## Associated Model Performance
|
42 |
|
43 |
+
The `pjura/mahjong_vision` model, fine-tuned on this dataset, achieved the following results on the evaluation set:
|
44 |
|
45 |
+
- Loss: 0.0466
|
46 |
+
- Accuracy: 0.9967
|
47 |
+
- F1: 0.9966
|
48 |
+
- Recall: 0.9967
|
49 |
|
50 |
+
## Associated Model Training Details
|
51 |
|
52 |
+
### Training Hyperparameters
|
53 |
|
54 |
+
The `pjura/mahjong_vision` model was trained with the following hyperparameters:
|
55 |
|
56 |
+
- learning_rate: 5e-05
|
57 |
+
- train_batch_size: 16
|
58 |
+
- eval_batch_size: 16
|
59 |
+
- seed: 42
|
60 |
+
- gradient_accumulation_steps: 4
|
61 |
+
- total_train_batch_size: 64
|
62 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- lr_scheduler_warmup_ratio: 0.1
|
65 |
+
- num_epochs: 250
|
66 |
|
67 |
+
### Framework Versions
|
68 |
|
69 |
+
- Transformers 4.34.1
|
70 |
+
- Pytorch 2.1.0+cu121
|
71 |
+
- Datasets 2.14.6
|
72 |
+
- Tokenizers 0.14.1
|
73 |
|
74 |
+
## Citation
|
75 |
|
76 |
+
```bibtex
|
77 |
+
@misc{mahjong_souls_tiles_dataset,
|
78 |
+
author = {pjura},
|
79 |
+
title = {Mahjong Souls Tiles Dataset},
|
80 |
+
year = {2023},
|
81 |
+
publisher = {Hugging Face},
|
82 |
+
journal = {Hugging Face repository},
|
83 |
+
howpublished = {\url{https://huggingface.co/datasets/pjura/mahjong_souls_tiles}}
|
84 |
+
}
|
85 |
+
```
|
86 |
|
87 |
## Dataset Card Contact
|
88 |
|
89 |
+
pjura on Hugging Face ([https://huggingface.co/pjura](https://huggingface.co/pjura))
|