Run vision encoder
→ image embeddings
[1, 2200, 1024]
Build input tokens
using the chat template with 2200
[IMG]
placeholders (token id
151655
)
Scatter
vision embeddings into the
[IMG]
positions in the token embedding space
Prefill
the text decoder with the full combined sequence (2260 tokens)
Decode
autoregressively until EOS token (
151645
) or max length
Token Template
<|im_start|>user\n[IMG][IMG]...(2200 total)...[VPAD]...(39 row separators)...[IMG_END]
OCR this document. Extract all text.<|im_end|>\n<|im_start|>assistant\n
LightOnOCR-2-1B-ExecuTorch huggingface.co is an AI model on huggingface.co that provides LightOnOCR-2-1B-ExecuTorch's model effect (), which can be used instantly with this acul3 LightOnOCR-2-1B-ExecuTorch model. huggingface.co supports a free trial of the LightOnOCR-2-1B-ExecuTorch model, and also provides paid use of the LightOnOCR-2-1B-ExecuTorch. Support call LightOnOCR-2-1B-ExecuTorch model through api, including Node.js, Python, http.
LightOnOCR-2-1B-ExecuTorch huggingface.co is an online trial and call api platform, which integrates LightOnOCR-2-1B-ExecuTorch's modeling effects, including api services, and provides a free online trial of LightOnOCR-2-1B-ExecuTorch, you can try LightOnOCR-2-1B-ExecuTorch online for free by clicking the link below.
acul3 LightOnOCR-2-1B-ExecuTorch online free url in huggingface.co:
LightOnOCR-2-1B-ExecuTorch is an open source model from GitHub that offers a free installation service, and any user can find LightOnOCR-2-1B-ExecuTorch on GitHub to install. At the same time, huggingface.co provides the effect of LightOnOCR-2-1B-ExecuTorch install, users can directly use LightOnOCR-2-1B-ExecuTorch installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
LightOnOCR-2-1B-ExecuTorch install url in huggingface.co: