Empatixx commited on
Commit
a534399
·
verified ·
1 Parent(s): 51fe055

Clean up: Remove old batch files and update README

Browse files
README.md CHANGED
@@ -1,30 +1,3 @@
1
- ---
2
- license: mit
3
- task_categories:
4
- - image-to-text
5
- language:
6
- - cs
7
- pretty_name: czech-synth-text-2025
8
- size_categories:
9
- - 100K<n<1M
10
- dataset_info:
11
- features:
12
- - name: image
13
- dtype: image
14
- - name: text
15
- dtype: string
16
- splits:
17
- - name: train
18
- num_bytes: 2156337658.4
19
- num_examples: 454820
20
- download_size: 2117123960
21
- dataset_size: 2156337658.4
22
- configs:
23
- - config_name: default
24
- data_files:
25
- - split: train
26
- path: data/train-*
27
- ---
28
  # Czech Synthetic Text Recognition Dataset
29
 
30
  A large-scale synthetic dataset for Czech text recognition, containing 454,820 text images with corresponding transcriptions. Created using [SynthTiger](https://github.com/clovaai/synthtiger).
@@ -37,7 +10,7 @@ This dataset consists of synthetically generated images of Czech text, designed
37
  - **Total samples**: 454,820 image-text pairs
38
  - **Language**: Czech (cs_CZ)
39
  - **Image format**: JPEG
40
- - **Storage format**: Parquet files (46 files total)
41
  - **Total size**: ~1.96 GB
42
 
43
  ## Dataset Structure
@@ -77,22 +50,19 @@ dataset = load_dataset("Empatixx/synth-text-recognition-cs", split="train[:1000]
77
  dataset = load_dataset("Empatixx/synth-text-recognition-cs", streaming=True) # Stream the dataset
78
  ```
79
 
80
- ### Loading with Pandas/PyArrow
 
 
81
 
82
  ```python
83
- import pyarrow.parquet as pq
84
- import pandas as pd
85
- from PIL import Image
86
- import io
87
-
88
- # Load a single batch
89
- table = pq.read_table('data/batch_0000.parquet')
90
- df = table.to_pandas()
91
-
92
- # Access image and text
93
- image_bytes = df.iloc[0]['image']
94
- image = Image.open(io.BytesIO(image_bytes))
95
- text = df.iloc[0]['text']
96
  ```
97
 
98
  ### PyTorch DataLoader Example
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # Czech Synthetic Text Recognition Dataset
2
 
3
  A large-scale synthetic dataset for Czech text recognition, containing 454,820 text images with corresponding transcriptions. Created using [SynthTiger](https://github.com/clovaai/synthtiger).
 
10
  - **Total samples**: 454,820 image-text pairs
11
  - **Language**: Czech (cs_CZ)
12
  - **Image format**: JPEG
13
+ - **Storage format**: Parquet files (5 shards in data/ folder)
14
  - **Total size**: ~1.96 GB
15
 
16
  ## Dataset Structure
 
50
  dataset = load_dataset("Empatixx/synth-text-recognition-cs", streaming=True) # Stream the dataset
51
  ```
52
 
53
+ ### Direct Loading from Repository
54
+
55
+ The dataset now has proper Image type support, so images will display automatically in the HuggingFace dataset viewer!
56
 
57
  ```python
58
+ # Images are automatically loaded as PIL Image objects
59
+ sample = dataset['train'][0]
60
+ image = sample['image'] # Already a PIL Image, not bytes!
61
+ image.show() # Display the image
62
+
63
+ # Get the text transcription
64
+ text = sample['text']
65
+ print(f"Text: {text}")
 
 
 
 
 
66
  ```
67
 
68
  ### PyTorch DataLoader Example
batch_0000.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fd7383eb4839f2b05fd84dd6973522eface4ef9fc33b6caea1bbfe5fbbf62e6c
3
- size 46223986
 
 
 
 
batch_0001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1da7f403c36c55831a15b15b8fbc6708b2a6a3a7f1720744e7535f38ba5b7b2e
3
- size 46221027
 
 
 
 
batch_0002.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:65dbc81792a76687791bfe56c87aa63353dff1e91ee828060b01d19a92fd05a9
3
- size 46260439
 
 
 
 
batch_0003.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:028811efa2c7b4e7dbecbd8029745187319e89c99312735a8172eb0f02002496
3
- size 45962038
 
 
 
 
batch_0004.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:562d88f587faddbb7c985c63efd5e4dbdbb6e94606299a85cef1b70ecd3cd674
3
- size 46903695
 
 
 
 
batch_0005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7ceb5708ba68ab6f704c94e368e48a67896ad3d0045c59c8b544a8b9fa790864
3
- size 46251056
 
 
 
 
batch_0006.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ef62d3f3d9097896ae6c3601538520d8cf2eebc290e26f48a72158c068d88f0e
3
- size 45880227
 
 
 
 
batch_0007.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3b6e947c1db92554620d93c8ca5c1a2e81a589e2ccc6115fa4cfa1c534d52b4e
3
- size 46231194
 
 
 
 
batch_0008.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7648420aaa687744a80a8eb4da89d7f8ca246703c5c00a4a313e11df193b04e2
3
- size 46644803
 
 
 
 
batch_0009.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f67ca2f093887b2e2e0e6f12f6335a15bb1de190d8c02040c94e0aca660368b
3
- size 46089062
 
 
 
 
batch_0010.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:48c966370d310ade2bec7c0de80e53d26f1cf91be64185438c3cc01e8b071b57
3
- size 46546826
 
 
 
 
batch_0011.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0cf5692e2c4d6a6f7ddb413c85dc156fd9047304d872bcecaac20a1b4f4d039a
3
- size 46371261
 
 
 
 
batch_0012.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:855fdef9347ab2f16a4335147e339ca1597321b713832d0be55ac4e15e686349
3
- size 46212416
 
 
 
 
batch_0013.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7a71eb1b87ae1fcbf74d8c812590befff9f84094a4fc75e634a9c075c56f1ef2
3
- size 46599334
 
 
 
 
batch_0014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c015550dde6fd750f0f8777e646c881e30bb96cd309921b17836be8aef5372ff
3
- size 46493834
 
 
 
 
batch_0015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:58b2427047e10d3237d95633a2d35605683d82045587b03f611b603dd77391c0
3
- size 46157573
 
 
 
 
batch_0016.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce3b1f135973812e3cf5191eb596a157655ce6508dcbec75f13c1ba2d674148d
3
- size 46680115
 
 
 
 
batch_0017.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ef07dff7583ec108a1248e2d3ad9b49b1022ec22fa6180e2816bf26cbc03b6e
3
- size 46741509
 
 
 
 
batch_0018.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:83d7f8cca22d548e616e4d21046fce0c01a252b00e53e9c6e6f443154b286421
3
- size 46219611
 
 
 
 
batch_0019.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:150bfb98759624c667ac6ab87bdf78503ce32734f95dbc3d7d981ff376c02f93
3
- size 46878132
 
 
 
 
batch_0020.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ef0c8051bb55a12dd824eee4b0f0578c8b2b8f4ffcc3bfa8908da24773daaeca
3
- size 46252865
 
 
 
 
batch_0021.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9093416c3c37955c76f77078681e89b14f5652a7f9ecc52ae0e6de7bda60063f
3
- size 46535187
 
 
 
 
batch_0022.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:df5ba2f57aee94f77ed3399e9352abd12b3e02138f0f5bcba6538c8a1ff73351
3
- size 46757282
 
 
 
 
batch_0023.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1122f47bf7d3942ec99190979db8389b182cb70ce409a1c798fb5179cc6ebd1d
3
- size 46342421
 
 
 
 
batch_0024.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:36a875cbd69706f850f61485b14a89cbadbf047e15fc2e5895b3043e9326cbc1
3
- size 46427516
 
 
 
 
batch_0025.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4cc740fc1f020d1de748d149ffbbe8c9c1156745bd0e418ebd78e53989237ff
3
- size 46134387
 
 
 
 
batch_0026.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f8f7d46c8418a7d1ff4c80f4c78473e0afdb260f90c428be009284cfac73cceb
3
- size 46402294
 
 
 
 
batch_0027.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d6e9e71c5476586ae9517173d89ca234b7367f560e470cd936052485458bb27b
3
- size 46139450
 
 
 
 
batch_0028.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1d54336aaac35c6a786c4f974c687376a59ea9d2a29d58e7fe2f220ceb0375ee
3
- size 46438061
 
 
 
 
batch_0029.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fecb1d6cbdf2c459abe118f6c3f1e91bcfad89a2ba3fd7c15878b8424c69df29
3
- size 45897297
 
 
 
 
batch_0030.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0eb7b52011cd11f9a12ec5548a7ae7cfd525a1fb2cac0b29a8d045e219b0c774
3
- size 46277997
 
 
 
 
batch_0031.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bf680dd3be6a0f89572fccd07164fe0387f641ea09b0e01a7f792a98a0d54c80
3
- size 46142891
 
 
 
 
batch_0032.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:02c782eb5f5813a50dcd1a94fbb4926fbb40ed21e466570f74e702328ee057e9
3
- size 46365402
 
 
 
 
batch_0033.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c8aaff202433cd86810b2a01792a922c879f19182f72c0a55941db5d9cc35a4
3
- size 46814005
 
 
 
 
batch_0034.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e40a09fbf637e14be01734c87fcc0ac55378d0f9a210ed24e66dfc1eb5808019
3
- size 46637692
 
 
 
 
batch_0035.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:46b2370f59a944edc821086906ef5f37a3ca2937dad3db93d90a78dec2f517ae
3
- size 46443119
 
 
 
 
batch_0036.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4672f78a087e9a93bd0dac0b9df9a888075ffaea96c7fb981f8dccf36f0172a7
3
- size 46439445
 
 
 
 
batch_0037.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:01a8139b15943fa8ad2e985c29947c9f7454e0acb8b07d147bf568f63d6ed718
3
- size 46854718
 
 
 
 
batch_0038.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:39515777190a30e07e5d999e635ed2c3e19bfa3bbe37b300e6279730f8496a43
3
- size 46717667
 
 
 
 
batch_0039.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6dce76a707d99c63fbfff6cd7421a098c74f393be4d588c18a2d40075b6645fe
3
- size 46062528
 
 
 
 
batch_0040.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:70633245906097811c3383e116347d6c523057bb538045384933e0990eff43a9
3
- size 46741133
 
 
 
 
batch_0041.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0cbe4169354754d1d05cb80505ae3763d5726902e3d6541b3188d5a51d146baa
3
- size 46388580
 
 
 
 
batch_0042.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6effc090503987509b855ff063ae1a88fdf0d980b185131345956427147dc4c4
3
- size 45872526
 
 
 
 
batch_0043.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d2ee974a909910d8e25093536f93b8b7590143e12177e02f4eb28f0d038d9d63
3
- size 46678830
 
 
 
 
batch_0044.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6040ad2601b34b022602f7af4c3b8c33b726691f316b65a5e12c02aeeb75d673
3
- size 46119327
 
 
 
 
batch_0045.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:22615ed5c78494b413c1842865c3bb9028711abb9a65c2a54c2275ce01b6e715
3
- size 22243229