huggingface / transformers.js-examples
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 37% | 25% | 37%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
jsx0% | 0% | 60% | 15% | 23%
js0% | 0% | 16% | 38% | 45%
css0% | 0% | 0% | 41% | 58%
html0% | 0% | 0% | 18% | 81%
svelte0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
janus-pro-webgpu0% | 0% | 61% | 0% | 38%
janus-webgpu0% | 0% | 61% | 0% | 38%
conversational-webgpu0% | 0% | 74% | 0% | 25%
attention-visualization0% | 0% | 73% | 16% | 10%
smolvlm-webgpu0% | 0% | 45% | 22% | 32%
qwen3-webgpu0% | 0% | 40% | 35% | 24%
phi-3.5-webgpu0% | 0% | 42% | 24% | 32%
gemma-2-2b-jpn-webgpu0% | 0% | 41% | 26% | 32%
llama-3.2-webgpu0% | 0% | 41% | 25% | 32%
llama-3.2-reasoning-webgpu0% | 0% | 39% | 37% | 23%
zyphra-zr1-webgpu0% | 0% | 39% | 36% | 23%
deepseek-r1-webgpu0% | 0% | 39% | 36% | 23%
tinyswallow-webgpu0% | 0% | 42% | 25% | 31%
smollm-webgpu0% | 0% | 42% | 24% | 33%
remove-background-webgpu0% | 0% | 78% | 0% | 21%
realtime-whisper-webgpu0% | 0% | 43% | 36% | 20%
code-completion0% | 0% | 65% | 0% | 34%
musicgen-web0% | 0% | 69% | 0% | 30%
moonshine-web0% | 0% | 32% | 35% | 31%
webgpu-embedding-benchmark0% | 0% | 56% | 24% | 18%
florence2-webgpu0% | 0% | 45% | 20% | 34%
the-tokenizer-playground0% | 0% | 54% | 0% | 45%
whisper-word-timestamps0% | 0% | 28% | 39% | 31%
segment-anything-webgpu0% | 0% | 56% | 27% | 16%
adaptive-retrieval0% | 0% | 0% | 70% | 29%
zero-shot-classification0% | 0% | 0% | 66% | 33%
text-to-speech-webgpu0% | 0% | 0% | 45% | 54%
speecht5-web0% | 0% | 0% | 41% | 58%
webgpu-nomic-embed0% | 0% | 0% | 53% | 46%
webgpu-clip0% | 0% | 0% | 53% | 46%
cross-encoder0% | 0% | 0% | 55% | 44%
video-object-detection0% | 0% | 0% | 46% | 53%
pglite-semantic-search0% | 0% | 0% | 49% | 50%
semantic-audio-search0% | 0% | 0% | 34% | 65%
depth-estimation-video0% | 0% | 0% | 46% | 53%
depth-anything0% | 0% | 0% | 49% | 50%
next-client0% | 0% | 0% | 49% | 50%
next-server0% | 0% | 0% | 49% | 50%
semantic-image-search-web0% | 0% | 0% | 18% | 81%
sveltekit0% | 0% | 0% | 0% | 100%
video-background-removal0% | 0% | 0% | 0% | 100%
remove-background-web0% | 0% | 0% | 0% | 100%
omniparser-node0% | 0% | 0% | 0% | 100%
vanilla-js0% | 0% | 0% | 0% | 100%
browser-extension0% | 0% | 0% | 0% | 100%
sapiens-node0% | 0% | 0% | 0% | 100%
whisper-node0% | 0% | 0% | 0% | 100%
depth-pro-node0% | 0% | 0% | 0% | 100%
node-audio-processing0% | 0% | 0% | 0% | 100%
deno-embed0% | 0% | 0% | 0% | 100%
llama-3.2-node0% | 0% | 0% | 0% | 100%
bun0% | 0% | 0% | 0% | 100%
node-cjs0% | 0% | 0% | 0% | 100%
node-esm0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
App.jsx
in attention-visualization/src
500 -
App.jsx
in janus-pro-webgpu/src
471 -
App.jsx
in janus-webgpu/src
470 -
App.jsx
in smolvlm-webgpu/src
458 -
App.jsx
in qwen3-webgpu/src
391 -
App.jsx
in phi-3.5-webgpu/src
367 -
App.jsx
in llama-3.2-webgpu/src
366 -
App.jsx
in gemma-2-2b-jpn-webgpu/src
366 -
App.jsx
in llama-3.2-reasoning-webgpu/src
365 -
App.jsx
in zyphra-zr1-webgpu/src
365 -
App.jsx
in deepseek-r1-webgpu/src
365 -
App.jsx
in tinyswallow-webgpu/src
364 -
App.jsx
in smollm-webgpu/src
360 -
App.jsx
in conversational-webgpu/src
342 -
App.jsx
in remove-background-webgpu/src
294 -
App.jsx
in realtime-whisper-webgpu/src
285 -
App.jsx
in code-completion/src
268 -
worker.js
in conversational-webgpu/src
262 4
App.jsx
in musicgen-web/src
255 -
App.jsx
in moonshine-web/src
251 -
main.js
in webgpu-embedding-benchmark
248 -
App.jsx
in florence2-webgpu/src
244 -
App.jsx
in the-tokenizer-playground/src
229 -
App.jsx
in whisper-word-timestamps/src
225 -
worker.js
in janus-webgpu/src
220 7
worker.js
in janus-pro-webgpu/src
220 7
index.js
in segment-anything-webgpu
209 6
MediaInput.jsx
in whisper-word-timestamps/src/components
192 -
App.jsx
in adaptive-retrieval/src
184 -
App.jsx
in zero-shot-classification/src
183 -
App.jsx
in text-to-speech-webgpu/src
176 -
App.jsx
in speecht5-web/src
168 -
worker.js
in moonshine-web/src
157 1
main.js
in webgpu-nomic-embed
143 1
main.js
in webgpu-clip
142 2
App.jsx
in cross-encoder/src
133 -
LanguageSelector.jsx
in realtime-whisper-webgpu/src/components
131 -
main.js
in video-object-detection
131 3
worker.js
in llama-3.2-reasoning-webgpu/src
128 4
LanguageSelector.jsx
in whisper-word-timestamps/src/components
128 -
worker.js
in gemma-2-2b-jpn-webgpu/src
127 4
App.jsx
in pglite-semantic-search/src
126 -
worker.js
in qwen3-webgpu/src
126 4
worker.js
in llama-3.2-webgpu/src
126 4
worker.js
in smolvlm-webgpu/src
124 4
worker.js
in zyphra-zr1-webgpu/src
120 4
worker.js
in deepseek-r1-webgpu/src
120 4
index.js
in semantic-audio-search
116 -
main.js
in depth-estimation-video
116 3
Chat.jsx
in qwen3-webgpu/src/components
115 -
Files With Most Units (Top 50)
File# lines# units
worker.js
in janus-webgpu/src
220 7
worker.js
in janus-pro-webgpu/src
220 7
index.js
in segment-anything-webgpu
209 6
utils.js
in semantic-image-search-web/src
68 5
worker.js
in florence2-webgpu/src
109 4
worker.js
in llama-3.2-reasoning-webgpu/src
128 4
detector.js
in omniparser-node
75 4
worker.js
in zyphra-zr1-webgpu/src
120 4
worker.js
in deepseek-r1-webgpu/src
120 4
worker.js
in smollm-webgpu/src
109 4
worker.js
in tinyswallow-webgpu/src
114 4
worker.js
in qwen3-webgpu/src
126 4
worker.js
in llama-3.2-webgpu/src
126 4
worker.js
in conversational-webgpu/src
262 4
worker.js
in smolvlm-webgpu/src
124 4
worker.js
in phi-3.5-webgpu/src
111 4
worker.js
in gemma-2-2b-jpn-webgpu/src
127 4
index.js
in vanilla-js
54 3
captioning.js
in omniparser-node
41 3
main.js
in depth-estimation-video
116 3
worker.js
in realtime-whisper-webgpu/src
105 3
worker.js
in whisper-word-timestamps/src
68 3
play-worklet.js
in conversational-webgpu/src
62 3
main.js
in video-object-detection
131 3
utils.js
in musicgen-web/src
42 3
worker.js
in semantic-image-search-web/src
80 2
utils.js
in moonshine-web/src
21 2
utils.js
in speecht5-web/src
28 2
worker.js
in speecht5-web/src
80 2
main.js
in video-background-removal
95 2
utils.js
in semantic-audio-search
33 2
worker.js
in semantic-audio-search
69 2
main.js
in depth-anything
113 2
main.js
in webgpu-clip
142 2
vite.config.js
in text-to-speech-webgpu
9 1
vite.config.js
in remove-background-webgpu
5 1
worker.js
in attention-visualization/src
111 1
vite.config.js
in attention-visualization
8 1
vite.config.js
in semantic-image-search-web
6 1
worker.js
in moonshine-web/src
157 1
processor.js
in moonshine-web/src
26 1
vite.config.js
in moonshine-web
8 1
main.js
in remove-background-web
70 1
vite.config.js
in remove-background-web
6 1
vite.config.js
in speecht5-web
6 1
vite.config.js
in florence2-webgpu
6 1
background.js
in browser-extension/src
54 1
vite.config.js
in video-background-removal
6 1
vite.config.js
in llama-3.2-reasoning-webgpu
6 1
main.js
in webgpu-nomic-embed
143 1
Files With Long Lines (Top 50)

There are 80 files with lines longer than 120 characters. In total, there are 246 long lines.

File# lines# units# long lines
App.jsx
in zero-shot-classification/src
183 - 10
App.jsx
in janus-webgpu/src
470 - 10
App.jsx
in janus-pro-webgpu/src
471 - 10
App.jsx
in remove-background-webgpu/src
294 - 9
App.jsx
in qwen3-webgpu/src
391 - 9
App.jsx
in smolvlm-webgpu/src
458 - 9
App.jsx
in llama-3.2-reasoning-webgpu/src
365 - 8
App.jsx
in zyphra-zr1-webgpu/src
365 - 8
App.jsx
in deepseek-r1-webgpu/src
365 - 8
App.jsx
in tinyswallow-webgpu/src
364 - 8
App.jsx
in moonshine-web/src
251 - 7
App.jsx
in smollm-webgpu/src
360 - 7
App.jsx
in cross-encoder/src
133 - 7
App.jsx
in llama-3.2-webgpu/src
366 - 7
App.jsx
in phi-3.5-webgpu/src
367 - 7
App.jsx
in gemma-2-2b-jpn-webgpu/src
366 - 7
App.jsx
in text-to-speech-webgpu/src
176 - 6
Modal.jsx
in semantic-image-search-web/src/components
103 - 5
App.jsx
in florence2-webgpu/src
244 - 4
App.jsx
in the-tokenizer-playground/src
229 - 4
page.js
in next-client/app
111 1 4
page.js
in next-server/app
111 1 4
App.jsx
in attention-visualization/src
500 - 3
Chat.jsx
in llama-3.2-reasoning-webgpu/src/components
112 - 3
Chat.jsx
in zyphra-zr1-webgpu/src/components
112 - 3
Chat.jsx
in deepseek-r1-webgpu/src/components
112 - 3
App.jsx
in realtime-whisper-webgpu/src
285 - 3
Chat.jsx
in qwen3-webgpu/src/components
115 - 3
Transcript.jsx
in whisper-word-timestamps/src/components
79 - 3
App.jsx
in whisper-word-timestamps/src
225 - 3
App.jsx
in musicgen-web/src
255 - 3
SearchBar.jsx
in semantic-image-search-web/src/components
46 - 2
Chat.jsx
in smollm-webgpu/src/components
61 - 2
App.jsx
in code-completion/src
268 - 2
Chat.jsx
in tinyswallow-webgpu/src/components
73 - 2
Chat.jsx
in llama-3.2-webgpu/src/components
61 - 2
App.jsx
in conversational-webgpu/src
342 - 2
Chat.jsx
in smolvlm-webgpu/src/components
75 - 2
Chat.jsx
in janus-webgpu/src/components
72 - 2
Chat.jsx
in phi-3.5-webgpu/src/components
61 - 2
Chat.jsx
in gemma-2-2b-jpn-webgpu/src/components
61 - 2
svelte
+page.svelte
in sveltekit/src/routes
90 - 2
Chat.jsx
in janus-pro-webgpu/src/components
72 - 2
index.css
in semantic-image-search-web/src
19 - 1
ImageGrid.jsx
in semantic-image-search-web/src/components
30 - 1
index.html
in remove-background-web
45 - 1
main.js
in remove-background-web
70 1 1
App.jsx
in speecht5-web/src
168 - 1
ImageInput.jsx
in florence2-webgpu/src/components
73 - 1
StopIcon.jsx
in llama-3.2-reasoning-webgpu/src/components/icons
22 - 1