leobottaro commited on
Commit
d7efa9d
·
verified ·
1 Parent(s): 3bc5a14

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. README.md +0 -15
  2. X_train.pt.gz +0 -3
  3. X_val.pt.gz +0 -3
  4. y_train.pt.gz +0 -3
  5. y_val.pt.gz +0 -3
README.md CHANGED
@@ -47,28 +47,13 @@ Merged from 3 public datasets:
47
  - `image` column: PNG-encoded 28×28 grayscale (struct with `bytes` + `path` fields)
48
  - `label` column: int32, digits 0–9
49
 
50
- Also available as raw PyTorch tensors:
51
- - `X_train.pt.gz`, `y_train.pt.gz`, `X_val.pt.gz`, `y_val.pt.gz` — gzip-compressed float32 tensors
52
-
53
  ## Loading
54
 
55
- ### Via `datasets` (recommended)
56
-
57
  ```python
58
  from datasets import load_dataset
59
  ds = load_dataset("leobottaro/handwritten-digits-pack")
60
  ```
61
 
62
- ### Via raw tensors
63
-
64
- ```python
65
- import gzip, torch
66
-
67
- X_train = torch.load("X_train.pt.gz", weights_only=True)
68
- y_train = torch.load("y_train.pt.gz", weights_only=True)
69
- X_val = torch.load("X_val.pt.gz", weights_only=True)
70
- y_val = torch.load("y_val.pt.gz", weights_only=True)
71
- ```
72
 
73
  ## Preprocessing Applied
74
 
 
47
  - `image` column: PNG-encoded 28×28 grayscale (struct with `bytes` + `path` fields)
48
  - `label` column: int32, digits 0–9
49
 
 
 
 
50
  ## Loading
51
 
 
 
52
  ```python
53
  from datasets import load_dataset
54
  ds = load_dataset("leobottaro/handwritten-digits-pack")
55
  ```
56
 
 
 
 
 
 
 
 
 
 
 
57
 
58
  ## Preprocessing Applied
59
 
X_train.pt.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c160902674ca9e7f61948096d6309656ad038fd173258b3285c07d2a517a26b6
3
- size 207701231
 
 
 
 
X_val.pt.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b44ec6175e419a343d87243671c9cce7296a4f0cc049b6684c850de067492d2
3
- size 11062461
 
 
 
 
y_train.pt.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c43e11fd1e8d2beb0d4cc60d59a43ddab511d76cc92a328a64fcb9675d8b569b
3
- size 341245
 
 
 
 
y_val.pt.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9f1328542fd01e01e8a2562ff91a55dcea1b0f49ceb824de1d310a53e33edf9c
3
- size 1304