phunc20 commited on
Commit
6a9ec77
·
verified ·
1 Parent(s): 42b0b0a

First edit on the dataset card

Browse files
Files changed (1) hide show
  1. README.md +59 -0
README.md CHANGED
@@ -27,3 +27,62 @@ configs:
27
  - split: test
28
  path: data/test-*
29
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  - split: test
28
  path: data/test-*
29
  ---
30
+ # Dataset Summary
31
+ I have uploaded previously a dataset similar to this one, and that's why
32
+ this one is named with the suffix `_v2`. In this dataset card, we shall refer to
33
+ the previous dataset by the name of **v1**.
34
+
35
+ This v2 version attempts to fix the following issues:
36
+
37
+ - There were simply too many images in v1 for any model to properly run through even a single epoch.
38
+ - Consequently, maybe by bad luck, someone may train on images that do not cover all the symbols.
39
+ - v1 seems to lack of CAPTCHA images with repeated symbols, e.g. `"jj12oj"`.
40
+
41
+ The usage and meaning of the current v2 dataset should be intuitive (and quite independent of v1):
42
+
43
+ ```ipython
44
+ In [1]: from datasets import load_dataset
45
+
46
+ In [2]: dataset = load_dataset("phunc20/nj_biergarten_captcha_v2)
47
+ README.md: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 533/533 [00:00<00:00, 1.58MB/s]
48
+ train-00000-of-00001.parquet: 100%|██████████████████████████████████████████████████████████████████| 36.3M/36.3M [00:07<00:00, 2.02MB/s]
49
+ validation-00000-of-00001.parquet: 100%|███████████████████████████████████████████████████████████████| 541k/541k [00:00<00:00, 2.06MB/s]
50
+ test-00000-of-00001.parquet: 100%|█████████████████████████████████████████████████████████████████████| 931k/931k [00:00<00:00, 2.04MB/s]
51
+ Generating train split: 100%|████████████████████████████████████████████████████████████| 20000/20000 [00:00<00:00, 113382.55 examples/s]
52
+ Generating validation split: 100%|████████████████████████████████████████████████████████████| 300/300 [00:00<00:00, 45083.88 examples/s]
53
+ Generating test split: 100%|██████████████████████████████████████████████████████████████████| 500/500 [00:00<00:00, 92186.56 examples/s]
54
+
55
+ In [3]: dataset
56
+ Out[3]:
57
+ DatasetDict({
58
+ train: Dataset({
59
+ features: ['image', 'label'],
60
+ num_rows: 20000
61
+ })
62
+ validation: Dataset({
63
+ features: ['image', 'label'],
64
+ num_rows: 300
65
+ })
66
+ test: Dataset({
67
+ features: ['image', 'label'],
68
+ num_rows: 500
69
+ })
70
+ })
71
+
72
+ In [4]: dataset["test"][0]["label"]
73
+ Out[4]: '9ymyht'
74
+
75
+ In [5]: dataset["test"][0]["image"]
76
+ Out[5]: <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=140x50>
77
+ ```
78
+
79
+
80
+ # Citation Information
81
+
82
+ ```
83
+ @ONLINE{nj_biergarten_captcha_v2,
84
+ author = "phunc20",
85
+ title = "nj_biergarten_captcha_v2",
86
+ url = "https://huggingface.co/datasets/phunc20/nj_biergarten_captcha_v2"
87
+ }
88
+ ```