Skip to content
WebAI

Code

Complete, explain and refactor code

A code LLM generates or rewrites snippets according to an instruction, across languages and task types.

Switch model · 3 Available models · 3 of them ship real browser weightsSamples are shared within a subcategory — switching models keeps your input intact.

Input

SamplesSamples are editable — once you change them they count as custom input.
Parameters

Output

CodeLlama 7B
No result yetPick a sample or edit the input, then hit “Run inference”.

Model info

CodeLlama 7B

Meta CodeLlama — code completion and infill in the browser.

Framework: WebLLMSize: ~3.5 GB · q4f16_1License: Custom
All models
Notes

Computed for real in the browser (canvas pixel ops / STFT spectral processing / vector retrieval).

Switching models only changes weight size, device and backend metadata; samples are shared across every model in the subcategory.

Marked entries really download and load weights on switch (slow the first time, cached afterwards). Unmarked ones ship no browser weights: instant output, nothing downloaded.