File size: 1,997 Bytes
052751c
5b99c67
 
 
 
 
 
 
 
 
 
 
 
052751c
5b99c67
 
 
 
 
 
 
 
 
7479b6f
5b99c67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
language:
  - it
license: cc-by-4.0
task_categories:
  - text-generation
tags:
  - italian
  - modotai
  - pretraining
  - corpus
size_categories:
  - 1M<n<10M
---

# Italian-Common-Corpus

The Italian dataset with the highest density of useful information per token. Built by [ModotAI](https://things-ai.org) for training Italian language models.

## Subsets

| Subset | File | Documents | Words | Description |
|--------|------|-----------|-------|-------------|
| **Web Crawl** | `icc-web.parquet` | ~27K | ~17M | Italian sources: news, tech, science, culture, law, food, sport |
| **Wikipedia IT** | `wiki-it-clean.parquet` | ~1.35M | ~698M | Cleaned Italian Wikipedia — removed Notes, Bibliography, Voci correlate, stub articles |

**Total: 1,377,369 documents, 715,313,213 words (~929M tokens)**

## Usage

```python
from datasets import load_dataset

# Load web crawl subset
icc = load_dataset("ThingsAI/Italian-Common-Corpus", data_files="data/icc-web.parquet", split="train")

# Load Wikipedia subset
wiki = load_dataset("ThingsAI/Italian-Common-Corpus", data_files="data/wiki-it-clean.parquet", split="train")

# Load everything
full = load_dataset("ThingsAI/Italian-Common-Corpus", split="train")

print(icc[0])
```


## Quality Pipeline

1. **Async crawling** — 20 parallel workers, rate-limited per domain
2. **Text extraction** — Trafilatura with precision mode
3. **Spam detection** — 13 regex patterns + statistical analysis
4. **Quality scoring** — Lexical richness, sentence structure, punctuation (0-100)
5. **Deduplication** — MD5 hash + partial content matching
6. **Wikipedia cleaning** — Section removal (Notes, Bibliography, See also, External links)

Only documents scoring ≥50/100 are included.

## License

CC-BY-4.0

## Citation

```bibtex
@dataset{modotai_icc_2026,
  author = {ModotAI},
  title = {Italian-Common-Corpus},
  year = {2026},
  publisher = {HuggingFace},
  url = {https://huggingface.co/datasets/ThingsAI/Italian-Common-Corpus}
}
```