Instructions to use Evoliq/Unflatten-W-Dense-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Evoliq/Unflatten-W-Dense-1.0 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Evoliq/Unflatten-W-Dense-1.0", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Unflatten W Dense · 1.0
Documents come alive.
From pages to possibilities.
Document reconstruction by EVOLIQ s.r.o.
Inference tool · Evaluation · License · Commercial enquiries
From a page image to editable Word
Unflatten W Dense 1.0 reconstructs document content and logical structure
from a page image. Its document representation carries native Word properties,
including paragraphs, text runs, tables and image placement. The Unflatten
runtime converts that representation into an editable .docx using a
deterministic renderer.
Page image → Unflatten W Dense → structured document → Unflatten renderer → editable Word
This is the Dense member of the Unflatten W family. This release uses the owner-selected reinforcement-learning checkpoint 48, continuing from the S4 parent at step 170,000. It is a single-page research candidate; model outputs require review, and reconstruction accuracy varies across documents.
Inference tool
Run this model with the public Unflatten W inference application. The application downloads and verifies the pinned Unflatten W Dense 1.0 BF16 bundle, loads it on an NVIDIA CUDA GPU and converts PDFs and images into editable Word documents locally. It includes a browser interface, a headless API and Swagger UI. See the application setup guide and API guide.
After starting the application locally, open Swagger UI or OpenAPI JSON. API requests use a Bearer token separate from the application's web password and Hugging Face download token.
The model uses Unflatten's custom decoding and rendering runtime. Generic chat applications and the standard Transformers text-generation pipeline do not implement this reconstruction workflow. This release provides downloadable weights and local inference; no hosted inference service is included.
The pinned runtime source is included in unflatten-runtime.tar.gz for
reproducibility and developer use. See INFERENCE.md for the
tested environment and the advanced local-loading example.
What is included
| Component | Purpose |
|---|---|
unflatten_heads.safetensors |
Trained Unflatten weights, without optimizer state |
backbone/ |
Exact frozen Qwen3-VL-4B-Instruct backbone, tokenizer and image processor |
config.json and custom Python loading files |
Hugging Face AutoModel integration with trust_remote_code=True |
unflatten-runtime.tar.gz |
Pinned Unflatten runtime source and vendored rendering schemas |
| Vocabulary, capability and decoding files | Reproduce the selected model's constrained decoding |
manifest.json, ancestry and release-recipe.json |
File integrity, provenance and checkpoint identity |
The package includes the backbone for offline loading. Training documents,
validation page images, credentials, optimizer state and training RNG state
are not included. checkpoint.weights.pt is a derived inference checkpoint
used for runtime verification; training weights are unchanged.
Architecture
The frozen Qwen3-VL-4B-Instruct visual/language backbone is combined with
Unflatten's trained document-reconstruction modules and typed property heads.
Decoding is constrained by a composite document grammar. The selected model
uses visual features from pooler_output and DeepStack layers 5, 11 and 17.
Only the deterministic Unflatten renderer writes OOXML and .docx files.
The backbone revision is pinned to
ebb281ec70b05090aa6165b016eac8ec08e71b17.
The supporting source snapshot is
2c3c06f68de53b335f6c17409d832dc386226c3a.
Evaluation
The owner selected RL48 following a diagnostic comparison on the same 100 fixed validation pages, with the same decoding setup. These are validation results, not an independent test-set or production-quality claim.
| Diagnostic measure | S4 parent | Dense 1.0 |
|---|---|---|
| Pages passing the configured text-tolerance test | 89 / 100 | 90 / 100 |
| Exact text matches | 9 / 100 | 9 / 100 |
| Diagnostic Word files produced | 98 / 100 | 99 / 100 |
| Character error rate, raw aggregate | 13.8698% | 13.8949% |
| Word error rate | 7.9568% | 8.1013% |
The results are mixed: RL48 produced one additional diagnostic Word file and one additional text-tolerance pass, while aggregate text errors were slightly higher than the parent. Word-file production measures successful diagnostic output, not visual fidelity. Errors in text, reading order, typography, tables and image placement remain possible.
The formal RL stage gate has not passed because the required SFT
continuation comparison arm is absent. Selection of RL48 is the project
owner's release decision; product_quality_claim remains false.
Input and limitations
- One raster page per model call; evaluation used document pages rendered at 300 DPI.
- Multipage PDF conversion requires orchestration by the inference tool.
- Unflatten's custom runtime is required in addition to Transformers.
- CUDA inference was verified on DGX Spark; other platforms require their own validation.
- Review the generated document before relying on its text or layout.
Training used an internal document corpus covered by the project's recorded distribution approval. Source documents are not distributed with this model.
License
EVOLIQ s.r.o. — free personal use; paid commercial license required.
EVOLIQ's original Unflatten contributions are provided under the EVOLIQ Personal Use and Commercial License 1.0. Private, non-commercial use by an individual is free. Business use, internal organizational use, professional/client work, product integration and hosted services require a separate paid written commercial agreement with EVOLIQ s.r.o. before use. Pricing and scope are agreed separately.
For commercial licensing, use the contact form at www.evoliq.cz/sk.
The unmodified Qwen backbone retains Apache License 2.0. The EVOLIQ license does not replace the independent rights in that third-party material. See NOTICE and the licenses in the runtime source archive.
Release identity
Model: Unflatten W Dense 1.0
Publisher / licensor: EVOLIQ s.r.o.
Selected RL step: 48
Source checkpoint SHA-256:
7c21ed21fcc31327b275e7704c0231371cde7d5424806efc4b41b2280306340a
The model is available at Evoliq/Unflatten-W-Dense-1.0; the local inference application is available at EvoliqCZ/UnflattenW_Inference_tool-.
Slovensky: Unflatten W Dense 1.0 od EVOLIQ s.r.o. rekonštruuje z obrázka strany editovateľný Word pomocou vlastného runtime a renderera. Osobné nekomerčné použitie je zadarmo; komerčné a firemné použitie vyžaduje platenú licenčnú dohodu. Inferenčná aplikácia spracúva PDF a obrázky lokálne a obsahuje webové rozhranie, API a Swagger UI pre model Dense 1.0 BF16.
- Downloads last month
- 32
Model tree for Evoliq/Unflatten-W-Dense-1.0
Base model
Qwen/Qwen3-VL-4B-Instruct