Datasets:
Upload folder using huggingface_hub
Browse files- data/a4_data/README.md +50 -0
- data/a4_data/metadata.json +12 -12
- data/a4_data/test/data-00000-of-00001.arrow +2 -2
- data/a4_data/test/dataset_info.json +3 -3
- data/a4_data/test/state.json +1 -1
- data/a4_data/train/data-00000-of-00001.arrow +2 -2
- data/a4_data/train/dataset_info.json +3 -3
- data/a4_data/train/state.json +1 -1
data/a4_data/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Permutation Composition Dataset (A4)
|
| 3 |
+
size_categories:
|
| 4 |
+
- small
|
| 5 |
+
- medium
|
| 6 |
+
- large
|
| 7 |
+
tags:
|
| 8 |
+
- mathematics
|
| 9 |
+
- group-theory
|
| 10 |
+
- permutations
|
| 11 |
+
- sequence-to-sequence
|
| 12 |
+
- benchmark
|
| 13 |
+
task_categories:
|
| 14 |
+
- text-generation
|
| 15 |
+
- sequence-modeling
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Permutation Composition Dataset for A4
|
| 19 |
+
|
| 20 |
+
This dataset contains 15000 samples of permutation composition problems for the group A4.
|
| 21 |
+
|
| 22 |
+
## Group Information
|
| 23 |
+
- **Group**: A4
|
| 24 |
+
- **Order**: 12
|
| 25 |
+
- **Degree**: 4
|
| 26 |
+
|
| 27 |
+
## Dataset Statistics
|
| 28 |
+
- **Total samples**: 15000
|
| 29 |
+
- **Train samples**: 12000
|
| 30 |
+
- **Test samples**: 3000
|
| 31 |
+
- **Min sequence length**: 3
|
| 32 |
+
- **Max sequence length**: 512
|
| 33 |
+
|
| 34 |
+
## Usage
|
| 35 |
+
|
| 36 |
+
```python
|
| 37 |
+
from datasets import load_dataset
|
| 38 |
+
|
| 39 |
+
# Load the dataset
|
| 40 |
+
dataset = load_dataset("BeeGass/permutation-groups")
|
| 41 |
+
|
| 42 |
+
# Load the permutation mapping
|
| 43 |
+
metadata_path = hf_hub_download(repo_id="BeeGass/permutation-groups", filename="metadata.json")
|
| 44 |
+
with open(metadata_path, "r") as f:
|
| 45 |
+
id_to_perm_map = json.load(f)
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
## License
|
| 49 |
+
|
| 50 |
+
This dataset is licensed under the MIT License.
|
data/a4_data/metadata.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"0": "[0, 1, 2, 3]",
|
| 3 |
+
"1": "[1, 2, 0, 3]",
|
| 4 |
+
"2": "[2, 0, 1, 3]",
|
| 5 |
+
"3": "[3, 0, 2, 1]",
|
| 6 |
+
"4": "[0, 2, 3, 1]",
|
| 7 |
+
"5": "[1, 0, 3, 2]",
|
| 8 |
+
"6": "[2, 1, 3, 0]",
|
| 9 |
+
"7": "[3, 2, 1, 0]",
|
| 10 |
+
"8": "[0, 3, 1, 2]",
|
| 11 |
+
"9": "[1, 3, 2, 0]",
|
| 12 |
+
"10": "[2, 3, 0, 1]",
|
| 13 |
+
"11": "[3, 1, 0, 2]"
|
| 14 |
}
|
data/a4_data/test/data-00000-of-00001.arrow
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2366cf4b8738cae3cbe541cf59eae3befee02398d2d934284df48b79e206a1a
|
| 3 |
+
size 1706848
|
data/a4_data/test/dataset_info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"citation": "",
|
| 3 |
-
"description": "
|
| 4 |
"features": {
|
| 5 |
"input_sequence": {
|
| 6 |
"dtype": "string",
|
|
@@ -11,6 +11,6 @@
|
|
| 11 |
"_type": "Value"
|
| 12 |
}
|
| 13 |
},
|
| 14 |
-
"homepage": "
|
| 15 |
-
"license": "
|
| 16 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"citation": "",
|
| 3 |
+
"description": "",
|
| 4 |
"features": {
|
| 5 |
"input_sequence": {
|
| 6 |
"dtype": "string",
|
|
|
|
| 11 |
"_type": "Value"
|
| 12 |
}
|
| 13 |
},
|
| 14 |
+
"homepage": "",
|
| 15 |
+
"license": ""
|
| 16 |
}
|
data/a4_data/test/state.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"filename": "data-00000-of-00001.arrow"
|
| 5 |
}
|
| 6 |
],
|
| 7 |
-
"_fingerprint": "
|
| 8 |
"_format_columns": null,
|
| 9 |
"_format_kwargs": {},
|
| 10 |
"_format_type": null,
|
|
|
|
| 4 |
"filename": "data-00000-of-00001.arrow"
|
| 5 |
}
|
| 6 |
],
|
| 7 |
+
"_fingerprint": "f569f16e5b7db92d",
|
| 8 |
"_format_columns": null,
|
| 9 |
"_format_kwargs": {},
|
| 10 |
"_format_type": null,
|
data/a4_data/train/data-00000-of-00001.arrow
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4cfcb204d950fac8267acb50f579b6acb4fcf2abdd606634877b2a4df2dbb7d
|
| 3 |
+
size 6826328
|
data/a4_data/train/dataset_info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"citation": "",
|
| 3 |
-
"description": "
|
| 4 |
"features": {
|
| 5 |
"input_sequence": {
|
| 6 |
"dtype": "string",
|
|
@@ -11,6 +11,6 @@
|
|
| 11 |
"_type": "Value"
|
| 12 |
}
|
| 13 |
},
|
| 14 |
-
"homepage": "
|
| 15 |
-
"license": "
|
| 16 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"citation": "",
|
| 3 |
+
"description": "",
|
| 4 |
"features": {
|
| 5 |
"input_sequence": {
|
| 6 |
"dtype": "string",
|
|
|
|
| 11 |
"_type": "Value"
|
| 12 |
}
|
| 13 |
},
|
| 14 |
+
"homepage": "",
|
| 15 |
+
"license": ""
|
| 16 |
}
|
data/a4_data/train/state.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"filename": "data-00000-of-00001.arrow"
|
| 5 |
}
|
| 6 |
],
|
| 7 |
-
"_fingerprint": "
|
| 8 |
"_format_columns": null,
|
| 9 |
"_format_kwargs": {},
|
| 10 |
"_format_type": null,
|
|
|
|
| 4 |
"filename": "data-00000-of-00001.arrow"
|
| 5 |
}
|
| 6 |
],
|
| 7 |
+
"_fingerprint": "bc9872ffab2c192f",
|
| 8 |
"_format_columns": null,
|
| 9 |
"_format_kwargs": {},
|
| 10 |
"_format_type": null,
|