google-gemini / gemma-cookbook
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
Learn more...
Duplication Overall
system40% (15,155 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ipynb40% (15,155 lines)
Duplication per Component (primary)
Gemma46% (12,253 lines)
PaliGemma20% (1,738 lines)
CodeGemma57% (890 lines)
Workshops44% (248 lines)
TxGemma3% (26 lines)

Duplication Between Components (50+ lines)

G Gemma Gemma PaliGemma PaliGemma Gemma--PaliGemma 8234 Workshops Workshops Gemma--Workshops 5326 TxGemma TxGemma Gemma--TxGemma 854 PaliGemma--Workshops 667 PaliGemma--TxGemma 120 CodeGemma CodeGemma CodeGemma--Gemma 8137 CodeGemma--PaliGemma 1336 CodeGemma--Workshops 500 CodeGemma--TxGemma 78

Download: SVG DOT (open online Graphviz editor)

Open 2D force graph... Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 130,170 duplicates...
Size#FoldersFilesLinesCode
127 x 2 Gemma
Gemma
95:221 (22%)
119:245 (37%)
view
117 x 2 CodeGemma
Gemma
45:161 (23%)
45:161 (18%)
view
88 x 2 Gemma
Gemma
45:132 (14%)
46:133 (11%)
view
86 x 2 Gemma
Gemma
46:131 (9%)
45:130 (13%)
view
86 x 2 CodeGemma
Gemma
45:130 (16%)
46:131 (9%)
view
83 x 2 Gemma
Gemma
182:264 (7%)
155:237 (26%)
view
81 x 2 Gemma
Gemma
158:238 (9%)
166:246 (12%)
view
69 x 2 Gemma
Gemma
60:128 (9%)
60:128 (7%)
view
59 x 2 Gemma
Gemma
45:103 (9%)
45:103 (5%)
view
59 x 2 Gemma
Gemma
46:104 (7%)
45:103 (5%)
view
57 x 2 Gemma
PaliGemma
66:122 (22%)
66:122 (18%)
view
57 x 2 Gemma
Gemma
145:201 (16%)
150:206 (11%)
view
56 x 2 Gemma
Gemma
332:387 (7%)
424:479 (5%)
view
55 x 2 Gemma
Gemma
344:398 (9%)
442:496 (9%)
view
46 x 2 Gemma
Gemma
52:97 (10%)
52:97 (11%)
view
44 x 2 Gemma
Gemma
481:524 (5%)
594:637 (4%)
view
41 x 2 Gemma
Gemma
51:91 (12%)
51:91 (5%)
view
41 x 2 Gemma
Gemma
84:124 (11%)
82:122 (8%)
view
39 x 2 Gemma
Gemma
1:39 (5%)
1:39 (8%)
view
39 x 2 Gemma
Gemma
1:39 (7%)
1:39 (3%)
view
39 x 2 Gemma
Gemma
1:39 (6%)
1:39 (3%)
view
39 x 2 Gemma
Gemma
1:39 (4%)
1:39 (5%)
view
39 x 2 Gemma
Gemma
1:39 (6%)
1:39 (7%)
view
39 x 2 Gemma
Gemma
1:39 (12%)
1:39 (7%)
view
39 x 2 Gemma
Gemma
1:39 (6%)
1:39 (8%)
view
39 x 2 Gemma
Gemma
1:39 (12%)
1:39 (5%)
view
39 x 2 CodeGemma
Gemma
1:39 (7%)
1:39 (5%)
view
39 x 2 Gemma
Gemma
1:39 (7%)
1:39 (11%)
view
39 x 2 Gemma
Gemma
1:39 (6%)
1:39 (12%)
view
39 x 2 Gemma
Gemma
1:39 (4%)
1:39 (5%)
view
39 x 2 CodeGemma
Gemma
1:39 (7%)
1:39 (4%)
view
39 x 2 Gemma
Gemma
1:39 (4%)
1:39 (7%)
view
39 x 2 Gemma
Gemma
1:39 (4%)
1:39 (6%)
view
39 x 2 CodeGemma
Gemma
45:83 (7%)
45:83 (3%)
view
39 x 2 Gemma
Gemma
1:39 (4%)
1:39 (9%)
view
39 x 2 Gemma
Gemma
45:83 (6%)
46:84 (5%)
view
39 x 2 Gemma
Gemma
1:39 (7%)
1:39 (8%)
view
39 x 2 Gemma
Gemma
1:39 (4%)
1:39 (4%)
view
39 x 2 Gemma
Gemma
1:39 (3%)
1:39 (8%)
view
39 x 2 Gemma
Gemma
1:39 (4%)
1:39 (8%)
view
39 x 2 Gemma
Gemma
1:39 (4%)
1:39 (9%)
view
39 x 2 Gemma
Gemma
1:39 (4%)
1:39 (8%)
view
39 x 2 Gemma
Gemma
1:39 (4%)
1:39 (3%)
view
39 x 2 Gemma
Gemma
1:39 (6%)
1:39 (5%)
view
39 x 2 CodeGemma
Gemma
1:39 (7%)
1:39 (4%)
view
39 x 2 Gemma
Gemma
1:39 (5%)
1:39 (9%)
view
39 x 2 Gemma
Gemma
1:39 (7%)
1:39 (6%)
view
39 x 2 Gemma
Gemma
1:39 (9%)
1:39 (6%)
view
39 x 2 Gemma
Gemma
1:39 (12%)
1:39 (9%)
view
39 x 2 Gemma
Gemma
1:39 (6%)
1:39 (8%)
view