Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,92 +1,92 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- ckb
|
| 4 |
-
- kmr
|
| 5 |
-
- diq
|
| 6 |
-
- hac
|
| 7 |
-
license: cc-by-4.0
|
| 8 |
-
task_categories:
|
| 9 |
-
- text-generation
|
| 10 |
-
- fill-mask
|
| 11 |
-
pretty_name: Kurdish Corpus
|
| 12 |
-
size_categories:
|
| 13 |
-
- 100M<n<1B
|
| 14 |
-
---
|
| 15 |
-
|
| 16 |
-
# Kurdish
|
| 17 |
-
|
| 18 |
-
A large-scale multi-source Kurdish language dataset for training language models.
|
| 19 |
-
|
| 20 |
-
## Dataset Statistics
|
| 21 |
-
|
| 22 |
-
- **Total Documents**: 1,797,686
|
| 23 |
-
- **Total Tokens**: 625,716,980
|
| 24 |
-
- **Shards**: 4
|
| 25 |
-
- **Built**: 2026-05-02
|
| 26 |
-
|
| 27 |
-
### By Language
|
| 28 |
-
|
| 29 |
-
| Language | Documents |
|
| 30 |
-
|----------|-----------|
|
| 31 |
-
| Sorani (ckb) | 1,274,425 |
|
| 32 |
-
| Kurmanji (kmr) | 478,540 |
|
| 33 |
-
| Zazaki (diq) | 34,069 |
|
| 34 |
-
| Hawrami (hac) | 10,652 |
|
| 35 |
-
|
| 36 |
-
### By Source Type
|
| 37 |
-
|
| 38 |
-
| Source Type | Documents |
|
| 39 |
-
|-------------|-----------|
|
| 40 |
-
| News | 1,443,750 |
|
| 41 |
-
| Web | 229,705 |
|
| 42 |
-
| Wikipedia | 124,231 |
|
| 43 |
-
|
| 44 |
-
## Usage
|
| 45 |
-
|
| 46 |
-
```python
|
| 47 |
-
from datasets import load_dataset
|
| 48 |
-
|
| 49 |
-
dataset = load_dataset("kurdish-ai/kurdish-
|
| 50 |
-
|
| 51 |
-
# Access the data
|
| 52 |
-
for example in dataset["train"]:
|
| 53 |
-
print(example["text"][:100])
|
| 54 |
-
|
| 55 |
-
# Filter by language
|
| 56 |
-
ckb_data = dataset.filter(lambda x: x["language"] == "ckb")
|
| 57 |
-
|
| 58 |
-
# Filter by source type
|
| 59 |
-
news_data = dataset.filter(lambda x: x["source_type"] == "news")
|
| 60 |
-
|
| 61 |
-
# Filter by quality
|
| 62 |
-
high_quality = dataset.filter(lambda x: x["quality_score"] >= 80)
|
| 63 |
-
```
|
| 64 |
-
|
| 65 |
-
## Schema
|
| 66 |
-
|
| 67 |
-
| Field | Type | Description |
|
| 68 |
-
|-------|------|-------------|
|
| 69 |
-
| text | string | Document text |
|
| 70 |
-
| source | string | Source identifier |
|
| 71 |
-
| source_type | string | Category (news, wikipedia) |
|
| 72 |
-
| language | string | Language code (ckb, kmr, diq, hac) |
|
| 73 |
-
| quality_score | int | Quality score 0-100 |
|
| 74 |
-
| word_count | int | Word count |
|
| 75 |
-
| token_count | int | Estimated token count |
|
| 76 |
-
| url | string | Source URL |
|
| 77 |
-
|
| 78 |
-
## License
|
| 79 |
-
|
| 80 |
-
CC-BY-4.0
|
| 81 |
-
|
| 82 |
-
## Citation
|
| 83 |
-
|
| 84 |
-
```bibtex
|
| 85 |
-
@dataset{
|
| 86 |
-
title={Kurdish
|
| 87 |
-
author={Shahin Wahab},
|
| 88 |
-
year={2026},
|
| 89 |
-
publisher={Hugging Face},
|
| 90 |
-
url={https://huggingface.co/datasets/kurdish-ai/kurdish-
|
| 91 |
-
}
|
| 92 |
-
```
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- ckb
|
| 4 |
+
- kmr
|
| 5 |
+
- diq
|
| 6 |
+
- hac
|
| 7 |
+
license: cc-by-4.0
|
| 8 |
+
task_categories:
|
| 9 |
+
- text-generation
|
| 10 |
+
- fill-mask
|
| 11 |
+
pretty_name: Kurdish Corpus
|
| 12 |
+
size_categories:
|
| 13 |
+
- 100M<n<1B
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Kurdish Corpus
|
| 17 |
+
|
| 18 |
+
A large-scale multi-source Kurdish language dataset for training language models.
|
| 19 |
+
|
| 20 |
+
## Dataset Statistics
|
| 21 |
+
|
| 22 |
+
- **Total Documents**: 1,797,686
|
| 23 |
+
- **Total Tokens**: 625,716,980
|
| 24 |
+
- **Shards**: 4
|
| 25 |
+
- **Built**: 2026-05-02
|
| 26 |
+
|
| 27 |
+
### By Language
|
| 28 |
+
|
| 29 |
+
| Language | Documents |
|
| 30 |
+
|----------|-----------|
|
| 31 |
+
| Sorani (ckb) | 1,274,425 |
|
| 32 |
+
| Kurmanji (kmr) | 478,540 |
|
| 33 |
+
| Zazaki (diq) | 34,069 |
|
| 34 |
+
| Hawrami (hac) | 10,652 |
|
| 35 |
+
|
| 36 |
+
### By Source Type
|
| 37 |
+
|
| 38 |
+
| Source Type | Documents |
|
| 39 |
+
|-------------|-----------|
|
| 40 |
+
| News | 1,443,750 |
|
| 41 |
+
| Web | 229,705 |
|
| 42 |
+
| Wikipedia | 124,231 |
|
| 43 |
+
|
| 44 |
+
## Usage
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
from datasets import load_dataset
|
| 48 |
+
|
| 49 |
+
dataset = load_dataset("kurdish-ai/kurdish-corpus")
|
| 50 |
+
|
| 51 |
+
# Access the data
|
| 52 |
+
for example in dataset["train"]:
|
| 53 |
+
print(example["text"][:100])
|
| 54 |
+
|
| 55 |
+
# Filter by language
|
| 56 |
+
ckb_data = dataset.filter(lambda x: x["language"] == "ckb")
|
| 57 |
+
|
| 58 |
+
# Filter by source type
|
| 59 |
+
news_data = dataset.filter(lambda x: x["source_type"] == "news")
|
| 60 |
+
|
| 61 |
+
# Filter by quality
|
| 62 |
+
high_quality = dataset.filter(lambda x: x["quality_score"] >= 80)
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
## Schema
|
| 66 |
+
|
| 67 |
+
| Field | Type | Description |
|
| 68 |
+
|-------|------|-------------|
|
| 69 |
+
| text | string | Document text |
|
| 70 |
+
| source | string | Source identifier |
|
| 71 |
+
| source_type | string | Category (news, wikipedia) |
|
| 72 |
+
| language | string | Language code (ckb, kmr, diq, hac) |
|
| 73 |
+
| quality_score | int | Quality score 0-100 |
|
| 74 |
+
| word_count | int | Word count |
|
| 75 |
+
| token_count | int | Estimated token count |
|
| 76 |
+
| url | string | Source URL |
|
| 77 |
+
|
| 78 |
+
## License
|
| 79 |
+
|
| 80 |
+
CC-BY-4.0
|
| 81 |
+
|
| 82 |
+
## Citation
|
| 83 |
+
|
| 84 |
+
```bibtex
|
| 85 |
+
@dataset{kurdish_corpus_2026,
|
| 86 |
+
title={Kurdish Corpus},
|
| 87 |
+
author={Shahin Wahab},
|
| 88 |
+
year={2026},
|
| 89 |
+
publisher={Hugging Face},
|
| 90 |
+
url={https://huggingface.co/datasets/kurdish-ai/kurdish-corpus}
|
| 91 |
+
}
|
| 92 |
+
```
|