Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ configs:
|
|
| 20 |
# FemtoXO Dataset – Synthetic Tic‑Tac‑Toe Games
|
| 21 |
|
| 22 |
**FemtoXO Dataset** is a large collection of board states and moves from randomly played Tic‑Tac‑Toe games.
|
| 23 |
-
It was created to train the [FemtoXO model](https://huggingface.co/
|
| 24 |
|
| 25 |
## Dataset Summary
|
| 26 |
|
|
@@ -28,7 +28,7 @@ Each row represents one board position **where it is X’s turn to play**, along
|
|
| 28 |
The dataset is entirely synthetic and was generated programmatically by simulating 10,000 full random games and recording every X‑turn state.
|
| 29 |
|
| 30 |
- **Total samples:** ≈ 90,000 (varies slightly due to different game lengths)
|
| 31 |
-
- **Format:** JSON Lines (`.
|
| 32 |
- **Language:** not applicable (board symbols)
|
| 33 |
|
| 34 |
## Data Structure
|
|
@@ -47,7 +47,7 @@ Each line is a JSON object with two fields:
|
|
| 47 |
|
| 48 |
## Data Splits
|
| 49 |
|
| 50 |
-
The data is provided as a single file (`data.
|
| 51 |
During training we typically split it into:
|
| 52 |
- **Train:** 90%
|
| 53 |
- **Validation:** 10%
|
|
@@ -59,7 +59,7 @@ During training we typically split it into:
|
|
| 59 |
3. Before every X move, save the current board state and the chosen move.
|
| 60 |
4. Game ends on a win or a draw (board full).
|
| 61 |
|
| 62 |
-
The complete generator script is available in the [FemtoXO repository](https://huggingface.co/
|
| 63 |
|
| 64 |
## Usage
|
| 65 |
|
|
@@ -68,7 +68,7 @@ You can load the dataset directly with 🤗 Datasets:
|
|
| 68 |
```python
|
| 69 |
from datasets import load_dataset
|
| 70 |
|
| 71 |
-
dataset = load_dataset("
|
| 72 |
print(dataset['train'][0])
|
| 73 |
```
|
| 74 |
|
|
|
|
| 20 |
# FemtoXO Dataset – Synthetic Tic‑Tac‑Toe Games
|
| 21 |
|
| 22 |
**FemtoXO Dataset** is a large collection of board states and moves from randomly played Tic‑Tac‑Toe games.
|
| 23 |
+
It was created to train the [FemtoXO model](https://huggingface.co/abdelkader-dev/FemtoXO), a tiny Transformer that plays as **X**.
|
| 24 |
|
| 25 |
## Dataset Summary
|
| 26 |
|
|
|
|
| 28 |
The dataset is entirely synthetic and was generated programmatically by simulating 10,000 full random games and recording every X‑turn state.
|
| 29 |
|
| 30 |
- **Total samples:** ≈ 90,000 (varies slightly due to different game lengths)
|
| 31 |
+
- **Format:** JSON Lines (`.json`)
|
| 32 |
- **Language:** not applicable (board symbols)
|
| 33 |
|
| 34 |
## Data Structure
|
|
|
|
| 47 |
|
| 48 |
## Data Splits
|
| 49 |
|
| 50 |
+
The data is provided as a single file (`data.json`) containing all samples.
|
| 51 |
During training we typically split it into:
|
| 52 |
- **Train:** 90%
|
| 53 |
- **Validation:** 10%
|
|
|
|
| 59 |
3. Before every X move, save the current board state and the chosen move.
|
| 60 |
4. Game ends on a win or a draw (board full).
|
| 61 |
|
| 62 |
+
The complete generator script is available in the [FemtoXO repository](https://huggingface.co/abdelkader-dev/FemtoXO) under `src/train.py`.
|
| 63 |
|
| 64 |
## Usage
|
| 65 |
|
|
|
|
| 68 |
```python
|
| 69 |
from datasets import load_dataset
|
| 70 |
|
| 71 |
+
dataset = load_dataset("abdelkader-dev/XO_matches")
|
| 72 |
print(dataset['train'][0])
|
| 73 |
```
|
| 74 |
|