Skip to content
WebAI

Transformers.js · Model

SmolDocling 256M

Turns a full page image straight into structured text, keeping tables and formulas as markup. Fine-tuned from SmolVLM-256M with the same three-graph ONNX layout. CDLA-Permissive-2.0.

Upstream browser example

Catalog comparison

Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.

Catalog comparison
EntryEntry typeFrameworkResourcesLicenseBrowser evidenceLinks

SmolDocling 256M

Turns a full page image straight into structured text, keeping tables and formulas as markup. Fine-tuned from SmolVLM-256M with the same three-graph ONNX layout. CDLA-Permissive-2.0.

Tasks: Document Understanding

ModelTransformers.js

q4: 252.0 MiB

fp32: 981.2 MiB

Code license: Custom

Weight license: Custom

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
docling-project/SmolDocling-256M-preview
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Document to structured text, Table and formula markup
Package
Not verified
Runtime version
@huggingface/transformers@4.3.1
Execution backend
webgpu, wasm
Code license
Custom
Weight license
Custom

Deployment variants

q4
Download size: 252.0 MiB
Peak runtime memory: Not measured
Quantization / precision: q4
Weight revision: Not verified
fp32
Download size: 981.2 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: Not verified

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Running SmolDocling 256M in the browser

SmolDocling 256M sits under Multimodal / Document Understanding and is listed as a Model running on Transformers.js. Its verified weight size is 252 MiB. The evidence is an upstream browser example; this site has not tested it yet.

The typical way to load weights like these is to serve quantised ONNX from a CDN or your own origin, run them through the in-page runtime, and fall back to WebAssembly when WebGPU is unavailable. Code licence: Custom; weight licence: Custom — check the original repository before commercial use.

SmolDocling 256M: common questions

Can SmolDocling 256M be used commercially?
This catalogue records “Custom / Custom”. Terms come from the model repository; the label here only reflects what was checked. If no licence is stated, do not ship it commercially.
How large are SmolDocling 256M weights?
The recorded size is 252 MiB. Quantisation variants differ a lot, so prefer the int8 or 4-bit build for the browser.
How do I call SmolDocling 256M from a project?
Most entries load through Transformers.js: host the weights somewhere the browser can fetch, initialise the runtime on the page, then submit text, image or audio for the task. The exact API lives in the model repository and the runtime docs.
Does running a model here upload my data?
The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.

Document Understanding