Update README.md
Browse files
README.md
CHANGED
|
@@ -27,6 +27,10 @@ license: cc-by-4.0
|
|
| 27 |
|
| 28 |
This dataset is a filtered version of [BookCorpus](https://huggingface.co/datasets/bookcorpus/bookcorpus) containing only gender-neutral words.
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
```python
|
| 31 |
geneutral = load_dataset('aieng-lab/geneutral', trust_remote_code=True, split='train')
|
| 32 |
```
|
|
@@ -55,7 +59,6 @@ Index | Text
|
|
| 55 |
- **Paper:** [](https://arxiv.org/abs/2502.01406)
|
| 56 |
- **Original Data**: [BookCorpus](https://huggingface.co/datasets/bookcorpus/bookcorpus)
|
| 57 |
|
| 58 |
-
> **__NOTE:__** This dataset is derived from BookCorpus, for which we do not have publication rights. Therefore, this repository only provides indices referring to gender-neutral entries within the BookCorpus dataset on Hugging Face. By using `load_dataset('aieng-lab/geneutral', trust_remote_code=True, split='train')`, both the indices and the full BookCorpus dataset are downloaded locally. The indices are then used to construct the GENEUTRAL dataset. The initial dataset generation takes a few minutes, but subsequent loads are cached for faster access.
|
| 59 |
|
| 60 |
## Uses
|
| 61 |
|
|
|
|
| 27 |
|
| 28 |
This dataset is a filtered version of [BookCorpus](https://huggingface.co/datasets/bookcorpus/bookcorpus) containing only gender-neutral words.
|
| 29 |
|
| 30 |
+
|
| 31 |
+
> **__NOTE:__** This dataset is derived from BookCorpus, for which we do not have publication rights. Therefore, this repository only provides indices referring to gender-neutral entries within the BookCorpus dataset on Hugging Face. By using `load_dataset('aieng-lab/geneutral', trust_remote_code=True, split='train')`, both the indices and the full BookCorpus dataset are downloaded locally. The indices are then used to construct the GENEUTRAL dataset. The initial dataset generation takes a few minutes, but subsequent loads are cached for faster access. This setup only works with `datasets` versions beween `3.0.2` and `3.6.0` (successfully tested with Python 3.9-3.11), as later versions deprecated `trust_remote_code`. If your project depends on other `datasets` versions, we recommend generating the dataset once in a separate Python environment, saving the resulting data to disk, and then loading the local copy within your main project.
|
| 32 |
+
|
| 33 |
+
|
| 34 |
```python
|
| 35 |
geneutral = load_dataset('aieng-lab/geneutral', trust_remote_code=True, split='train')
|
| 36 |
```
|
|
|
|
| 59 |
- **Paper:** [](https://arxiv.org/abs/2502.01406)
|
| 60 |
- **Original Data**: [BookCorpus](https://huggingface.co/datasets/bookcorpus/bookcorpus)
|
| 61 |
|
|
|
|
| 62 |
|
| 63 |
## Uses
|
| 64 |
|