Datasets:
Upload folder using huggingface_hub
Browse files- data/z4_data/README.md +50 -0
- data/z4_data/dataset_dict.json +1 -0
- data/z4_data/metadata.json +6 -0
- data/z4_data/test/data-00000-of-00001.arrow +3 -0
- data/z4_data/test/dataset_info.json +16 -0
- data/z4_data/test/state.json +13 -0
- data/z4_data/train/data-00000-of-00001.arrow +3 -0
- data/z4_data/train/dataset_info.json +16 -0
- data/z4_data/train/state.json +13 -0
data/z4_data/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Permutation Composition Dataset (Z4)
|
| 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 Z4
|
| 19 |
+
|
| 20 |
+
This dataset contains 8000 samples of permutation composition problems for the group Z4.
|
| 21 |
+
|
| 22 |
+
## Group Information
|
| 23 |
+
- **Group**: Z4
|
| 24 |
+
- **Order**: 4
|
| 25 |
+
- **Degree**: 4
|
| 26 |
+
|
| 27 |
+
## Dataset Statistics
|
| 28 |
+
- **Total samples**: 8000
|
| 29 |
+
- **Train samples**: 6400
|
| 30 |
+
- **Test samples**: 1600
|
| 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/z4_data/dataset_dict.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"splits": ["train", "test"]}
|
data/z4_data/metadata.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"0": "[0, 1, 2, 3]",
|
| 3 |
+
"1": "[1, 2, 3, 0]",
|
| 4 |
+
"2": "[2, 3, 0, 1]",
|
| 5 |
+
"3": "[3, 0, 1, 2]"
|
| 6 |
+
}
|
data/z4_data/test/data-00000-of-00001.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ec160d92ff3d943e65a6b1a86289bfa44ada880d0c5916ef55db3f9ebd2292b
|
| 3 |
+
size 849520
|
data/z4_data/test/dataset_info.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"citation": "",
|
| 3 |
+
"description": "",
|
| 4 |
+
"features": {
|
| 5 |
+
"input_sequence": {
|
| 6 |
+
"dtype": "string",
|
| 7 |
+
"_type": "Value"
|
| 8 |
+
},
|
| 9 |
+
"target": {
|
| 10 |
+
"dtype": "string",
|
| 11 |
+
"_type": "Value"
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"homepage": "",
|
| 15 |
+
"license": ""
|
| 16 |
+
}
|
data/z4_data/test/state.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00001.arrow"
|
| 5 |
+
}
|
| 6 |
+
],
|
| 7 |
+
"_fingerprint": "b6f854ebaba5d828",
|
| 8 |
+
"_format_columns": null,
|
| 9 |
+
"_format_kwargs": {},
|
| 10 |
+
"_format_type": null,
|
| 11 |
+
"_output_all_columns": false,
|
| 12 |
+
"_split": null
|
| 13 |
+
}
|
data/z4_data/train/data-00000-of-00001.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36dc9b8ee05db886a156e8540aa3cbe708f8ef7ebcdb0ec5e4179991dbc0bec7
|
| 3 |
+
size 3319224
|
data/z4_data/train/dataset_info.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"citation": "",
|
| 3 |
+
"description": "",
|
| 4 |
+
"features": {
|
| 5 |
+
"input_sequence": {
|
| 6 |
+
"dtype": "string",
|
| 7 |
+
"_type": "Value"
|
| 8 |
+
},
|
| 9 |
+
"target": {
|
| 10 |
+
"dtype": "string",
|
| 11 |
+
"_type": "Value"
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"homepage": "",
|
| 15 |
+
"license": ""
|
| 16 |
+
}
|
data/z4_data/train/state.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00001.arrow"
|
| 5 |
+
}
|
| 6 |
+
],
|
| 7 |
+
"_fingerprint": "6ce2bcb0cdc8a590",
|
| 8 |
+
"_format_columns": null,
|
| 9 |
+
"_format_kwargs": {},
|
| 10 |
+
"_format_type": null,
|
| 11 |
+
"_output_all_columns": false,
|
| 12 |
+
"_split": null
|
| 13 |
+
}
|