Upload 2 files
Browse files- .gitattributes +1 -0
- README.md +52 -3
- sudoku_dataset_1m.csv +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
sudoku_dataset_1m.csv filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,52 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-classification
|
| 5 |
+
- reinforcement-learning
|
| 6 |
+
tags:
|
| 7 |
+
- sudoku
|
| 8 |
+
- puzzles
|
| 9 |
+
- logic
|
| 10 |
+
- synthetic
|
| 11 |
+
pretty_name: 500k Sudoku Puzzles (9x9)
|
| 12 |
+
size_categories:
|
| 13 |
+
- 100K<n<1M
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: default
|
| 16 |
+
data_files:
|
| 17 |
+
- sudoku_dataset_1m.csv
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# 1M Sudoku Puzzles (9x9)
|
| 21 |
+
|
| 22 |
+
A dataset of 1,000,000 unique 9x9 Sudoku puzzles and their corresponding solutions. Each puzzle has between 40 and 60 blank cells, spanning various difficulty levels.
|
| 23 |
+
|
| 24 |
+
## Dataset Structure
|
| 25 |
+
|
| 26 |
+
The dataset is provided in a single CSV file with the following columns:
|
| 27 |
+
|
| 28 |
+
- `puzzle`: 81-character string representing the initial board (0 = blank).
|
| 29 |
+
- `solution`: 81-character string representing the completed board.
|
| 30 |
+
|
| 31 |
+
### Example Row
|
| 32 |
+
```csv
|
| 33 |
+
puzzle,solution
|
| 34 |
+
00000001040000000000000000... , 526837941413925768...
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## Data Generation
|
| 38 |
+
Puzzles were generated using a custom geometric transformation engine based on a seed board and then blanked out randomly. This method ensures all solutions are valid Sudoku boards.
|
| 39 |
+
|
| 40 |
+
## Usage
|
| 41 |
+
This dataset is designed for training and benchmarking machine learning models (Transformers, CNNs, GNNs) on Sudoku solving tasks.
|
| 42 |
+
|
| 43 |
+
### Loading with `datasets` library
|
| 44 |
+
```python
|
| 45 |
+
from datasets import load_dataset
|
| 46 |
+
|
| 47 |
+
dataset = load_dataset("your_username/your_dataset_name")
|
| 48 |
+
print(dataset["train"][0])
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## License
|
| 52 |
+
MIT
|
sudoku_dataset_1m.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c1bbae80fef4f84c433c8f9d1c2b41886f718567cc83c490cc6334349271a5a
|
| 3 |
+
size 165000017
|