Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,37 +1,93 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
num_examples: 4736157
|
| 20 |
-
- name: validation
|
| 21 |
-
num_bytes: 28924858
|
| 22 |
-
num_examples: 48328
|
| 23 |
-
- name: test
|
| 24 |
-
num_bytes: 28838045
|
| 25 |
-
num_examples: 48329
|
| 26 |
-
download_size: 1123917983
|
| 27 |
-
dataset_size: 2875035693
|
| 28 |
configs:
|
| 29 |
- config_name: default
|
| 30 |
data_files:
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- ne
|
| 4 |
+
license: cc0-1.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
- fill-mask
|
| 8 |
+
task_ids:
|
| 9 |
+
- language-modeling
|
| 10 |
+
pretty_name: CC-100 Nepali (Cleaned)
|
| 11 |
+
size_categories:
|
| 12 |
+
- 1M<n<10M
|
| 13 |
+
tags:
|
| 14 |
+
- nepali
|
| 15 |
+
- devanagari
|
| 16 |
+
- low-resource
|
| 17 |
+
- cc100
|
| 18 |
+
- monolingual
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
configs:
|
| 20 |
- config_name: default
|
| 21 |
data_files:
|
| 22 |
+
- split: train
|
| 23 |
+
path: data/train-*.parquet
|
| 24 |
+
- split: validation
|
| 25 |
+
path: data/validation-*.parquet
|
| 26 |
+
- split: test
|
| 27 |
+
path: data/test-*.parquet
|
| 28 |
+
dataset_info:
|
| 29 |
+
features:
|
| 30 |
+
- name: id
|
| 31 |
+
dtype: string
|
| 32 |
+
- name: text
|
| 33 |
+
dtype: string
|
| 34 |
+
- name: char_length
|
| 35 |
+
dtype: int32
|
| 36 |
+
- name: word_count
|
| 37 |
+
dtype: int32
|
| 38 |
+
- name: devanagari_ratio
|
| 39 |
+
dtype: float32
|
| 40 |
+
- name: source
|
| 41 |
+
dtype: string
|
| 42 |
+
splits:
|
| 43 |
+
- name: train
|
| 44 |
+
num_examples: 4736157
|
| 45 |
+
- name: validation
|
| 46 |
+
num_examples: 48328
|
| 47 |
+
- name: test
|
| 48 |
+
num_examples: 48329
|
| 49 |
---
|
| 50 |
+
|
| 51 |
+
# CC-100 Nepali — Cleaned & Deduplicated
|
| 52 |
+
|
| 53 |
+
Cleaned, language-filtered, and deduplicated Nepali monolingual text from
|
| 54 |
+
[CC-100](https://data.statmt.org/cc-100/) suitable for transformer pretraining.
|
| 55 |
+
|
| 56 |
+
## Statistics
|
| 57 |
+
|
| 58 |
+
| Split | Sentences |
|
| 59 |
+
|---|---|
|
| 60 |
+
| train | 4,736,157 |
|
| 61 |
+
| validation | 48,328 |
|
| 62 |
+
| test | 48,329 |
|
| 63 |
+
| **total** | **4,832,814** |
|
| 64 |
+
|
| 65 |
+
Created: 2026-04-02
|
| 66 |
+
|
| 67 |
+
## Pipeline
|
| 68 |
+
|
| 69 |
+
1. Unicode normalisation (NFC + ftfy)
|
| 70 |
+
2. Rule-based filters (length, Devanagari ratio ≥ 0.5, boilerplate)
|
| 71 |
+
3. Language ID — fastText lid.176.bin, confidence ≥ 0.7
|
| 72 |
+
4. Exact deduplication (MD5)
|
| 73 |
+
5. Near-deduplication (char 13-gram bloom filter)
|
| 74 |
+
6. 98/1/1 train/val/test split, seed 42
|
| 75 |
+
|
| 76 |
+
## Usage
|
| 77 |
+
|
| 78 |
+
```python
|
| 79 |
+
from datasets import load_dataset
|
| 80 |
+
ds = load_dataset("Titung/cc100-nepali-cleaned")
|
| 81 |
+
# Filter high-quality sentences
|
| 82 |
+
high_q = ds["train"].filter(lambda x: x["devanagari_ratio"] > 0.8 and x["word_count"] >= 5)
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
## Citation
|
| 86 |
+
|
| 87 |
+
```bibtex
|
| 88 |
+
@inproceedings{conneau-etal-2020-unsupervised,
|
| 89 |
+
title = {Unsupervised Cross-lingual Representation Learning at Scale},
|
| 90 |
+
author = {Conneau, Alexis et al.},
|
| 91 |
+
year = {2020}
|
| 92 |
+
}
|
| 93 |
+
```
|