Update README.md
Browse files
README.md
CHANGED
|
@@ -60,46 +60,6 @@ from datasets import load_dataset
|
|
| 60 |
# Load the ZFusionAI dataset
|
| 61 |
dataset = load_dataset("GTKING/ZFusionAI_Pretraining_Data", streaming=True)
|
| 62 |
|
| 63 |
-
# Peek at the first example
|
| 64 |
-
print(next(iter(dataset)))
|
| 65 |
-
|
| 66 |
-
Welcome to the **ZFusionAI** repository! This dataset is a carefully curated, high-quality collection of text data designed specifically for training small-to-medium-sized language models (in the **500M to 1B parameter range**).
|
| 67 |
-
|
| 68 |
-
By combining general web knowledge, specialized mathematical reasoning, coding proficiency, and Indic language capabilities, this dataset provides a balanced foundation for versatile model performance.
|
| 69 |
-
|
| 70 |
-
---
|
| 71 |
-
|
| 72 |
-
## 📊 Dataset Composition
|
| 73 |
-
We have synthesized four distinct data sources to ensure a balanced distribution of knowledge. The data is processed via weighted interleaving to maintain high structural diversity.
|
| 74 |
-
|
| 75 |
-
| Data Source | Domain | Weight | Purpose |
|
| 76 |
-
| :--- | :--- | :--- | :--- |
|
| 77 |
-
| **FineWeb-Edu** | General Web / Edu | 30% | General world knowledge & language fluency |
|
| 78 |
-
| **UltraData-Math** | Mathematics | 20% | Logical reasoning & symbolic problem solving |
|
| 79 |
-
| **Python-Github** | Programming | 20% | Syntax, logic, and functional code generation |
|
| 80 |
-
| **IndicCorpV2** | Tamil (ta) | 30% | Multilingual support & linguistic diversity |
|
| 81 |
-
|
| 82 |
-
---
|
| 83 |
-
|
| 84 |
-
## 🛠️ Data Processing Pipeline
|
| 85 |
-
To ensure the model learns from high-quality tokens, we implemented a rigorous filtering process:
|
| 86 |
-
|
| 87 |
-
* **Streaming Load:** Efficient memory management by processing data in streams. 🌊
|
| 88 |
-
* **Normalization:** Harmonized schema (all columns mapped to `text`). 🔄
|
| 89 |
-
* **Length Filtering:** Dropped samples with fewer than 30 words to avoid noise. ✂️
|
| 90 |
-
* **Quality Heuristics:** Applied an alphabet/number ratio check (min 30% density) to filter out "junk" characters, HTML boilerplate, and non-informative strings. 🧹
|
| 91 |
-
|
| 92 |
-
---
|
| 93 |
-
|
| 94 |
-
## ⚙️ How to use
|
| 95 |
-
You can load this dataset easily using the Hugging Face `datasets` library:
|
| 96 |
-
|
| 97 |
-
```python
|
| 98 |
-
from datasets import load_dataset
|
| 99 |
-
|
| 100 |
-
# Load the ZFusionAI dataset
|
| 101 |
-
dataset = load_dataset("GTKING/ZFusionAI_Pretraining_Data", streaming=True)
|
| 102 |
-
|
| 103 |
# Peek at the first example
|
| 104 |
print(next(iter(dataset)))
|
| 105 |
```
|
|
|
|
| 60 |
# Load the ZFusionAI dataset
|
| 61 |
dataset = load_dataset("GTKING/ZFusionAI_Pretraining_Data", streaming=True)
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
# Peek at the first example
|
| 64 |
print(next(iter(dataset)))
|
| 65 |
```
|