huggingface / peft
Duplication

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

Intro
Learn more...
Duplication Overall
system33% (8,064 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
py33% (8,028 lines)
cu41% (36 lines)
Duplication per Component (primary)
src36% (8,052 lines)
method_comparison<1% (12 lines)
ROOT0% (0 lines)
scripts0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 2,028 duplicates...
Size#FoldersFilesLinesCode
81 x 2 src/peft
src/peft
1608:1692 (4%)
2451:2535 (4%)
view
60 x 2 src/peft/tuners/lora
src/peft/tuners/lora
167:241 (15%)
145:220 (37%)
view
50 x 2 src/peft/tuners/lora
src/peft/tuners/lora
26:85 (65%)
27:86 (66%)
view
48 x 2 src/peft/tuners/lora
src/peft/tuners/lora
167:227 (12%)
420:480 (12%)
view
48 x 2 src/peft/tuners/lora
src/peft/tuners/lora
420:480 (12%)
145:205 (29%)
view
44 x 2 src/peft/tuners/bone
src/peft/tuners/hra
245:301 (23%)
250:306 (22%)
view
39 x 2 src/peft/tuners/lora
src/peft/tuners/lora
34:93 (10%)
289:348 (10%)
view
39 x 2 src/peft/tuners/vera
src/peft/tuners/vera
33:76 (14%)
247:290 (14%)
view
37 x 2 src/peft/tuners/randlora
src/peft/tuners/randlora
137:225 (14%)
354:425 (14%)
view
36 x 2 src/peft/tuners/lora
src/peft/tuners/oft
499:538 (6%)
346:385 (14%)
view
36 x 2 src/peft/tuners/randlora
src/peft/tuners/vera
420:463 (10%)
358:401 (11%)
view
35 x 2 src/peft/tuners/boft
src/peft/tuners/randlora
210:252 (16%)
421:463 (10%)
view
35 x 2 src/peft/tuners/boft
src/peft/tuners/vera
210:252 (16%)
359:401 (11%)
view
35 x 2 src/peft/tuners/bone
src/peft/tuners/hra
201:243 (18%)
206:248 (18%)
view
34 x 2 src/peft/tuners/hra
src/peft/tuners/hra
205:244 (10%)
377:416 (10%)
view
34 x 2 src/peft/tuners/fourierft
src/peft/tuners/vblora
204:257 (16%)
237:299 (12%)
view
34 x 2 src/peft/tuners/randlora
src/peft/tuners/randlora
33:83 (13%)
261:310 (13%)
view
32 x 2 src/peft/tuners/bone
src/peft/tuners/hra
138:181 (17%)
140:183 (16%)
view
32 x 2 src/peft/tuners/boft
src/peft/tuners/bone
138:181 (14%)
138:181 (17%)
view
32 x 2 src/peft/tuners/boft
src/peft/tuners/hra
138:181 (14%)
140:183 (16%)
view
31 x 2 src/peft/tuners/lora
src/peft/tuners/oft
246:285 (5%)
180:219 (12%)
view
31 x 2 src/peft/tuners/ia3
src/peft/tuners/ia3
28:64 (39%)
80:116 (39%)
view
30 x 2 src/peft/tuners/xlora
src/peft/tuners/xlora
89:129 (22%)
182:223 (22%)
view
30 x 2 src/peft/utils
src/peft/utils
94:123 (10%)
220:249 (10%)
view
30 x 2 src/peft/tuners/loha
src/peft/tuners/lokr
257:291 (12%)
323:357 (10%)
view
30 x 2 src/peft/tuners/vera
src/peft/tuners/vera
127:202 (11%)
333:371 (11%)
view
29 x 2 src/peft/tuners/lora
src/peft/tuners/lora
228:260 (7%)
488:520 (7%)
view
28 x 2 src/peft/tuners/bone
src/peft/tuners/randlora
211:243 (14%)
431:463 (8%)
view
28 x 2 src/peft/tuners/hra
src/peft/tuners/vera
216:248 (14%)
369:401 (9%)
view
28 x 2 src/peft/tuners/bone
src/peft/tuners/vera
211:243 (14%)
369:401 (9%)
view
28 x 2 src/peft/tuners/boft
src/peft/tuners/bone
220:252 (12%)
211:243 (14%)
view
28 x 2 src/peft/tuners/hra
src/peft/tuners/randlora
216:248 (14%)
431:463 (8%)
view
28 x 2 src/peft/tuners/boft
src/peft/tuners/hra
220:252 (12%)
216:248 (14%)
view
27 x 2 src/peft/tuners/vera
src/peft/tuners/vera
203:241 (10%)
373:411 (10%)
view
27 x 2 src/peft/tuners/oft
src/peft/tuners/oft
44:86 (10%)
223:265 (10%)
view
26 x 2 src/peft/tuners/oft
src/peft/tuners/oft
152:183 (10%)
328:366 (10%)
view
26 x 2 src/peft/tuners/boft
src/peft/tuners/oft
260:287 (11%)
346:373 (10%)
view
26 x 2 src/peft/tuners/boft
src/peft/tuners/boft
570:600 (4%)
895:925 (4%)
view
26 x 2 src/peft/tuners/boft
src/peft/tuners/lora
260:287 (11%)
499:526 (4%)
view
25 x 2 src/peft
src/peft
1555:1605 (1%)
2397:2447 (1%)
view
25 x 2 src/peft/tuners/lora
src/peft/tuners/lora
302:346 (6%)
50:94 (15%)
view
25 x 2 src/peft/tuners/lora
src/peft/tuners/lora
47:91 (6%)
50:94 (15%)
view
24 x 2 src/peft/tuners/oft
src/peft/tuners/oft
33:57 (9%)
33:57 (21%)
view
24 x 2 src/peft/tuners/lora
src/peft/tuners/lora
678:716 (1%)
1209:1247 (1%)
view
23 x 2 src/peft/tuners/randlora
src/peft/tuners/vera
104:138 (6%)
104:138 (7%)
view
23 x 2 src/peft/tuners/fourierft
src/peft/tuners/vblora
272:298 (10%)
314:341 (8%)
view
23 x 2 src/peft/tuners/hra
src/peft/tuners/trainable_tokens
142:173 (11%)
152:183 (14%)
view
23 x 2 src/peft/tuners/boft
src/peft/tuners/trainable_tokens
140:171 (10%)
152:183 (14%)
view
23 x 2 src/peft
src/peft/tuners
135:157 (12%)
54:76 (35%)
view
23 x 2 src/peft/tuners/randlora
src/peft/tuners/randlora
364:408 (8%)
270:317 (10%)
view
Duplicated Units
The list of top 3 duplicated units.
See data for all 3 unit duplicates...
Size#FoldersFilesLinesCode
19 x 2 src/peft/tuners/lora
src/peft/tuners/lora
0:0 
0:0 
view
21 x 3 src/peft/tuners/hra
src/peft/tuners/trainable_tokens
src/peft/tuners/bone
0:0 
0:0 
0:0 
view
6 x 3 src/peft/tuners/vera
src/peft/tuners/ia3
src/peft/tuners/randlora
0:0 
0:0 
0:0 
view