BeeGass commited on
Commit
5c101e3
·
verified ·
1 Parent(s): 5d57a31

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +92 -3
README.md CHANGED
@@ -1,3 +1,92 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Permutation Groups Benchmark
3
+ tags:
4
+ - mathematics
5
+ - group-theory
6
+ - permutations
7
+ - sequence-to-sequence
8
+ - benchmark
9
+ - generated
10
+ task_categories:
11
+ - text-generation
12
+ - sequence-modeling
13
+ licenses:
14
+ - mit
15
+ configs:
16
+ - config_name: s3_data
17
+ data_files:
18
+ train: s3_data/train-*.parquet
19
+ test: s3_data/test-*.parquet
20
+ description: Permutation Composition Dataset for the Symmetric Group S3.
21
+ - config_name: s4_data
22
+ data_files:
23
+ train: s4_data/train-*.parquet
24
+ test: s4_data/test-*.parquet
25
+ description: Permutation Composition Dataset for the Symmetric Group S4.
26
+ - config_name: s5_data
27
+ data_files:
28
+ train: s5_data/train-*.parquet
29
+ test: s5_data/test-*.parquet
30
+ description: Permutation Composition Dataset for the Symmetric Group S5.
31
+ - config_name: s6_data
32
+ data_files:
33
+ train: s6_data/train-*.parquet
34
+ test: s6_data/test-*.parquet
35
+ description: Permutation Composition Dataset for the Symmetric Group S6.
36
+ - config_name: s7_data
37
+ data_files:
38
+ train: s7_data/train-*.parquet
39
+ test: s7_data/test-*.parquet
40
+ description: Permutation Composition Dataset for the Symmetric Group S7.
41
+ - config_name: a5_data
42
+ data_files:
43
+ train: a5_data/train-*.parquet
44
+ test: a5_data/test-*.parquet
45
+ description: Permutation Composition Dataset for the Alternating Group A5.
46
+ - config_name: a6_data
47
+ data_files:
48
+ train: a6_data/train-*.parquet
49
+ test: a6_data/test-*.parquet
50
+ description: Permutation Composition Dataset for the Alternating Group A6.
51
+ - config_name: a7_data
52
+ data_files:
53
+ train: a7_data/train-*.parquet
54
+ test: a7_data/test-*.parquet
55
+ description: Permutation Composition Dataset for the Alternating Group A7.
56
+ ---
57
+
58
+ # Permutation Groups Benchmark Dataset
59
+
60
+ This repository contains a collection of permutation composition datasets for various symmetric and alternating groups. These datasets are designed for benchmarking sequence-to-sequence models on group theory tasks.
61
+
62
+ ## Dataset Configurations
63
+
64
+ Each group (e.g., S3, A5) is available as a separate configuration within this dataset. You can load a specific configuration using the `name` argument in `load_dataset`:
65
+
66
+ ```python
67
+ from datasets import load_dataset
68
+
69
+ # Load the S3 dataset
70
+ s3_dataset = load_dataset("BeeGass/permutation-groups", name="s3_data")
71
+
72
+ # Load the A5 dataset
73
+ a5_dataset = load_dataset("BeeGass/permutation-groups", name="a5_data")
74
+
75
+ # Load all datasets (as a DatasetDict of DatasetDicts)
76
+ all_datasets = load_dataset("BeeGass/permutation-groups")
77
+ ```
78
+
79
+ ## Data Structure
80
+
81
+ Each dataset configuration contains `train` and `test` splits. Each sample in the dataset has the following features:
82
+
83
+ - `input_sequence`: A space-separated string of integer IDs representing the sequence of permutations to be composed.
84
+ - `target`: An integer ID representing the composition of the `input_sequence` permutations.
85
+
86
+ ## Permutation Mapping
87
+
88
+ For each configuration, the mapping from integer IDs to their corresponding permutation array forms is provided in a `metadata.json` file located within the respective subfolder (e.g., `s3_data/metadata.json`). This file is crucial for interpreting the `input_sequence` and `target` IDs.
89
+
90
+ ## License
91
+
92
+ This dataset is licensed under the MIT License.