Upload folder using huggingface_hub
Browse files- README.md +45 -0
- data/dataset_dict.json +1 -0
- data/test/data-00000-of-00004.arrow +3 -0
- data/test/data-00001-of-00004.arrow +3 -0
- data/test/data-00002-of-00004.arrow +3 -0
- data/test/data-00003-of-00004.arrow +3 -0
- data/test/dataset_info.json +60 -0
- data/test/state.json +22 -0
- data/train/data-00000-of-00004.arrow +3 -0
- data/train/data-00001-of-00004.arrow +3 -0
- data/train/data-00002-of-00004.arrow +3 -0
- data/train/data-00003-of-00004.arrow +3 -0
- data/train/dataset_info.json +60 -0
- data/train/state.json +22 -0
- data/validation/data-00000-of-00001.arrow +3 -0
- data/validation/dataset_info.json +60 -0
- data/validation/state.json +13 -0
README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- chess
|
| 5 |
+
- pgn
|
| 6 |
+
- tokenizer
|
| 7 |
+
pretty_name: PGN Dataset Including Special Tokens
|
| 8 |
+
size_categories:
|
| 9 |
+
- 1M<n<10M
|
| 10 |
+
source_datasets:
|
| 11 |
+
- https://www.kaggle.com/datasets/milesh1/35-million-chess-games
|
| 12 |
+
task_categories:
|
| 13 |
+
- token-classification
|
| 14 |
+
task_ids:
|
| 15 |
+
- parsing
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: default
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: ./data/train/dataset_info.json
|
| 21 |
+
- split: test
|
| 22 |
+
path: ./data/test/dataset_info.json
|
| 23 |
+
- split: validation
|
| 24 |
+
path: ./data/validation/dataset_info.json
|
| 25 |
+
dataset_info:
|
| 26 |
+
features:
|
| 27 |
+
- name: PGN
|
| 28 |
+
dtype: string
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
# PGN Dataset Including Special Tokens
|
| 32 |
+
|
| 33 |
+
**Last Updated**: 2025-01-26
|
| 34 |
+
|
| 35 |
+
## Description
|
| 36 |
+
|
| 37 |
+
This is a dataset of chess games in Portable Game Notation (PGN) format. The dataset was created by cleaning and formatting the [milesh1/35-million-chess-games](https://www.kaggle.com/milesh1/35-million-chess-games) dataset from Kaggle.
|
| 38 |
+
|
| 39 |
+
This version of the [pgn-dataset](https://huggingface.co/datasets/InterwebAlchemy/pgn-dataset) includes the `[g_start]` and `[g_end]` special tokens that [PGNTokenizer]((https://huggingface.co/InterwebAlchemy/PGNTokenizer) uses to denote the start and end of a game.
|
| 40 |
+
|
| 41 |
+
## Notes
|
| 42 |
+
|
| 43 |
+
This was the training dataset for [`PGNTokenizer`](https://huggingface.co/InterwebAlchemy/PGNTokenizer). For more information about using `PGNTokenizer` visit the [GitHub repository](https://github.com/DVDAGames/pgn-tokenizer).
|
| 44 |
+
|
| 45 |
+
You can read more about [research from the original dataset](https://chess-research-project.readthedocs.io/en/latest/).
|
data/dataset_dict.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"splits": ["train", "test", "validation"]}
|
data/test/data-00000-of-00004.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2b204ab12174a68c1f3b4bdc7c2df63d517e00ea09d6c98d5c938ac32c5d90e
|
| 3 |
+
size 377698128
|
data/test/data-00001-of-00004.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d025777d3ce62eb0db405883853c4781b82b20aa1ad92c445271fd74a979d2cf
|
| 3 |
+
size 377686992
|
data/test/data-00002-of-00004.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3f37841275655d086d6889c8f737ddec17ed6bd4a702805586b942bb07e2d3e
|
| 3 |
+
size 377270904
|
data/test/data-00003-of-00004.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9f68123d12c4a5b5a869d801e64c92e067860b718658c6f2481670faa2c1d52
|
| 3 |
+
size 377306016
|
data/test/dataset_info.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"builder_name": "csv",
|
| 3 |
+
"citation": "",
|
| 4 |
+
"config_name": "default",
|
| 5 |
+
"dataset_name": "csv",
|
| 6 |
+
"dataset_size": 1621698348,
|
| 7 |
+
"description": "",
|
| 8 |
+
"download_checksums": {
|
| 9 |
+
"/Users/ericallen/Development/_scratchpad/pgn-tokenizer/.data/datasets/milesh1/35-million-chess-games/all_with_filtered_anotations_since1998-cleaned.csv": {
|
| 10 |
+
"num_bytes": 1567281994,
|
| 11 |
+
"checksum": null
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"download_size": 1567281994,
|
| 15 |
+
"features": {
|
| 16 |
+
"Date": {
|
| 17 |
+
"dtype": "string",
|
| 18 |
+
"_type": "Value"
|
| 19 |
+
},
|
| 20 |
+
"Result": {
|
| 21 |
+
"dtype": "string",
|
| 22 |
+
"_type": "Value"
|
| 23 |
+
},
|
| 24 |
+
"WhiteElo": {
|
| 25 |
+
"dtype": "int64",
|
| 26 |
+
"_type": "Value"
|
| 27 |
+
},
|
| 28 |
+
"BlackElo": {
|
| 29 |
+
"dtype": "float64",
|
| 30 |
+
"_type": "Value"
|
| 31 |
+
},
|
| 32 |
+
"PGN": {
|
| 33 |
+
"dtype": "string",
|
| 34 |
+
"_type": "Value"
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"homepage": "",
|
| 38 |
+
"license": "",
|
| 39 |
+
"size_in_bytes": 3188980342,
|
| 40 |
+
"splits": {
|
| 41 |
+
"train": {
|
| 42 |
+
"name": "train",
|
| 43 |
+
"num_bytes": 1621698348,
|
| 44 |
+
"num_examples": 3561470,
|
| 45 |
+
"shard_lengths": [
|
| 46 |
+
1090000,
|
| 47 |
+
1090000,
|
| 48 |
+
1090000,
|
| 49 |
+
291470
|
| 50 |
+
],
|
| 51 |
+
"dataset_name": "csv"
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
"version": {
|
| 55 |
+
"version_str": "0.0.0",
|
| 56 |
+
"major": 0,
|
| 57 |
+
"minor": 0,
|
| 58 |
+
"patch": 0
|
| 59 |
+
}
|
| 60 |
+
}
|
data/test/state.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00004.arrow"
|
| 5 |
+
},
|
| 6 |
+
{
|
| 7 |
+
"filename": "data-00001-of-00004.arrow"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"filename": "data-00002-of-00004.arrow"
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"filename": "data-00003-of-00004.arrow"
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"_fingerprint": "66197dd286176294",
|
| 17 |
+
"_format_columns": null,
|
| 18 |
+
"_format_kwargs": {},
|
| 19 |
+
"_format_type": null,
|
| 20 |
+
"_output_all_columns": false,
|
| 21 |
+
"_split": "train"
|
| 22 |
+
}
|
data/train/data-00000-of-00004.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2b204ab12174a68c1f3b4bdc7c2df63d517e00ea09d6c98d5c938ac32c5d90e
|
| 3 |
+
size 377698128
|
data/train/data-00001-of-00004.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d025777d3ce62eb0db405883853c4781b82b20aa1ad92c445271fd74a979d2cf
|
| 3 |
+
size 377686992
|
data/train/data-00002-of-00004.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3f37841275655d086d6889c8f737ddec17ed6bd4a702805586b942bb07e2d3e
|
| 3 |
+
size 377270904
|
data/train/data-00003-of-00004.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9f68123d12c4a5b5a869d801e64c92e067860b718658c6f2481670faa2c1d52
|
| 3 |
+
size 377306016
|
data/train/dataset_info.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"builder_name": "csv",
|
| 3 |
+
"citation": "",
|
| 4 |
+
"config_name": "default",
|
| 5 |
+
"dataset_name": "csv",
|
| 6 |
+
"dataset_size": 1621698348,
|
| 7 |
+
"description": "",
|
| 8 |
+
"download_checksums": {
|
| 9 |
+
"/Users/ericallen/Development/_scratchpad/pgn-tokenizer/.data/datasets/milesh1/35-million-chess-games/all_with_filtered_anotations_since1998-cleaned.csv": {
|
| 10 |
+
"num_bytes": 1567281994,
|
| 11 |
+
"checksum": null
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"download_size": 1567281994,
|
| 15 |
+
"features": {
|
| 16 |
+
"Date": {
|
| 17 |
+
"dtype": "string",
|
| 18 |
+
"_type": "Value"
|
| 19 |
+
},
|
| 20 |
+
"Result": {
|
| 21 |
+
"dtype": "string",
|
| 22 |
+
"_type": "Value"
|
| 23 |
+
},
|
| 24 |
+
"WhiteElo": {
|
| 25 |
+
"dtype": "int64",
|
| 26 |
+
"_type": "Value"
|
| 27 |
+
},
|
| 28 |
+
"BlackElo": {
|
| 29 |
+
"dtype": "float64",
|
| 30 |
+
"_type": "Value"
|
| 31 |
+
},
|
| 32 |
+
"PGN": {
|
| 33 |
+
"dtype": "string",
|
| 34 |
+
"_type": "Value"
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"homepage": "",
|
| 38 |
+
"license": "",
|
| 39 |
+
"size_in_bytes": 3188980342,
|
| 40 |
+
"splits": {
|
| 41 |
+
"train": {
|
| 42 |
+
"name": "train",
|
| 43 |
+
"num_bytes": 1621698348,
|
| 44 |
+
"num_examples": 3561470,
|
| 45 |
+
"shard_lengths": [
|
| 46 |
+
1090000,
|
| 47 |
+
1090000,
|
| 48 |
+
1090000,
|
| 49 |
+
291470
|
| 50 |
+
],
|
| 51 |
+
"dataset_name": "csv"
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
"version": {
|
| 55 |
+
"version_str": "0.0.0",
|
| 56 |
+
"major": 0,
|
| 57 |
+
"minor": 0,
|
| 58 |
+
"patch": 0
|
| 59 |
+
}
|
| 60 |
+
}
|
data/train/state.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00004.arrow"
|
| 5 |
+
},
|
| 6 |
+
{
|
| 7 |
+
"filename": "data-00001-of-00004.arrow"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"filename": "data-00002-of-00004.arrow"
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"filename": "data-00003-of-00004.arrow"
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"_fingerprint": "66197dd286176294",
|
| 17 |
+
"_format_columns": null,
|
| 18 |
+
"_format_kwargs": {},
|
| 19 |
+
"_format_type": null,
|
| 20 |
+
"_output_all_columns": false,
|
| 21 |
+
"_split": "train"
|
| 22 |
+
}
|
data/validation/data-00000-of-00001.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a539a0817fec211458a6d3308b50d4a713106615d01fea642a1d213ef15dca4
|
| 3 |
+
size 167824704
|
data/validation/dataset_info.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"builder_name": "csv",
|
| 3 |
+
"citation": "",
|
| 4 |
+
"config_name": "default",
|
| 5 |
+
"dataset_name": "csv",
|
| 6 |
+
"dataset_size": 1621698348,
|
| 7 |
+
"description": "",
|
| 8 |
+
"download_checksums": {
|
| 9 |
+
"/Users/ericallen/Development/_scratchpad/pgn-tokenizer/.data/datasets/milesh1/35-million-chess-games/all_with_filtered_anotations_since1998-cleaned.csv": {
|
| 10 |
+
"num_bytes": 1567281994,
|
| 11 |
+
"checksum": null
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"download_size": 1567281994,
|
| 15 |
+
"features": {
|
| 16 |
+
"Date": {
|
| 17 |
+
"dtype": "string",
|
| 18 |
+
"_type": "Value"
|
| 19 |
+
},
|
| 20 |
+
"Result": {
|
| 21 |
+
"dtype": "string",
|
| 22 |
+
"_type": "Value"
|
| 23 |
+
},
|
| 24 |
+
"WhiteElo": {
|
| 25 |
+
"dtype": "int64",
|
| 26 |
+
"_type": "Value"
|
| 27 |
+
},
|
| 28 |
+
"BlackElo": {
|
| 29 |
+
"dtype": "float64",
|
| 30 |
+
"_type": "Value"
|
| 31 |
+
},
|
| 32 |
+
"PGN": {
|
| 33 |
+
"dtype": "string",
|
| 34 |
+
"_type": "Value"
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"homepage": "",
|
| 38 |
+
"license": "",
|
| 39 |
+
"size_in_bytes": 3188980342,
|
| 40 |
+
"splits": {
|
| 41 |
+
"train": {
|
| 42 |
+
"name": "train",
|
| 43 |
+
"num_bytes": 1621698348,
|
| 44 |
+
"num_examples": 3561470,
|
| 45 |
+
"shard_lengths": [
|
| 46 |
+
1090000,
|
| 47 |
+
1090000,
|
| 48 |
+
1090000,
|
| 49 |
+
291470
|
| 50 |
+
],
|
| 51 |
+
"dataset_name": "csv"
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
"version": {
|
| 55 |
+
"version_str": "0.0.0",
|
| 56 |
+
"major": 0,
|
| 57 |
+
"minor": 0,
|
| 58 |
+
"patch": 0
|
| 59 |
+
}
|
| 60 |
+
}
|
data/validation/state.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00001.arrow"
|
| 5 |
+
}
|
| 6 |
+
],
|
| 7 |
+
"_fingerprint": "99f5ab8b17696ee2",
|
| 8 |
+
"_format_columns": null,
|
| 9 |
+
"_format_kwargs": {},
|
| 10 |
+
"_format_type": null,
|
| 11 |
+
"_output_all_columns": false,
|
| 12 |
+
"_split": "train"
|
| 13 |
+
}
|