Datasets:
Upload README.md with huggingface_hub
Browse files
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 |
-
|
| 61 |
|
| 62 |
-
|
| 63 |
|
| 64 |
-
|
| 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
|
| 72 |
-
s3_dataset = load_dataset("BeeGass/permutation-groups", name="s3_data")
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
a5_dataset = load_dataset("BeeGass/permutation-groups", name="a5_data")
|
| 76 |
|
| 77 |
-
# Load all datasets
|
| 78 |
-
all_datasets = load_dataset("BeeGass/permutation-groups")
|
| 79 |
```
|
| 80 |
|
| 81 |
-
##
|
| 82 |
-
|
| 83 |
-
Each dataset configuration contains `train` and `test` splits. Each sample in the dataset has the following features:
|
| 84 |
|
| 85 |
-
- `
|
| 86 |
-
- `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
-
##
|
| 89 |
|
| 90 |
-
|
|
|
|
|
|
|
| 91 |
|
| 92 |
## License
|
| 93 |
|
| 94 |
-
|
|
|
|
| 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
|