Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: ValueError
Message: Invalid string class label handwriting-uppercase@e9f0cb6642b5e88a0ac7a09f9cb0646a60b8dbcf
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 151, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 131, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 574, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2591, in __iter__
example = _apply_feature_types_on_example(
example, self.features, token_per_repo_id=self.token_per_repo_id
)
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2508, in _apply_feature_types_on_example
encoded_example = features.encode_example(example)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2252, in encode_example
return encode_nested_example(self, example)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1526, in encode_nested_example
{k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1549, in encode_nested_example
return schema.encode_example(obj) if obj is not None else None
~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1210, in encode_example
example_data = self.str2int(example_data)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1147, in str2int
output = [self._strval2int(value) for value in values]
~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1168, in _strval2int
raise ValueError(f"Invalid string class label {value}")
ValueError: Invalid string class label handwriting-uppercase@e9f0cb6642b5e88a0ac7a09f9cb0646a60b8dbcfNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Handwriting uppercase symbols
186,152 grayscale images, 278×278, one handwritten uppercase character or an empty cell per image. The data is organised as one folder per class and was collected for exam-form checking.
Classes
| Group | Classes | Count |
|---|---|---|
| Digits | 0–9 |
10 |
| Uppercase letters | 28 classes covering 33 Cyrillic letters; 5 visually identical letters share a class with a digit (for example Ч/4, О/0) |
28 |
| Minus / dash | minus |
1 |
| Comma | tire (historical class name) |
1 |
| Empty cell | empty — 4,000 empty-cell images, identical by nature |
1 |
| Total | 41 |
The distribution is intentionally close to uniform: 4,000–5,239 images per class (imbalance ratio 1.31).
Only uppercase Cyrillic letters are included. Lowercase letters are not part
of the task. The empty class is intentional: empty cells are identical by
nature, and the model uses the class to skip them. The downstream exam-form
layer resolves visually identical letter/digit pairs by context (for example
С10В0 → СЛОВО when a word is expected).
Files
| File | Size | Contents |
|---|---|---|
dataset-sample.zip |
~25 MB | 4,100 images (100 per class) + manifest.json |
dataset-full.zip |
~1.13 GB | All 186,152 images + manifest.json |
dataset-full.zip.sha256 |
84 B | SHA-256 checksum for the full archive |
The full archive is uploaded separately because of its size. Unzip it and use one directory per class:
dataset/
├── 0/ 1/ 2/ ... 9/
├── 1_alf/ 2_alf/ ... 33_alf/
└── empty/ minus/ tire/
A manifest maps every file to its class and original path.
Audit
The dataset was audited with Dataset Doctor
using --ignore-classes empty. The empty class is byte-identical by design,
so excluding it from duplicate checks is intentional.
Key findings outside empty:
- 0 corrupted files.
- 60 exact duplicate groups, 60 files (largest group: 2 files, ~0.03%).
- 15,830 near-duplicate groups / 90,833 files, dominated by legitimate
same-class variation (
minus,tire,4_alf); a review list, not automatic deletion. - Class imbalance ratio 1.31.
Full report: https://codeberg.org/nobody-fullstack/dataset-doctor/src/branch/main/examples/handwriting-audit.md
If exact duplicates are removed, rebuild the train/validation split afterwards.
Splits
The original training run used an 80/20 train/validation split. The exact
per-file split was not preserved; the training script recreates a deterministic
80/20 split with --seed 42.
Provenance and privacy
The images are single handwritten characters collected for this recognition task. The dataset does not contain names, documents, faces or other personal metadata. It is distributed for research and demonstration; if you reuse it, keep the class structure and cite this repository.
Links
- Model: https://huggingface.co/Nobody3301/handwriting-uppercase-cnn
- Demo: https://nobody3301-handwriting-demo.static.hf.space/index.html
- Evidence page (metrics, audit, limits): https://nobody-fullstack.codeberg.page/handwriting.html
- Source and release assets: https://codeberg.org/nobody-fullstack/handwriting-ai
- License: MIT
- Downloads last month
- 62