davanstrien HF Staff commited on
Commit
d192c3a
·
verified ·
1 Parent(s): af7ab65

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +93 -43
README.md CHANGED
@@ -1,46 +1,96 @@
1
  ---
2
- dataset_info:
3
- - config_name: global_stats
4
- features:
5
- - name: total_docs
6
- dtype: int64
7
- - name: total_tokens
8
- dtype: int64
9
- - name: avg_edu_score
10
- dtype: float64
11
- - name: high_edu_rate
12
- dtype: float64
13
- - name: num_dumps
14
- dtype: int64
15
- splits:
16
- - name: train
17
- num_bytes: 40
18
- num_examples: 1
19
- download_size: 2669
20
- dataset_size: 40
21
- - config_name: temporal_stats
22
- features:
23
- - name: dump
24
- dtype: large_string
25
- - name: doc_count
26
- dtype: uint32
27
- - name: avg_edu_score
28
- dtype: float64
29
- - name: high_edu_rate
30
- dtype: float64
31
- splits:
32
- - name: train
33
- num_bytes: 4558
34
- num_examples: 106
35
- download_size: 5336
36
- dataset_size: 4558
37
  configs:
38
- - config_name: global_stats
39
- data_files:
40
- - split: train
41
- path: global_stats/train-*
42
- - config_name: temporal_stats
43
- data_files:
44
- - split: train
45
- path: temporal_stats/train-*
46
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - uv-script
4
+ - statistics
5
+ - polars
6
+ - finepdfs-edu
7
+ - temporal-analysis
8
+ license: odc-by
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  configs:
10
+ - config_name: global_stats
11
+ data_files: global_stats/train-*.parquet
12
+ - config_name: temporal_stats
13
+ data_files: temporal_stats/train-*.parquet
14
+ default_viewer_config: temporal_stats
 
 
 
15
  ---
16
+
17
+ # Is the Web Getting More Educational?
18
+
19
+ Temporal analysis of educational quality in **German (Latin script)** across 106 CommonCrawl dumps.
20
+
21
+ ## Trend
22
+
23
+ ```
24
+ High Educational Content (edu >= 3)
25
+ ###############################################################
26
+ ██████████████████████████████████ 9.9% 2013
27
+ ████████████████████ 6.0% 2014
28
+ ██████████ 3.0% 2015
29
+ ████████████████████████████████████████████ 12.9% 2016
30
+ ████████████████████████████████████████ 11.9% 2017
31
+ ██████████████████████████████████████ 11.2% 2018
32
+ ██████████████████████████████████████ 11.2% 2019
33
+ ████████████████████████████████████████████ 12.9% 2020
34
+ █████████████████████████████████████████████████ 14.3% 2021
35
+ ███████████████████████████████████████████████ 13.8% 2022
36
+ ██████████████████████████████████████████████ 13.3% 2023
37
+ ███████████████████████████████████████████████ 13.8% 2024
38
+ ██████████████████████████████████████████████████ 14.5% 2025
39
+
40
+ Average Educational Score
41
+ ##############################################################
42
+ ███████████████████████████████████████████████ 1.96 2013
43
+ ████████████████████████████████████████████ 1.83 2014
44
+ █████████████████████████████████████████ 1.71 2015
45
+ ████████████████████████████████████████████████ 2.04 2016
46
+ ████████████████████████████████████████████████ 2.03 2017
47
+ ████████████████████████████████████████████████ 2.01 2018
48
+ ████████████████████████████████████████████████ 2.01 2019
49
+ █████████████████████████████████████████████████ 2.05 2020
50
+ ██████████████████████████████████████████████████ 2.08 2021
51
+ █████████████████████████████████████████████████ 2.07 2022
52
+ ███████████████████████��█████████████████████████ 2.05 2023
53
+ █████████████████████████████████████████████████ 2.06 2024
54
+ █████████████████████████████████████████████████ 2.07 2025
55
+ ```
56
+
57
+ ## Key Finding
58
+
59
+ | Year | Avg Edu Score | High Edu Rate |
60
+ |------|---------------|---------------|
61
+ | 2013 | 1.96 | 9.9% |
62
+ | 2025 | 2.07 | 14.5% |
63
+
64
+ ## Performance
65
+
66
+ - **3,844,508 documents** processed in **118 seconds**
67
+ - **32,659 docs/sec** using Polars streaming
68
+ - Single scan, no full dataset download required
69
+
70
+ ## Summary
71
+
72
+ | Metric | Value |
73
+ |--------|-------|
74
+ | Scope | German (Latin script) |
75
+ | Total Documents | 3,844,508 |
76
+ | Total Tokens | 20,308,107,262 |
77
+ | Avg Edu Score | 2.050 |
78
+ | High Edu Rate | 13.1% |
79
+ | CommonCrawl Dumps | 106 |
80
+
81
+ ## Files
82
+
83
+ - `global_stats` - Overall summary
84
+ - `temporal_stats` - Per-dump breakdown (sorted chronologically)
85
+
86
+ ## Reproduce
87
+
88
+ ```bash
89
+ uv run https://huggingface.co/datasets/uv-scripts/dataset-stats/raw/main/finepdfs-stats.py \
90
+ --lang deu_Latn --output-repo your-username/stats
91
+ ```
92
+
93
+ ## Source
94
+
95
+ - **Dataset**: [HuggingFaceFW/finepdfs-edu](https://huggingface.co/datasets/HuggingFaceFW/finepdfs-edu)
96
+ - **Script**: [uv-scripts/dataset-stats](https://huggingface.co/datasets/uv-scripts/dataset-stats)