InterwebAlchemy commited on
Commit
5d91a63
·
verified ·
1 Parent(s): 5986110

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - chess
5
+ - pgn
6
+ - tokenizer
7
+ pretty_name: PGN Dataset
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
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 does not include 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. The [pgn-dataset-special-tokens](https://huggingface.co/datasets/InterwebAlchemy/pgn-dataset) dataset includes these tokens.
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-00003.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d63a7deb03b9937b1093f88b20e1b16b725912b07110b14f45444f8d5669d521
3
+ size 486762544
data/test/data-00001-of-00003.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:546c14bb39464f0820636a5e6e964175e96c4a0e642b0ab094364051bd569489
3
+ size 486305384
data/test/data-00002-of-00003.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:197bad6c8d100836b37ada65503f057009e8bbc462ca772f9504146c5b060add
3
+ size 486156048
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,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00003.arrow"
5
+ },
6
+ {
7
+ "filename": "data-00001-of-00003.arrow"
8
+ },
9
+ {
10
+ "filename": "data-00002-of-00003.arrow"
11
+ }
12
+ ],
13
+ "_fingerprint": "424be91a0a17dfdd",
14
+ "_format_columns": null,
15
+ "_format_kwargs": {},
16
+ "_format_type": null,
17
+ "_output_all_columns": false,
18
+ "_split": "train"
19
+ }
data/train/data-00000-of-00003.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d63a7deb03b9937b1093f88b20e1b16b725912b07110b14f45444f8d5669d521
3
+ size 486762544
data/train/data-00001-of-00003.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:546c14bb39464f0820636a5e6e964175e96c4a0e642b0ab094364051bd569489
3
+ size 486305384
data/train/data-00002-of-00003.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:197bad6c8d100836b37ada65503f057009e8bbc462ca772f9504146c5b060add
3
+ size 486156048
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,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00003.arrow"
5
+ },
6
+ {
7
+ "filename": "data-00001-of-00003.arrow"
8
+ },
9
+ {
10
+ "filename": "data-00002-of-00003.arrow"
11
+ }
12
+ ],
13
+ "_fingerprint": "424be91a0a17dfdd",
14
+ "_format_columns": null,
15
+ "_format_kwargs": {},
16
+ "_format_type": null,
17
+ "_output_all_columns": false,
18
+ "_split": "train"
19
+ }
data/validation/data-00000-of-00001.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f433759c4844af0f0b63e9bef514f7aeae934fb58dd3bb8b0395b6f8bb26b15f
3
+ size 162187104
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": "f79649eda9bac515",
8
+ "_format_columns": null,
9
+ "_format_kwargs": {},
10
+ "_format_type": null,
11
+ "_output_all_columns": false,
12
+ "_split": "train"
13
+ }