Datasets:
Upload folder using huggingface_hub
Browse files- LICENSE +71 -21
- README.md +52 -59
- data/test.parquet +2 -2
- data/train.parquet +2 -2
- data/validation.parquet +2 -2
- sources.csv +8 -0
LICENSE
CHANGED
|
@@ -1,21 +1,71 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Herero Language Dataset - Multi-License Collection
|
| 2 |
+
|
| 3 |
+
This repository is a **redistribution of materials from multiple upstream sources under different licenses**. It is a **collection**, not a derivative work. Each data source retains its original license.
|
| 4 |
+
|
| 5 |
+
## Important Notice
|
| 6 |
+
|
| 7 |
+
**This repository is a redistribution of materials from multiple upstream sources under different licenses. Each example remains subject to its original source license. Users are responsible for checking per-row licensing before reuse.**
|
| 8 |
+
|
| 9 |
+
## Source Licenses
|
| 10 |
+
|
| 11 |
+
| Source | License | Type |
|
| 12 |
+
|--------|---------|------|
|
| 13 |
+
| FineWeb-2 | ODC-By 1.0 | odc_by |
|
| 14 |
+
| Omnilingual ASR | CC BY 4.0 | cc_by |
|
| 15 |
+
| GlotCC-V1 | CC BY 4.0 | cc_by |
|
| 16 |
+
| Herero Bible (1849) | Public Domain | public_domain |
|
| 17 |
+
| Storybooks Namibia | CC BY 4.0 | cc_by |
|
| 18 |
+
| FinePDFs | ODC-By 1.0 | odc_by |
|
| 19 |
+
| Wikipedia Incubator | CC BY-SA 3.0 | cc_by_sa |
|
| 20 |
+
|
| 21 |
+
## License Summaries
|
| 22 |
+
|
| 23 |
+
### Public Domain (herero_bible_1849)
|
| 24 |
+
No copyright restrictions. Published in 1849.
|
| 25 |
+
|
| 26 |
+
### CC BY 4.0 - Attribution (omnilingual_asr, glotcc_v1, storybooks_namibia)
|
| 27 |
+
You are free to:
|
| 28 |
+
- **Share**: Copy and redistribute the material
|
| 29 |
+
- **Adapt**: Remix, transform, build upon the material
|
| 30 |
+
|
| 31 |
+
Under these terms:
|
| 32 |
+
- **Attribution**: You must give appropriate credit to the original source
|
| 33 |
+
- **No additional restrictions**: You may not apply legal terms that restrict others
|
| 34 |
+
|
| 35 |
+
### CC BY-SA 3.0 - Attribution-ShareAlike (wikipedia_incubator)
|
| 36 |
+
Same as CC BY 4.0, plus:
|
| 37 |
+
- **ShareAlike**: If you remix or transform the material, you must distribute your contribution under the same license
|
| 38 |
+
|
| 39 |
+
Note: As a mere collection (not an adaptation), CC BY-SA does not apply to the aggregated dataset.
|
| 40 |
+
|
| 41 |
+
### ODC-By 1.0 - Open Data Commons Attribution (fineweb2, finepdfs)
|
| 42 |
+
You are free to:
|
| 43 |
+
- **Share**: Copy, distribute, use the database
|
| 44 |
+
- **Create**: Produce derivative works from the database
|
| 45 |
+
- **Modify**: Transform, translate, build upon the database
|
| 46 |
+
|
| 47 |
+
Under these terms:
|
| 48 |
+
- **Attribution**: You must give appropriate credit to the original database
|
| 49 |
+
- **Keep open**: If you publicize a modified version, you must also publish it under ODC-By
|
| 50 |
+
- **No sublicensing**: You may not sublicense the database under different terms
|
| 51 |
+
|
| 52 |
+
See: https://opendatacommons.org/licenses/by/1-0/
|
| 53 |
+
|
| 54 |
+
## Per-Row Licensing
|
| 55 |
+
|
| 56 |
+
Each row in the dataset carries these provenance columns:
|
| 57 |
+
- `source`: The data source name
|
| 58 |
+
- `original_license`: The original license of that source
|
| 59 |
+
- `original_url`: Link to the original source
|
| 60 |
+
- `changes_made`: Description of any transformations applied
|
| 61 |
+
|
| 62 |
+
**Users must check the `original_license` field for each example to determine applicable terms.**
|
| 63 |
+
|
| 64 |
+
## Disclaimer
|
| 65 |
+
|
| 66 |
+
This documentation is provided for informational purposes only and does not constitute legal advice. For questions about licensing, consult the original license texts or seek legal counsel.
|
| 67 |
+
|
| 68 |
+
## See Also
|
| 69 |
+
|
| 70 |
+
- `sources.csv` - Full source manifest with attribution details
|
| 71 |
+
- `README.md` - Dataset documentation
|
README.md
CHANGED
|
@@ -1,38 +1,18 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
| 4 |
language:
|
| 5 |
- hz
|
| 6 |
-
language_creators:
|
| 7 |
-
- found
|
| 8 |
-
license: mit
|
| 9 |
-
multilinguality:
|
| 10 |
-
- monolingual
|
| 11 |
-
pretty_name: Herero Language Dataset
|
| 12 |
-
size_categories:
|
| 13 |
-
- 1K<n<10K
|
| 14 |
-
source_datasets:
|
| 15 |
-
- original
|
| 16 |
-
tags:
|
| 17 |
-
- herero
|
| 18 |
-
- otjiherero
|
| 19 |
-
- namibia
|
| 20 |
-
- bantu
|
| 21 |
-
- low-resource
|
| 22 |
-
- african-languages
|
| 23 |
-
- pretraining
|
| 24 |
task_categories:
|
| 25 |
-
- text-
|
| 26 |
-
- fill-mask
|
| 27 |
-
task_ids:
|
| 28 |
-
- language-modeling
|
| 29 |
---
|
| 30 |
|
| 31 |
# Herero Language Dataset
|
| 32 |
|
| 33 |
-
[
|
| 34 |
|
| 35 |
-
|
| 36 |
|
| 37 |
## Dataset Summary
|
| 38 |
|
|
@@ -40,9 +20,8 @@ A curated dataset of [Herero (Otjiherero)](https://en.wikipedia.org/wiki/Herero_
|
|
| 40 |
|--------|-------|
|
| 41 |
| Documents | 1,951 |
|
| 42 |
| Words | 870,941 |
|
| 43 |
-
|
|
| 44 |
| Language | Herero (hz) |
|
| 45 |
-
| License | MIT |
|
| 46 |
|
| 47 |
## Sources
|
| 48 |
|
|
@@ -52,7 +31,7 @@ A curated dataset of [Herero (Otjiherero)](https://en.wikipedia.org/wiki/Herero_
|
|
| 52 |
| Omnilingual ASR | 437 | 60,485 | CC BY 4.0 |
|
| 53 |
| GlotCC-V1 | 20 | 75,982 | CC BY 4.0 |
|
| 54 |
| Herero Bible (1849) | 81 | 26,807 | Public Domain |
|
| 55 |
-
| Storybooks Namibia | 46 | 13,246 | CC BY
|
| 56 |
| FinePDFs | 25 | 17,800 | ODC-By 1.0 |
|
| 57 |
| Wikipedia Incubator | 70 | 4,243 | CC BY-SA 3.0 |
|
| 58 |
|
|
@@ -66,18 +45,21 @@ A curated dataset of [Herero (Otjiherero)](https://en.wikipedia.org/wiki/Herero_
|
|
| 66 |
|
| 67 |
## Schema
|
| 68 |
|
|
|
|
|
|
|
| 69 |
| Field | Type | Description |
|
| 70 |
|-------|------|-------------|
|
| 71 |
-
| `id` | string | Unique document ID
|
| 72 |
| `text` | string | Herero text (NFC normalized) |
|
| 73 |
| `source` | string | Data source name |
|
| 74 |
-
| `
|
| 75 |
-
| `
|
|
|
|
|
|
|
|
|
|
| 76 |
| `word_count` | int | Word count |
|
| 77 |
| `char_count` | int | Character count |
|
| 78 |
|
| 79 |
-
Splits are stratified by source to ensure representation in all splits.
|
| 80 |
-
|
| 81 |
## Usage
|
| 82 |
|
| 83 |
```python
|
|
@@ -85,16 +67,24 @@ from datasets import load_dataset
|
|
| 85 |
|
| 86 |
dataset = load_dataset("NoeFlandre/herero-dataset")
|
| 87 |
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
```
|
| 92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
## Quality Assurance
|
| 94 |
|
| 95 |
-
- **Deduplication**: SHA-256 content hashing
|
| 96 |
-
- **Normalization**: Unicode NFC normalization
|
| 97 |
-
- **Filtering**:
|
| 98 |
- **Reproducibility**: Fixed random seed (42)
|
| 99 |
|
| 100 |
## Known Limitations
|
|
@@ -104,28 +94,31 @@ test_data = dataset["test"]
|
|
| 104 |
- Historical text uses 19th-century orthography
|
| 105 |
- Speech transcripts may contain disfluencies
|
| 106 |
|
| 107 |
-
##
|
| 108 |
|
| 109 |
-
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
-
|
| 112 |
|
| 113 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
|
| 115 |
-
``
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
``
|
| 123 |
|
| 124 |
-
##
|
| 125 |
|
| 126 |
-
|
| 127 |
-
- Meta AI Research (Omnilingual ASR)
|
| 128 |
-
- CIS LMU Munich (GlotCC)
|
| 129 |
-
- HuggingFace (FineWeb-2, FinePDFs)
|
| 130 |
-
- African Storybook / Saide
|
| 131 |
-
- Rhenish Missionary Society
|
|
|
|
| 1 |
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: multiple-licenses
|
| 4 |
+
pretty_name: Herero Language Dataset
|
| 5 |
language:
|
| 6 |
- hz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
task_categories:
|
| 8 |
+
- text-classification
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# Herero Language Dataset
|
| 12 |
|
| 13 |
+
A **multi-license collection** of [Herero (Otjiherero)](https://en.wikipedia.org/wiki/Herero_language) text for NLP research. This is **not** a derivative work—sources are aggregated with original licenses preserved.
|
| 14 |
|
| 15 |
+
**⚠️ WARNING: This repository is a redistribution of materials from multiple upstream sources under different licenses. Each example remains subject to its original source license. Users are responsible for checking per-row licensing before reuse.**
|
| 16 |
|
| 17 |
## Dataset Summary
|
| 18 |
|
|
|
|
| 20 |
|--------|-------|
|
| 21 |
| Documents | 1,951 |
|
| 22 |
| Words | 870,941 |
|
| 23 |
+
| Sources | 7 |
|
| 24 |
| Language | Herero (hz) |
|
|
|
|
| 25 |
|
| 26 |
## Sources
|
| 27 |
|
|
|
|
| 31 |
| Omnilingual ASR | 437 | 60,485 | CC BY 4.0 |
|
| 32 |
| GlotCC-V1 | 20 | 75,982 | CC BY 4.0 |
|
| 33 |
| Herero Bible (1849) | 81 | 26,807 | Public Domain |
|
| 34 |
+
| Storybooks Namibia | 46 | 13,246 | CC BY 4.0 |
|
| 35 |
| FinePDFs | 25 | 17,800 | ODC-By 1.0 |
|
| 36 |
| Wikipedia Incubator | 70 | 4,243 | CC BY-SA 3.0 |
|
| 37 |
|
|
|
|
| 45 |
|
| 46 |
## Schema
|
| 47 |
|
| 48 |
+
Each row includes provenance columns:
|
| 49 |
+
|
| 50 |
| Field | Type | Description |
|
| 51 |
|-------|------|-------------|
|
| 52 |
+
| `id` | string | Unique document ID |
|
| 53 |
| `text` | string | Herero text (NFC normalized) |
|
| 54 |
| `source` | string | Data source name |
|
| 55 |
+
| `original_license` | string | Source license (check this!) |
|
| 56 |
+
| `original_url` | string | Link to original source |
|
| 57 |
+
| `changes_made` | string | Transformations applied |
|
| 58 |
+
| `license_type` | string | License category |
|
| 59 |
+
| `url` | string | Source URL |
|
| 60 |
| `word_count` | int | Word count |
|
| 61 |
| `char_count` | int | Character count |
|
| 62 |
|
|
|
|
|
|
|
| 63 |
## Usage
|
| 64 |
|
| 65 |
```python
|
|
|
|
| 67 |
|
| 68 |
dataset = load_dataset("NoeFlandre/herero-dataset")
|
| 69 |
|
| 70 |
+
# Check per-row license BEFORE use
|
| 71 |
+
for example in dataset["train"]:
|
| 72 |
+
print(f"License: {example['original_license']} - {example['source']}")
|
| 73 |
```
|
| 74 |
|
| 75 |
+
## Collection Classification
|
| 76 |
+
|
| 77 |
+
This dataset is a **collection**, not an adaptation:
|
| 78 |
+
- Text is aggregated from sources without material modification
|
| 79 |
+
- Original text is preserved (only formatting normalized)
|
| 80 |
+
- No translation, rewriting, or merging across sources
|
| 81 |
+
- Source boundaries maintained via `source` column
|
| 82 |
+
|
| 83 |
## Quality Assurance
|
| 84 |
|
| 85 |
+
- **Deduplication**: Within-source SHA-256 content hashing
|
| 86 |
+
- **Normalization**: Unicode NFC normalization (no text rewriting)
|
| 87 |
+
- **Filtering**: Min-length 50 chars
|
| 88 |
- **Reproducibility**: Fixed random seed (42)
|
| 89 |
|
| 90 |
## Known Limitations
|
|
|
|
| 94 |
- Historical text uses 19th-century orthography
|
| 95 |
- Speech transcripts may contain disfluencies
|
| 96 |
|
| 97 |
+
## Ethical Considerations
|
| 98 |
|
| 99 |
+
- No personal data included
|
| 100 |
+
- All content publicly available at time of scraping
|
| 101 |
+
- Attribution preserved via `original_url` column
|
| 102 |
+
- Users must respect individual source licenses
|
| 103 |
|
| 104 |
+
## Licensing Summary
|
| 105 |
|
| 106 |
+
| License Type | Sources | Requirements |
|
| 107 |
+
|-------------|---------|--------------|
|
| 108 |
+
| Public Domain | 1 | None |
|
| 109 |
+
| CC BY | 3 | Attribution |
|
| 110 |
+
| CC BY-SA | 1 | Attribution + ShareAlike |
|
| 111 |
+
| ODC-By | 2 | Attribution + Keep open |
|
| 112 |
|
| 113 |
+
**You must check the `original_license` column for each example.**
|
| 114 |
+
|
| 115 |
+
## Files
|
| 116 |
+
|
| 117 |
+
- `data/train.parquet` - Training split
|
| 118 |
+
- `data/validation.parquet` - Validation split
|
| 119 |
+
- `data/test.parquet` - Test split
|
| 120 |
+
- `sources.csv` - Full source manifest
|
| 121 |
|
| 122 |
+
## Disclaimer
|
| 123 |
|
| 124 |
+
This documentation is provided for informational purposes only and does not constitute legal advice. Uncertain licensing cases were reviewed conservatively. For legal questions, consult the original license texts or seek professional counsel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data/test.parquet
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:219eb2bcdb9fe2de11391076602dbbb8449aaf7db4282d8b00c3ca5523e7dacf
|
| 3 |
+
size 176526
|
data/train.parquet
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:573df50c75daedbd330896a1ed74f19ab293e0c46e0e6ea733355e41760dc617
|
| 3 |
+
size 3181501
|
data/validation.parquet
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:3b0484b22cb8a69e77bebdbd6b7abc2e43bff5149a38b0d396476bb91bfa2608
|
| 3 |
+
size 207542
|
sources.csv
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
source,original_license,license_type,original_url,attribution_text,changes_made,is_public_domain,docs,words
|
| 2 |
+
fineweb2,ODC-By 1.0,odc_by,https://huggingface.co/datasets/HuggingFaceFW/fineweb-2,FineWeb-2 dataset by HuggingFace. See: https://huggingface.co/datasets/HuggingFaceFW/fineweb-2,Filtered to Herero (hz) language subset. Unicode NFC normalization. Min-length 50 chars.,False,1272,672378
|
| 3 |
+
omnilingual_asr,CC BY 4.0,cc_by,https://huggingface.co/datasets/facebook/omnilingual-asr-corpus,Omnilingual ASR Corpus by Meta AI Research. See: https://huggingface.co/datasets/facebook/omnilingual-asr-corpus,Filtered to Herero language. Text extracted from transcripts. Unicode NFC normalization.,False,437,60485
|
| 4 |
+
glotcc_v1,CC BY 4.0,cc_by,https://huggingface.co/datasets/cis-lmu/GlotCC-V1,GlotCC-V1 by CIS LMU Munich. See: https://huggingface.co/datasets/cis-lmu/GlotCC-V1,Filtered to Herero language via GlotLID. Text extracted from CommonCrawl. Unicode NFC normalization.,False,20,75982
|
| 5 |
+
herero_bible_1849,Public Domain,public_domain,https://archive.org/stream/OmahungiOaEmboRaJehovaNaOmaimpurir/,Omahungi Oa Embo Ra Jehova Na Omaimpuriro Mo Otjiherero (1849) by Rhenish Missionary Society. Public Domain.,Text extracted from archive scan. Chapter/section segmentation. Unicode NFC normalization.,True,81,26807
|
| 6 |
+
storybooks_namibia,CC BY 4.0,cc_by,https://storybooksnamibia.net/stories/hz/,Storybooks Namibia (Otjiherero) by African Storybook/Saide. See: https://storybooksnamibia.net,Scraped from storybooksnamibia.net. HTML cleaned. Unicode NFC normalization.,False,46,13246
|
| 7 |
+
finepdfs,ODC-By 1.0,odc_by,https://huggingface.co/datasets/HuggingFaceFW/finepdfs,FinePDFs dataset by HuggingFace. See: https://huggingface.co/datasets/HuggingFaceFW/finepdfs,Filtered to Herero (hz) language subset. PDF text extraction. Unicode NFC normalization.,False,25,17800
|
| 8 |
+
wikipedia_incubator,CC BY-SA 3.0,cc_by_sa,https://incubator.wikimedia.org/wiki/Wp/hz,Wikipedia Incubator (Herero). See: https://incubator.wikimedia.org/wiki/Wp/hz,Scraped via MediaWiki API. HTML templates removed. Unicode NFC normalization. MINIMAL PROCESSING - original text preserved.,False,70,4243
|