Add dataset card for LingGen
Browse files
README.md
CHANGED
|
@@ -16,17 +16,17 @@ This dataset contains the processed training and test data used for the LingGen
|
|
| 16 |
|
| 17 |
## Dataset Summary
|
| 18 |
|
| 19 |
-
-
|
| 20 |
-
- : 2,000 examples
|
| 21 |
-
- : 40 released control attributes used by the public codebase
|
| 22 |
-
- : full 276-dimensional linguistic feature vector
|
| 23 |
|
| 24 |
Each example includes:
|
| 25 |
|
| 26 |
-
- : target text
|
| 27 |
-
- : source dataset identifier
|
| 28 |
-
- : released 40-attribute control vector
|
| 29 |
-
- : full feature vector before selecting the released subset
|
| 30 |
|
| 31 |
## Source Data
|
| 32 |
|
|
@@ -44,14 +44,29 @@ This release redistributes processed text and derived linguistic features for re
|
|
| 44 |
|
| 45 |
## Usage
|
| 46 |
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
To use the dataset directly with the released code repository, save it to disk first:
|
| 50 |
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
Code repository: https://github.com/CLU-UML/LingGen
|
| 54 |
|
| 55 |
## Citation
|
| 56 |
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
## Dataset Summary
|
| 18 |
|
| 19 |
+
- `train`: 6,810,672 examples
|
| 20 |
+
- `test`: 2,000 examples
|
| 21 |
+
- `ling`: 40 released control attributes used by the public codebase
|
| 22 |
+
- `ling_all`: full 276-dimensional linguistic feature vector
|
| 23 |
|
| 24 |
Each example includes:
|
| 25 |
|
| 26 |
+
- `sentence`: target text
|
| 27 |
+
- `source`: source dataset identifier
|
| 28 |
+
- `ling`: released 40-attribute control vector
|
| 29 |
+
- `ling_all`: full feature vector before selecting the released subset
|
| 30 |
|
| 31 |
## Source Data
|
| 32 |
|
|
|
|
| 44 |
|
| 45 |
## Usage
|
| 46 |
|
| 47 |
+
```python
|
| 48 |
+
from datasets import load_dataset
|
| 49 |
+
|
| 50 |
+
dataset = load_dataset("mohdelgaar/LingGen")
|
| 51 |
+
```
|
| 52 |
|
| 53 |
To use the dataset directly with the released code repository, save it to disk first:
|
| 54 |
|
| 55 |
+
```python
|
| 56 |
+
from datasets import load_dataset
|
| 57 |
+
|
| 58 |
+
dataset = load_dataset("mohdelgaar/LingGen")
|
| 59 |
+
dataset.save_to_disk("data/ling_sentences")
|
| 60 |
+
```
|
| 61 |
|
| 62 |
Code repository: https://github.com/CLU-UML/LingGen
|
| 63 |
|
| 64 |
## Citation
|
| 65 |
|
| 66 |
+
```bibtex
|
| 67 |
+
@misc{elgaar2026linggen,
|
| 68 |
+
title={LingGen: Scalable Multi-Attribute Linguistic Control via Power-Law Masking},
|
| 69 |
+
author={Mohamed Elgaar and Hadi Amiri},
|
| 70 |
+
year={2026}
|
| 71 |
+
}
|
| 72 |
+
```
|