BeeGass commited on
Commit
1c5823d
·
verified ·
1 Parent(s): d7643ae

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +25 -78
README.md CHANGED
@@ -1,94 +1,41 @@
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: data/s3_data/train/data-*.arrow
19
- test: data/s3_data/test/data-*.arrow
20
- description: Permutation Composition Dataset for the Symmetric Group S3.
21
- - config_name: s4_data
22
- - config_name: s4_data
23
- data_files:
24
- train: data/s4_data/train/data-*.arrow
25
- test: data/s4_data/test/data-*.arrow
26
- description: Permutation Composition Dataset for the Symmetric Group S4.
27
- - config_name: s5_data
28
- - config_name: s5_data
29
- data_files:
30
- train: data/s5_data/train/data-*.arrow
31
- test: data/s5_data/test/data-*.arrow
32
- description: Permutation Composition Dataset for the Symmetric Group S5.
33
- - config_name: s6_data
34
- data_files:
35
- train: data/s6_data/train/data-*.arrow
36
- test: data/s6_data/test/data-*.arrow
37
- description: Permutation Composition Dataset for the Symmetric Group S6.
38
- - config_name: s7_data
39
- data_files:
40
- train: data/s7_data/train/data-*.arrow
41
- test: data/s7_data/test/data-*.arrow
42
- description: Permutation Composition Dataset for the Symmetric Group S7.
43
- - config_name: a5_data
44
- data_files:
45
- train: data/a5_data/train/data-*.arrow
46
- test: data/a5_data/test/data-*.arrow
47
- description: Permutation Composition Dataset for the Alternating Group A5.
48
- - config_name: a6_data
49
- data_files:
50
- train: data/a6_data/train/data-*.arrow
51
- test: data/a6_data/test/data-*.arrow
52
- description: Permutation Composition Dataset for the Alternating Group A6.
53
- - config_name: a7_data
54
- data_files:
55
- train: data/a7_data/train/data-*.arrow
56
- test: data/a7_data/test/data-*.arrow
57
- description: Permutation Composition Dataset for the Alternating Group A7.
58
- ---
59
 
60
- # Permutation Groups Benchmark Dataset
61
 
62
- 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.
63
 
64
- ## Dataset Configurations
65
-
66
- 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`:
67
 
68
  ```python
69
  from datasets import load_dataset
70
 
71
- # Load the S3 dataset
72
- s3_dataset = load_dataset("BeeGass/permutation-groups", name="s3_data")
73
-
74
- # Load the A5 dataset
75
- a5_dataset = load_dataset("BeeGass/permutation-groups", name="a5_data")
76
 
77
- # Load all datasets (as a DatasetDict of DatasetDicts)
78
- all_datasets = load_dataset("BeeGass/permutation-groups")
79
  ```
80
 
81
- ## Data Structure
82
-
83
- Each dataset configuration contains `train` and `test` splits. Each sample in the dataset has the following features:
84
 
85
- - `input_sequence`: A space-separated string of integer IDs representing the sequence of permutations to be composed.
86
- - `target`: An integer ID representing the composition of the `input_sequence` permutations.
 
 
 
 
 
 
 
87
 
88
- ## Permutation Mapping
89
 
90
- 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.
 
 
91
 
92
  ## License
93
 
94
- This dataset is licensed under the MIT License.
 
1
+ # Permutation Groups Datasets
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
+ This repository contains permutation composition datasets for various symmetric and alternating groups.
4
 
5
+ ## Usage
6
 
7
+ You can load individual datasets or all datasets combined:
 
 
8
 
9
  ```python
10
  from datasets import load_dataset
11
 
12
+ # Load a specific dataset
13
+ s3_dataset = load_dataset("BeeGass/permutation-groups", name="s3_data", trust_remote_code=True)
14
+ s7_dataset = load_dataset("BeeGass/permutation-groups", name="s7_data", trust_remote_code=True)
15
+ a7_dataset = load_dataset("BeeGass/permutation-groups", name="a7_data", trust_remote_code=True)
 
16
 
17
+ # Load all datasets combined
18
+ all_datasets = load_dataset("BeeGass/permutation-groups", name="all", trust_remote_code=True)
19
  ```
20
 
21
+ ## Available Configurations
 
 
22
 
23
+ - `s3_data`: Symmetric Group S3
24
+ - `s4_data`: Symmetric Group S4
25
+ - `s5_data`: Symmetric Group S5
26
+ - `s6_data`: Symmetric Group S6
27
+ - `s7_data`: Symmetric Group S7
28
+ - `a5_data`: Alternating Group A5
29
+ - `a6_data`: Alternating Group A6
30
+ - `a7_data`: Alternating Group A7
31
+ - `all`: All datasets combined
32
 
33
+ ## Dataset Structure
34
 
35
+ Each dataset contains:
36
+ - `input_sequence`: Space-separated sequence of permutation IDs
37
+ - `target`: The ID of the composed permutation
38
 
39
  ## License
40
 
41
+ MIT