huggingface / transformers-research-projects
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
15% | 17% | 12% | 13% | 41%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
py15% | 17% | 12% | 13% | 41%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
movement-pruning24% | 44% | 8% | 4% | 17%
deebert62% | 0% | 18% | 0% | 18%
xtreme-s91% | 0% | 0% | 6% | 2%
luke62% | 0% | 4% | 32% | 0%
quantization-qdqbert42% | 0% | 13% | 14% | 28%
jax-projects18% | 25% | 17% | 4% | 34%
robust-speech-event44% | 39% | 0% | 3% | 11%
tapex29% | 52% | 5% | 6% | 6%
layoutlmv395% | 0% | 0% | 4% | <1%
self-training-text-classification30% | 53% | 10% | 0% | 5%
distillation12% | 23% | 34% | 17% | 12%
mlm_wwm61% | 0% | 4% | 17% | 16%
bert-loses-patience21% | 42% | 17% | 0% | 18%
mm-imdb0% | 69% | 0% | 13% | 17%
wav2vec20% | 36% | 19% | 18% | 25%
bertology0% | 33% | 26% | 29% | 10%
visual_bert0% | 9% | 9% | 15% | 66%
lxmert0% | 9% | 9% | 15% | 66%
rag-end2end-retriever0% | 6% | 16% | 13% | 63%
bertabs0% | 10% | 0% | 18% | 70%
seq2seq-distillation0% | 0% | 16% | 17% | 66%
rag0% | 0% | 15% | 15% | 69%
adversarial0% | 0% | 58% | 0% | 41%
zero-shot-distillation0% | 0% | 69% | 0% | 30%
onnx0% | 0% | 7% | 8% | 83%
performer0% | 0% | 8% | 6% | 84%
codeparrot0% | 0% | 4% | 31% | 64%
longform-qa0% | 0% | 0% | 29% | 70%
information-gain-filtration0% | 0% | 0% | 63% | 36%
fsner0% | 0% | 0% | 58% | 42%
vqgan-clip0% | 0% | 0% | 18% | 81%
token-healing0% | 0% | 0% | 76% | 23%
synthid_text0% | 0% | 0% | 19% | 80%
pplm0% | 0% | 0% | 0% | 100%
decision_transformer0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
367 103 0
256 96 5
265 94 5
311 92 0
382 86 0
308 73 0
255 73 0
274 72 0
189 68 5
283 62 0
169 60 5
168 58 0
142 57 5
290 53 0
151 51 4
291 50 0
418 49 0
253 47 0
296 47 0
328 47 0
140 46 5
176 42 5
162 42 8
350 40 0
220 38 0
193 36 0
227 35 0
87 32 2
112 31 4
187 31 0
200 30 0
137 30 4
137 30 4
90 28 2
60 27 4
159 27 0
86 26 4
97 25 3
49 25 4
71 24 4
79 24 2
78 24 6
46 23 4
78 23 3
90 23 3
46 23 4
103 22 0
13 20 1
72 20 5
110 19 0