huggingface / llm_training_handbook
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
0% | 0% | 17% | 46% | 36%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py0% | 0% | 17% | 46% | 36%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
debug0% | 0% | 24% | 37% | 38%
throughput0% | 0% | 0% | 69% | 30%
Alternative Visuals
Longest Units
Top 15 longest units
Unit# linesMcCabe index# params
22 8 4
19 10 5
15 5 4
14 3 2
11 3 1
7 1 2
7 1 2
7 1 1
5 3 2
4 2 2
4 1 0
4 1 3
3 1 2
3 2 1
2 1 2