OHREN_Lab

News소식LlamaIndexLlamaIndex

LlamaIndex opens the weights of OCRia-nano-1, an 8.1M-parameter document parsing pipeline for CPUs, with conditions on commercial useLlamaIndex, CPU에서 문서를 파싱하는 8.1M 파라미터 OCRia-nano-1 가중치 공개 — 상업 사용에는 조건

LlamaIndex has opened the weights of OCRia-nano-1, an 8.1M-parameter model pipeline for document parsing on CPUs, on Hugging Face. Running inside the local document parser LiteParse, it handles text recognition, tables and layout, and by the company’s figures it scores 59.2 on ParseBench-2 and processes 27.8 pages per second on 16 vCPUs. The weights are free for research and personal use, and commercial use needs a commercial license for organizations with more than $2,000,000 in prior-year gross revenue or in total equity or debt funding.LlamaIndex가 CPU에서 문서를 파싱하는 8.1M 파라미터 모델 묶음 OCRia-nano-1의 가중치를 Hugging Face에 공개했습니다. 로컬 문서 파서 LiteParse 안에서 글자 인식과 표, 레이아웃 복원을 맡고, 회사가 낸 값으로 ParseBench-2 59.2점에 16 vCPU에서 초당 27.8쪽을 처리합니다. 가중치 라이선스는 연구와 개인 사용에 무료이고, 직전 연도 총매출이나 누적 지분·부채 조달액이 200만 달러를 넘는 조직의 상업 사용에는 상업 라이선스가 필요합니다.

Source published원문 게시일
Checked확인일

LlamaIndex has opened the weights of OCRia-nano-1, an 8.1M-parameter model pipeline for document parsing on CPUs, on Hugging Face. It combines seven specialized document models to bring text recognition, table structure and layout recovery to the local document parser LiteParse, and runs locally on CPUs alongside an application. It is distilled from OCRia-1, a 4B document VLM, with 1/500th of its parameters.LlamaIndex는 CPU에서 문서를 파싱하는 8.1M 파라미터 모델 묶음 OCRia-nano-1의 가중치를 Hugging Face에 공개했습니다. 문서 전문 모델 일곱 개를 합쳐 글자 인식과 표 구조, 레이아웃 복원을 로컬 문서 파서 LiteParse에 더하고, 애플리케이션 옆에서 CPU로 돕니다. 4B 문서 VLM인 OCRia-1을 증류한 것으로 파라미터는 그 500분의 1입니다.

LiteParse first reads the text already in digital PDFs, and Nano’s OCR models recognize text only where that layer is missing or unreadable, including scans and embedded images. A router sends each text line to one of four recognizers: Latin, CJK, right-to-left (Arabic, Hebrew) and a world-script model for about 17 more scripts. LayoutNet uses the text, its position on the page and visual features to find tables, with rows, columns and spanning header cells, and layout blocks such as headings, lists and captions.LiteParse는 디지털 PDF에 들어 있는 글자를 먼저 읽고, 글자 층이 없거나 읽을 수 없는 스캔과 끼워 넣은 그림만 Nano의 OCR 모델로 인식합니다. 라우터가 줄마다 Latin, CJK, 아랍어·히브리어, 그 밖의 약 17개 글자 체계를 맡는 인식기 넷 가운데 하나를 고릅니다. LayoutNet은 글자와 위치, 시각 특징을 함께 써서 표의 행과 열, 여러 칸에 걸친 머리글과 제목, 목록, 캡션 같은 블록을 찾습니다.

By the figures in the company’s technical report, it scores 59.2 on ParseBench-2 (59.5 on tables), while on the same 16-vCPU machine Indra scores 55.1, Marker 52.5 and LiteParse with Tesseract 48.7. It processes 27.8 pages per second on 16 vCPUs and takes 426 ms per page on one core on average, twice as fast as LiteParse with Tesseract and slower than Indra at 29.6 pages. LiteParse with PP-OCRv6 small scores higher at 59.9 but at 5.7 pages per second, and OCRia-1 in LlamaParse, which uses a GPU, scores 87.0.회사가 기술 보고서에 낸 값으로 ParseBench-2는 59.2점(표 59.5)이고, 같은 16 vCPU 장비에서 Indra는 55.1, Marker는 52.5, Tesseract를 쓴 LiteParse는 48.7입니다. 속도는 16 vCPU에서 초당 27.8쪽, 코어 하나에서 쪽당 평균 426 ms로 Tesseract를 쓴 LiteParse의 두 배이며 Indra(29.6쪽)보다는 느립니다. LiteParse에 PP-OCRv6 small을 붙이면 59.9점으로 더 높지만 초당 5.7쪽이고, GPU를 쓰는 LlamaParse의 OCRia-1은 87.0점입니다.

Scatter chart from the LlamaIndex blog titled Accuracy and speed of CPU parsers, with ParseBench-2 overall against pages per second on 16 cores: OCRia-nano-1 at 59.2 and 27.8, PP-OCRv6 tiny at 58.9 and 14.7, Indra at 55.1 and 29.6, Marker at 52.5 and 24.7, and Tesseract at 48.7 and 14.2.
Image: LlamaIndex blog.그림: LlamaIndex 블로그. Open original원본 보기

LiteParse installs with pip, npm or cargo, and running lit models pull ocria-nano once downloads the models and ONNX Runtime (60-75 MB) and checks every file against its sha256. After that, OCRia-nano-1 handles LiteParse’s OCR. The CLI, Python and Node.js run on Linux, macOS and Windows, and the browser and edge runtimes work through WebAssembly. Input is PDFs, images and Office documents, and output is Markdown, text or JSON with bounding boxes.LiteParse는 pip, npm, cargo로 깔고, lit models pull ocria-nano를 한 번 돌리면 모델과 ONNX Runtime(60~75 MB)을 받아 sha256을 대조합니다. 그 뒤로는 OCRia-nano-1이 LiteParse의 OCR을 맡습니다. CLI와 Python, Node.js는 Linux, macOS, Windows에서, 브라우저와 엣지는 WebAssembly로 돕니다. PDF와 그림, Office 문서를 받아 Markdown이나 글, 좌표를 담은 JSON으로 냅니다.

The weights are under the OCRia-nano-1 Model License, based on the AI Pubs Open RAIL-M license. Research and personal use are free, and commercial use needs a commercial license for an organization that generated more than $2,000,000 in gross revenue in the prior year or has raised more than $2,000,000 in total equity or debt funding. Except for research purposes, a document parsing, OCR or extraction product or service that competes with LlamaParse or LlamaCloud needs one at any size. LiteParse is separately under the Apache License 2.0.가중치에는 AI Pubs Open RAIL-M을 바탕으로 한 OCRia-nano-1 Model License가 걸려 있습니다. 연구와 개인 사용은 무료이고, 직전 연도 총매출이 200만 달러를 넘거나 지분·부채로 조달한 누적액이 200만 달러를 넘는 조직의 상업 사용에는 상업 라이선스가 필요합니다. LlamaParse · LlamaCloud와 경쟁하는 문서 파싱 · OCR · 추출 제품과 서비스라면 연구 목적이 아닌 한 규모와 상관없이 상업 라이선스가 필요합니다. LiteParse는 Apache License 2.0으로 따로 있습니다.

The model files do not run on their own and are used through LiteParse. There is no chart model, so charts stay as images, and the company points to OCRia-1 for complex tables, handwriting, heavily degraded scans and scanned mathematical notation. In WebAssembly the models run on one thread, which it puts at about 1–4 s per scanned page on a laptop.모델 파일만으로는 돌지 않고 LiteParse를 거쳐야 합니다. 차트 모델이 없어 차트는 그림으로 남고, 회사는 복잡한 표와 손글씨, 심하게 상한 스캔, 스캔한 수식에는 OCRia-1을 고르라고 안내합니다. WebAssembly에서는 스레드 하나로 돌아 노트북에서 스캔 한 쪽에 약 1~4초가 걸린다고 적었습니다.

All algoit posts알고IT 글 목록

Follow our AI news onAI 소식 팔로우하기X Instagram Threads