Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,88 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- it
|
| 4 |
+
license: cc-by-4.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- italian
|
| 9 |
+
- modotai
|
| 10 |
+
- pretraining
|
| 11 |
+
- corpus
|
| 12 |
+
size_categories:
|
| 13 |
+
- 1M<n<10M
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
# Italian-Common-Corpus
|
| 17 |
+
|
| 18 |
+
The Italian dataset with the highest density of useful information per token. Built by [ModotAI](https://things-ai.org) for training Italian language models.
|
| 19 |
+
|
| 20 |
+
## Subsets
|
| 21 |
+
|
| 22 |
+
| Subset | File | Documents | Words | Description |
|
| 23 |
+
|--------|------|-----------|-------|-------------|
|
| 24 |
+
| **Web Crawl** | `icc-web.parquet` | ~27K | ~17M | 28 Italian sources: news, tech, science, culture, law, food, sport |
|
| 25 |
+
| **Wikipedia IT** | `wiki-it-clean.parquet` | ~1.35M | ~698M | Cleaned Italian Wikipedia — removed Notes, Bibliography, Voci correlate, stub articles |
|
| 26 |
+
|
| 27 |
+
**Total: 1,377,369 documents, 715,313,213 words (~929M tokens)**
|
| 28 |
+
|
| 29 |
+
## Usage
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
from datasets import load_dataset
|
| 33 |
+
|
| 34 |
+
# Load web crawl subset
|
| 35 |
+
icc = load_dataset("ThingsAI/Italian-Common-Corpus", data_files="data/icc-web.parquet", split="train")
|
| 36 |
+
|
| 37 |
+
# Load Wikipedia subset
|
| 38 |
+
wiki = load_dataset("ThingsAI/Italian-Common-Corpus", data_files="data/wiki-it-clean.parquet", split="train")
|
| 39 |
+
|
| 40 |
+
# Load everything
|
| 41 |
+
full = load_dataset("ThingsAI/Italian-Common-Corpus", split="train")
|
| 42 |
+
|
| 43 |
+
print(icc[0])
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
## Web Crawl Sources
|
| 47 |
+
|
| 48 |
+
| Source | Category | Documents | Quality |
|
| 49 |
+
|--------|----------|-----------|---------|
|
| 50 |
+
| Aranzulla | Tech | ~1.9K | 58.7 |
|
| 51 |
+
| Il Post | News | ~1.2K | 65.3 |
|
| 52 |
+
| Open Online | News | ~1.8K | 74.5 |
|
| 53 |
+
| Wired IT | Tech | ~1.8K | 70.6 |
|
| 54 |
+
| Treccani Magazine | Culture | ~1.9K | 70.4 |
|
| 55 |
+
| Doppiozero | Culture | ~1.2K | 66.7 |
|
| 56 |
+
| Dissapore | Food | ~2.1K | 72.3 |
|
| 57 |
+
| Focus | Science | ~1.8K | 74.9 |
|
| 58 |
+
| ANSA | News | ~1.4K | 72.2 |
|
| 59 |
+
| Il Sole 24 Ore | Economy | ~1.7K | 72.5 |
|
| 60 |
+
| Ubuntu-it Forum | Tech | ~1.4K | 65.5 |
|
| 61 |
+
| + 17 more sources | Various | ... | ... |
|
| 62 |
+
|
| 63 |
+
## Quality Pipeline
|
| 64 |
+
|
| 65 |
+
1. **Async crawling** — 20 parallel workers, rate-limited per domain
|
| 66 |
+
2. **Text extraction** — Trafilatura with precision mode
|
| 67 |
+
3. **Spam detection** — 13 regex patterns + statistical analysis
|
| 68 |
+
4. **Quality scoring** — Lexical richness, sentence structure, punctuation (0-100)
|
| 69 |
+
5. **Deduplication** — MD5 hash + partial content matching
|
| 70 |
+
6. **Wikipedia cleaning** — Section removal (Notes, Bibliography, See also, External links)
|
| 71 |
+
|
| 72 |
+
Only documents scoring ≥50/100 are included.
|
| 73 |
+
|
| 74 |
+
## License
|
| 75 |
+
|
| 76 |
+
CC-BY-4.0
|
| 77 |
+
|
| 78 |
+
## Citation
|
| 79 |
+
|
| 80 |
+
```bibtex
|
| 81 |
+
@dataset{modotai_icc_2026,
|
| 82 |
+
author = {ModotAI},
|
| 83 |
+
title = {Italian-Common-Corpus},
|
| 84 |
+
year = {2026},
|
| 85 |
+
publisher = {HuggingFace},
|
| 86 |
+
url = {https://huggingface.co/datasets/ThingsAI/Italian-Common-Corpus}
|
| 87 |
+
}
|
| 88 |
+
```
|