Fullerene 3M is the Latin model set of Carbon-OCR, an OCR engine in C++ and CUDA by Carbon Research: four small networks, 2,774,014 parameters in all, trained from scratch, that read scans, photos of documents and PDFs into text, HTML, markdown and JSON with boxes, in reading order with labeled blocks and table cells, and a character 7-gram it can read with.
- OmniParseBench, all 2,937 pages: a headline of 53.0 where Tesseract 5.5 scores 5.9; with the 7-gram, 54.0. It passes 27.2 of the text tests to Tesseract's 17.8, and 49.7 of the table tests, which Tesseract, writing text alone, cannot pass.
- Speed: on one core of a desktop's CPU fullerene-3M reads 9.34 pages a second and Tesseract 0.92: fullerene-3M is 10.2 times as fast, its recognizer and orientation model in INT8. It reads 53.2 pages a second on the desktop's 8 CPUs and 209.9 on an RTX 4060 Ti (TensorRT), sustained over five minutes.
- olmOCR-Bench: 47.0 to Tesseract's 34.2, by its tables, its multi-column pages and its leaving out running headers and footers.
- OmniDocBench's English pages: Tesseract reads plain text better (an edit distance of 0.129 to fullerene-3M's 0.164), and fullerene-3M reads their tables (51.1 TEDS to none).
The set
| Model | Job | Parameters | Input | Output |
|---|---|---|---|---|
orient | Page orientation, before detection | 338,669 | 512 × 512 grayscale thumbnail, ink map | 13 class scores: 12 angle bins of 30°, plus vertical CJK |
det | Line detection and pictures | 442,564 | The page in grayscale, long side 1024, H and W multiples of 32 | 4 maps at stride 2: core-band logit, top distance, bottom distance, picture logit |
rec-latin | Read Latin, Cyrillic and Greek lines | 1,511,104 | 32 × W line crop, W a multiple of 8, ink map | 800 CTC class scores per 4 px; class 0 is the blank |
order | Reading order, block labels, table structure | 481,677 | 16 features per line (geometry and text cues) | Successor, same-block, table row, column and cell scores, 13 block labels |
And a language model, which reads nothing on its own: it scores what rec-latin reads.
| Language model | File | What it is | Size |
|---|---|---|---|
| Character 7-gram | lm-latin.bin | Interpolated modified Kneser-Ney, 12.7 M n-grams in a compact file (a 32-bit tag a slot, 8-bit codebooks for its values), memory-mapped. Its weights, tuned for this set's recognizer, are in its header: alpha 0.3, beta 0.5, gate 2.0 | 93.9 MB |
Every line goes to rec-latin: this set has no script router. Block labels: Text, Section-Header,
Page-Header, Page-Footer, List-Group, Table, Caption, Footnote, Table-Of-Contents, Form, Picture,
Formula, Other.
Run it with Carbon-OCR, which loads all four models: orientation, and deskew up to 45°; detection with a second pass for tiny text; recognition; and the order model's reading order and blocks (the XY-cut where the order model is unsure). Lines that are not text (rules, slivers, unsure pieces read out of pictures) are dropped, while a list's bullets and a table's empty-cell dashes are kept; the blocks are put in order by their geometry, columns first; and in the blocks the order model marks as tables, the engine lays out the grid from the lines' rows and columns: a table it cut in two joined again, a cell set on two lines kept as one, row labels spanning their rows, headings spanning their columns.
# HTML; or text, markdown, json, hocr, alto, pdf
carbon-ocr ocr page.png --set fullerene-3M --format html
# with the 7-gram on a beam of 8
carbon-ocr ocr page.png --set fullerene-3M --lm-mode ngram
# every network in FP32 on the CPU (by default the recognizer and orient read in INT8)
carbon-ocr ocr scan.pdf --set fullerene-3M --precision fp32
# the FP16 files on an NVIDIA GPU (TensorRT)
carbon-ocr ocr scans/*.png --set fullerene-3M --device cuda
import carbon_ocr
engine = carbon_ocr.Engine("fullerene-3M") # lm_mode="ngram" for the 7-gram, precision="fp32" for FP32
page = engine.ocr([carbon_ocr.load_image("page.png")], html=True)[0]
print(page["html"])
The precisions. On the CPU, the default reads each network from the fastest file the set has: rec-latin and
orient in INT8, on Carbon-OCR's own kernels, and det and order in FP32. --precision fp32
reads all four in FP32. On an NVIDIA GPU the default is the FP16 files, on TensorRT. The 7-gram needs Carbon-OCR from
18 November 2026 on (its compact file).
The turn threshold. orient.onnx, orient.fp16.onnx and orient.int8.onnx carry their threshold for turning a page,
0.65, in their metadata (carbon.orient.turn_probability), which the engine reads; orient is
evaluated at it (below).
Pages, read
Fullerene 3M on three invented pages, read by Carbon-OCR on one machine's CPU (FP32 files, ONNX Runtime). Every picture is drawn from the engine's own output for the page, and the pages' text is known word for word. The full report has every number, every fault with where it comes from, and the scripts that make it all again.
A report page in two columns: every line found, 252 of its 255 words right (the misses are a footnote mark, read into the word before it, and a price with a table's rule against it), 21 blocks labelled and in the page's own reading order, and HTML, in 104 ms on one core.
A page of two tables: both found as tables, and all 73 cells in their row and column, 62 of them character for
character; most of the rest carry the column rule beside them as a |.
A rough photo of the report page, upside down and 2.5° off, under uneven light, noisy and JPEG-compressed:
turned 180° by orient, levelled by 2.5° with no model, and read as well as the clean page.
What det sees: its line-core map over the page, and the line boxes the engine's decoder makes of it.
What it gets wrong is in the details of the pages' structure more than their words: a column rule read as a |
beside a cell's text, a caption written as a table's last row, a list per item. The report lists all eight faults
it found, and which the engine can fix and which need training.
Benchmarks, against Tesseract
fullerene-3M is read in its default precision, greedy, unless a column says otherwise: on the CPU, the INT8 recognizer and orientation model with FP32 detection and order. Measured on 18 November 2026 with Carbon-OCR of that day; accuracy does not depend on the machine.
OmniParseBench
All 2,937 pages of OmniParseBench, graded by the benchmark's own grader (omni-parse-bench
1.2.0, its unit_tests scorer). Fullerene 3M through Carbon-OCR, which gives the grader its HTML
(headings, paragraphs, lists, tables from their cells) and its layout blocks; Tesseract 5.5.0 (-l eng --psm 3, its defaults) as the baseline, its lines as paragraphs. The same pages, rendered once at
200 dpi. Scores out of 100; bold is the best of the five, or tied with it at the precision shown.
| fullerene-3M | fullerene-3M, FP32 on the CPU | fullerene-3M, FP16 on the GPU | fullerene-3M, with the 7-gram | Tesseract 5.5 | |
|---|---|---|---|---|---|
| Headline (the three families' mean) | 53.0 | 53.2 | 53.4 | 54.0 | 5.9 |
| Text (8,499 tests) | 27.2 | 27.4 | 27.2 | 29.5 | 17.8 |
| Tables (5,386 tests) | 49.7 | 50.2 | 50.1 | 50.7 | 0.0 |
| Layout (2,403 tests) | 81.9 | 82.1 | 83.0 | 81.7 | 0.0 |
| Pages read (failed); coverage | 2,937 (0); 1.0000 | 2,937 (0); 1.0000 | 2,937 (0); 1.0000 | 2,937 (0); 1.0000 | 2,937 (0); 1.0000 |
Tesseract writes text alone, so its tables and layout score 0, as a line engine's do.
- INT8 costs a little. The default passes 42.7 of all tests to FP32's 43.0, a headline of 53.0 to 53.2, and 97.9% of the tests come out the same either way. It reads a page on one core 1.8 times as fast (section 04).
- On the GPU (TensorRT, the FP16 files and the fused CTC head) it passes 43.0 of all tests, and 97.5% of the tests come out as they do in the CPU's default.
- With the 7-gram (
--lm-mode ngram) it passes 44.2 of all tests: the headline 54.0 and the text 29.5, from 53.0 and 27.2, while layout slips from 81.9 to 81.7. In FP32 with the 7-gram the headline is 54.1, on the GPU 54.0.
Where it reads better. document photos 64.6 against 17.3; rotated and skewed pages 59.3 against 17.3; real document pages 60.3 against 25.8; multilingual pages 52.0 against 20.0; ParseBench documents 70.3 against 48.6; federal forms 61.0 against 41.0; tables 65.8 against 47.8; multilingual PDFs 16.3 against 2.4; multi-column pages 67.8 against 55.7; synthetic copies 30.9 against 19.9; real PDFs 57.1 against 48.7; long tiny text 50.3 against 43.1. Document by document, over the 1,791 documents with text tests, fullerene-3M scores higher on 460, the same on 1,207 and lower on 124.
Where it reads worse. large-format sheets 50.0 against 56.5; old scans 1.3 against 6.3; old scans with math 3.4 against 4.8; handwriting 0.7 against 1.1.
Where the 7-gram reads worse than greedy. multilingual pages 45.3 against 52.0; large-format sheets 45.7 against 50.0; filled forms 63.6 against 66.2; multilingual PDFs 14.8 against 16.3.
Why text tests fail. Of the 8,499 text tests, 3,204 want LaTeX math, which this set does not write, and 584 are in a script it has no recognizer for. Of the 4,711 left, 2,398 fail: 906 because most of their text is not there (under half of its words, most on handwritten pages), 603 on reading order (every word there, but out of sequence or split across lines and cells, or an order test's two texts the wrong way round), 408 partly there, 360 near misses (80% or more of the words there), and 121 whose reason does not say what text was wanted.
| Suite | Text tests | fullerene-3M | with the 7-gram | Tesseract 5.5 |
|---|---|---|---|---|
| arXiv math | 2,830 | 1.6 | 1.6 | 0.8 |
| synthetic copies | 1,500 | 30.9 | 34.7 | 19.9 |
| multilingual PDFs | 465 | 16.3 | 14.8 | 2.4 |
| old scans with math | 438 | 3.4 | 3.7 | 4.8 |
| real document pages | 383 | 60.3 | 71.3 | 25.8 |
| tiny plans | 351 | 85.8 | 88.0 | 83.2 |
| old scans | 319 | 1.3 | 2.5 | 6.3 |
| rotated and skewed pages | 312 | 59.3 | 63.8 | 17.3 |
| handwriting | 280 | 0.7 | 0.7 | 1.1 |
| document photos | 237 | 64.6 | 70.5 | 17.3 |
| multi-column pages | 230 | 67.8 | 68.7 | 55.7 |
| real PDFs | 224 | 57.1 | 65.2 | 48.7 |
| ParseBench documents | 212 | 70.3 | 73.6 | 48.6 |
| tables | 184 | 65.8 | 66.3 | 47.8 |
| long tiny text | 167 | 50.3 | 65.9 | 43.1 |
| federal forms | 100 | 61.0 | 75.0 | 41.0 |
| filled forms | 77 | 66.2 | 63.6 | 62.3 |
| multilingual pages | 75 | 52.0 | 45.3 | 20.0 |
| large-format sheets | 46 | 50.0 | 45.7 | 56.5 |
| French handwriting | 41 | 7.3 | 7.3 | 2.4 |
| forms | 28 | 82.1 | 82.1 | 78.6 |
| Test type | Tests | fullerene-3M | with the 7-gram | Tesseract 5.5 |
|---|---|---|---|---|
present | 7,275 | 25.0 | 27.2 | 16.5 |
table_cell | 5,386 | 49.7 | 50.7 | 0.0 |
layout_kind | 2,403 | 81.9 | 81.7 | 0.0 |
order | 1,189 | 40.2 | 43.1 | 25.3 |
repeat | 35 | 37.1 | 42.9 | 40.0 |
| Script tag | Text tests | fullerene-3M | with the 7-gram | Tesseract 5.5 |
|---|---|---|---|---|
| Latn | 4,160 | 46.1 | 50.5 | 29.7 |
| (none) | 3,669 | 10.3 | 10.3 | 7.7 |
| Hani | 135 | 0.0 | 0.0 | 0.0 |
| Cyrl | 74 | 24.3 | 36.5 | 0.0 |
| Grek | 62 | 21.0 | 19.4 | 3.2 |
| Armn | 60 | 0.0 | 0.0 | 0.0 |
| Laoo | 52 | 0.0 | 0.0 | 0.0 |
| Knda | 48 | 0.0 | 0.0 | 0.0 |
| Ethi | 43 | 0.0 | 0.0 | 0.0 |
| Beng | 40 | 0.0 | 0.0 | 0.0 |
| Mlym | 40 | 0.0 | 0.0 | 0.0 |
| Thai | 39 | 0.0 | 0.0 | 0.0 |
| Khmr | 34 | 0.0 | 0.0 | 0.0 |
| Telu | 33 | 0.0 | 0.0 | 0.0 |
| Guru | 31 | 0.0 | 0.0 | 0.0 |
| Hebr | 30 | 0.0 | 0.0 | 0.0 |
| Taml | 25 | 0.0 | 0.0 | 0.0 |
| Hang | 24 | 0.0 | 0.0 | 0.0 |
| Deva | 20 | 0.0 | 0.0 | 0.0 |
olmOCR-Bench
All 1,403 PDFs of olmOCR-Bench (7,010 pass-fail tests),
rendered at 200 dpi and read as images by both engines (no text layer), graded by its own scorer
(olmocr.bench.benchmark); fullerene-3M through Carbon-OCR's markdown, Tesseract 5.5 (-l eng --psm 3) by its own
text. The headline is the mean of its test files' scores, with a 95% interval.
| Test file | Tests | fullerene-3M | with the 7-gram | Tesseract 5.5 |
|---|---|---|---|---|
| Headline | 7,010 | 47.0 ± 1.0 | 48.4 ± 0.9 | 34.2 ± 1.0 |
| Tables | 1,022 | 54.3 | 55.9 | 0.5 |
| Headers and footers left out | 760 | 73.9 | 73.2 | 40.1 |
| Long tiny text | 442 | 63.8 | 69.9 | 60.6 |
| Multi-column pages | 884 | 68.7 | 70.5 | 52.3 |
| Old scans | 526 | 15.6 | 17.7 | 20.7 |
| arXiv math | 2,927 | 0.0 | 0.0 | 0.0 |
| Old scans, math | 458 | 0.0 | 0.0 | 0.0 |
| Baseline (output neither empty nor junk) | 1,394 | 99.9 | 99.9 | 99.0 |
- fullerene-3M leads on tables, on multi-column pages, on leaving out running headers and footers, and on long pages of tiny text (63.8 to 60.6; 69.9 with the 7-gram).
- Tesseract reads more of the old scans: 20.7 to 15.6, and to 17.7 with the 7-gram.
- Neither writes LaTeX, so both score 0 on mathematics, a quarter of the headline.
- In FP32 fullerene-3M scores 46.8 ± 0.9 (48.1 with the 7-gram), and on the GPU 46.7 ± 1.0 (48.3).
OmniDocBench, its English pages
The 755 English pages of OmniDocBench v1.6 (the rest are Chinese, which neither engine reads), end to end, graded by its own grader. Its formula metric CDM needs TeX Live on Linux and is not computed, so neither is its Overall; the parts are below.
| Metric | fullerene-3M | with the 7-gram | Tesseract 5.5 |
|---|---|---|---|
| Text: edit distance (lower is better) | 0.164 | 0.164 | 0.129 |
| Tables: TEDS | 51.1 | 51.5 | 0.0 |
| Tables: TEDS, structure only | 62.6 | 63.5 | 0.0 |
| Reading order: edit distance (lower is better) | 0.287 | 0.286 | 0.253 |
| Display formulas: edit distance (lower is better) | 0.888 | 0.896 | 0.877 |
- Tesseract reads the text of these pages better and puts it in a better order; fullerene-3M reads their tables.
- By the page's source, its text is furthest behind on newspapers (0.282 against 0.097); closer on magazines (0.142 against 0.107) and exam papers (0.138 against 0.109). On slides it reads better (0.081 against 0.086).
- The 7-gram changes the text little here (0.1641 to 0.1638).
- In FP32 the text's edit distance is 0.167 and the tables' TEDS 50.6; on the GPU, 0.165 and 50.6.
Every precision
fullerene-3M read every way Carbon-OCR can read it, on all three benchmarks, each by its own grader. The set ships
FP32 and FP16 for every network, and INT8 for rec-latin and orient, whose files passed their gates. det's and
order's INT8 files, and the GPU's symmetric INT8 files, failed theirs and are not shipped; they are measured here all
the same, so every way the engine reads the set has its score. On the CPU the engine reads order in FP32 at every
precision (its native weights), so the --precision int8 rows below read orient, det and rec-latin in INT8; the
GPU's INT8 rows run all four networks' symmetric files.
| fullerene-3M | OmniParseBench | text | tables | layout | olmOCR-Bench | OmniDocBench text (lower is better) | tables, TEDS | reading order (lower is better) |
|---|---|---|---|---|---|---|---|---|
| the default on the CPU (INT8 recognizer and orientation model) | 52.96 | 27.21 | 49.72 | 81.94 | 47.0 ± 1.0 | 0.164 | 51.1 | 0.287 |
| the default, with the 7-gram | 53.98 | 29.46 | 50.74 | 81.73 | 48.4 ± 0.9 | 0.164 | 51.5 | 0.286 |
--precision int8 on the CPU (det's INT8 file too) | 51.37 | 26.13 | 45.47 | 82.52 | 46.8 ± 1.0 | 0.162 | 50.5 | 0.291 |
--precision int8, with the 7-gram | 52.48 | 28.26 | 46.75 | 82.44 | 48.3 ± 1.0 | 0.164 | 51.1 | 0.294 |
| FP32 on the CPU | 53.24 | 27.39 | 50.19 | 82.15 | 46.8 ± 0.9 | 0.167 | 50.6 | 0.289 |
| FP32, with the 7-gram | 54.10 | 29.31 | 51.02 | 81.98 | 48.1 ± 0.9 | 0.166 | 50.7 | 0.293 |
| FP16 on the CPU | 53.37 | 27.36 | 50.20 | 82.56 | 46.8 ± 0.9 | 0.163 | 50.7 | 0.285 |
| FP16 on the GPU (TensorRT, the default there) | 53.42 | 27.21 | 50.07 | 82.98 | 46.7 ± 1.0 | 0.165 | 50.6 | 0.288 |
| FP16 on the GPU, with the 7-gram | 54.03 | 29.36 | 51.11 | 81.61 | 48.3 ± 1.0 | 0.166 | 50.6 | 0.289 |
| INT8 on the GPU (TensorRT, symmetric files) | 50.11 | 24.27 | 43.87 | 82.19 | 45.6 ± 0.9 | 0.170 | 50.2 | 0.297 |
| INT8 on the GPU, with the 7-gram | 51.04 | 26.70 | 44.82 | 81.61 | 47.6 ± 1.0 | 0.171 | 50.3 | 0.305 |
| Tesseract 5.5 | 5.95 | 17.85 | 0.00 | 0.00 | 34.2 ± 1.0 | 0.129 | 0.0 | 0.253 |
Where it still loses. On newspapers, and on old print, which it finds but misreads (e for o, c for e, a for u).
Speed and throughput
On a desktop, 18 November 2026: a virtual machine with 8 CPUs of an Intel Core i5-13600KF and an NVIDIA RTX 4060 Ti
(16 GB), Linux, otherwise idle; Tesseract 5.5.0 (-l eng --psm 3) on the same machine. Model loading is left out.
One page at a time, one core (the speed set: 300 of OmniParseBench's pages, every suite in turn):
| fullerene-3M | fullerene-3M, FP32 | fullerene-3M, FP16 on the CPU | fullerene-3M, with the 7-gram | Tesseract 5.5 | |
|---|---|---|---|---|---|
| Pages a second | 9.34 | 5.15 | 3.55 | 7.00 | 0.92 |
| Median page, p90 | 91 ms, 161 ms | 164 ms, 317 ms | 240 ms, 469 ms | 121 ms, 229 ms | 793 ms, 1997 ms |
- fullerene-3M is the faster engine on one core: 9.34 pages a second to Tesseract's 0.92, 10.2 times as fast; in FP32, 5.15, 5.6 times as fast.
- The 7-gram costs about a quarter of the default's rate (7.00 to 9.34), still 7.6 times Tesseract's.
Throughput, worker processes of one thread (the speed set's first 60 pages, the median of three runs), pages a second:
| Processes | fullerene-3M | with det's INT8 file too | FP32 | Tesseract 5.5 |
|---|---|---|---|---|
| 1 | 9.54 | 11.51 | 5.25 | 0.97 |
| 2 | 18.56 | 22.62 | 10.34 | 1.92 |
| 4 | 35.01 | 43.09 | 19.88 | 3.77 |
| 8 | 51.06 | 65.70 | 30.59 | 6.00 |
- In eight processes fullerene-3M reads 8.5 times as fast as Tesseract (51.06 pages a second to 6.00); with det's INT8 file too, 65.70; in FP32, 30.59.
- The virtual machine does not show which of the host's cores (6 performance, 8 efficiency) its 8 CPUs run on.
Carbon-OCR's own workers in one process, pinned one to a core (the speed set): one page at a time spread over
them, or a stream of pages in flight (Engine.submit and next):
| Process × workers | fullerene-3M | with det's INT8 file too | FP32 |
|---|---|---|---|
| 1 × 8, one page at a time | 22.6 pages a second, median 36 ms | 21.2, 40 ms | 16.0, 54 ms |
| 1 × 8, 16 pages in flight | 48.2 | 58.3 | 30.5 |
- Served over HTTP by
carbon-ocr serveon the CPU's 8 workers, the same 300 pages sent over 32 connections, each page's file read and decoded on the way: 56.6 pages a second. - Through
carbon-ocr ocron 8 workers, in runs of 64 pages that each load the models: 36.3 pages a second.
Sustained: OmniParseBench's page images read in a loop, a minute untimed and then five minutes timed.
| pages/s | median page | |
|---|---|---|
| fullerene-3M on the CPU, 1 × 8 workers, 16 pages in flight | 53.2 | 110 ms |
| fullerene-3M on the CPU, FP32, the same | 30.8 | 193 ms |
| fullerene-3M on the CPU, with the 7-gram, the same | 41.0 | 146 ms |
| Tesseract 5.5 on the CPU, 8 processes of one worker | 6.54 | 981 ms |
| fullerene-3M on the GPU, 32 pages in flight | 209.9 | 61 ms |
| fullerene-3M on the GPU in INT8 (symmetric files), the same | 202.1 | 69 ms |
| fullerene-3M on the CPU with det's INT8 file too, 1 × 8 workers, 16 pages in flight | 63.5 | 88 ms |
| fullerene-3M on the GPU, with the 7-gram, the same | 105.3 | 176 ms |
- On the desktop's 8 CPUs fullerene-3M reads 8.1 times as fast as Tesseract (53.2 pages a second to 6.54); in FP32, 4.7 times (30.8).
- On the GPU (TensorRT 11.4, CUDA 13.0): Carbon-OCR's batched pipeline, each model run on batches drawn from all the
pages in flight, behind
carbon-ocr serve --device cuda. One client sent the pages with 32 in flight, each page's file read, sent over HTTP and decoded on the way. - INT8 is about as fast as FP16 on the GPU: 202.1 pages a second sustained to FP16's 209.9, though a single pass over all of OmniParseBench went 223.8 to 194.3. At
--precision int8the recognizer runs whole, without the fused CTC head. - The 7-gram halves the GPU's rate (105.3 pages a second to 209.9): its beam runs on the CPU.
Where a page's time goes (one worker, the speed set's pages one at a time, the engine's own clock):
- A speed-set page holds 104 lines on average, 351 by 46 px.
- Recognition is most of a page's time: 53% in the default (56 ms of 106, the PNG's decode included), 73% in FP32 (142 ms of 194). The INT8 recognizer reads a page's lines 2.6 times as fast.
- FP16 on this CPU is slower than FP32 (3.55 pages a second on one core). The CPU has no FP16 arithmetic, so the FP16 weights are widened and summed in FP32 on Carbon-OCR's own kernels. On CPUs with FP16 arithmetic (AVX-512 FP16, Armv8.2 FP16) the FP16 files compute in FP16; on NVIDIA GPUs TensorRT runs them.
Per-model scores
Each model on held-out pages and lines, at its export.
| Model | Score | |
|---|---|---|
orient | upright pages kept upright 1.0000; rotated pages turned right 0.9721; wrong turns 0; bin accuracy 0.9975 | at a turn threshold of 0.65, 300 pages and 3,584 thumbnails (orient.eval.json) |
det | line F1 at IoU 0.5: 0.9936 (the exported checkpoint), 0.9926 at the end of training | 8,000 held-out print pages, 600,718 lines |
rec-latin | character error rate on held-out print: 0.98% | 800 classes, covering 99.991% of the characters sampled from the text corpora |
order | Kendall's tau 1.0 (the exported checkpoint), 0.9992 at the end of training; block F1 0.9916 and 0.9909 |
FP16 against FP32 (ONNX Runtime): det flips its core map on 494 of 274,432 pixels; rec-latin changes
its best class on 2 of 2,796 frames; orient and order change no decision. Each *.meta.json holds its
model's shapes, crop and decode rules, parameter count and parity.
INT8. A network's INT8 file ships only where it reads as FP32 does: rec-latin's if its character error rate is
at most FP32's plus 0.1 points on rendered lines and plus 0.05 on rendered codes, amounts, dates and IDs; the others'
if they change at most 0.3% of their decisions.
| INT8 against FP32 | ||
|---|---|---|
rec-latin | character error rate 4.75% to FP32's 4.87% on 2,016 rendered lines; 1.02% to 0.97% on rendered codes, amounts, dates and IDs; 48.18% to 48.20% on GNHK's handwritten lines; 19.76% to 19.75% on GT4HistOCR's historical print | ships |
orient | 0.29% of its turns and angle bins changed on 2,400 thumbnails | ships |
det | 3.8% of its lines changed on 200 rendered pages | not shipped |
order | 2.6% of its decisions changed on 200 rendered pages | not shipped |
INT8 changes 0.8% of the characters rec-latin reads on the rendered lines, and
12% on GNHK's handwriting, where its error rate stays the same.
Files
Each network as FP32 ONNX (opset 17: the CPU, ONNX Runtime) and FP16 ONNX (TensorRT, and the CPU with
--precision fp16), with its record; rec-latin and orient also as INT8 ONNX, which the CPU reads by default on
Carbon-OCR's own kernels. The recognizer also ships its vocabulary and, for the GPU's fused
CTC head, its trunk and head weights. config.json describes the set: its models, their files, inputs,
outputs and parameter counts. Each network's FP32 weights are also in <model>.safetensors, as its ONNX
file stores them (convolutions folded with their norms), for reading them without ONNX;
model.safetensors.index.json maps every tensor to its file. The engine runs the ONNX files, and the 7-gram's
own file, lm-latin.bin.
hf download CarbonResearchLabs/fullerene-3M --local-dir models/fullerene-3M
| File | SHA-256 |
|---|---|
orient.onnx | 7998c668757d853897b4185876b93b9c635f29dfef28869d1f3d6b1392d76ee6 |
orient.fp16.onnx | 1084fe345db946141ad7cb8f0954a97565be34d434931253f664e74ab1be9d01 |
orient.int8.onnx | 46ec31c0e7de3ed8dbc309a0911e861055d62f6c45a946ce71b0481ef9ad32b7 |
orient.meta.json | e8892c03abe2aaaee77d57dc573d3951e43e07fd0a762a8d5f935d165c367fb1 |
orient.eval.json | 8fda34a4615ce8f04a3737b304fb79124a24797fa71de1f8358a9f4964a0e180 |
det.onnx | 0b2d5bbae31c887d47513478e9546d6a35bdf2883c43e179f0f6807a2e25386e |
det.fp16.onnx | a39c5de990a14201f5332343266649ce21518c744d047e476888bec6152fe275 |
det.meta.json | c37f3b56bdc82590e10f418e45587aec7f65fa386ed05f15394a2300e5689d88 |
rec-latin.onnx | 9ffb3a1c2d000f5999c395a3bfaaf2e4fe5f1ee224465e4e20a12f21dbf3c6c3 |
rec-latin.fp16.onnx | 75cba184d80d09eb10a7333a04800c00da5bb1125c1e77dd0c8be9fbb8c576ba |
rec-latin.int8.onnx | 3c30fdc861c214958a1577178223b274815196876137c6998a3e2d5f68311ac2 |
rec-latin.features.fp16.onnx | 431946e774271f5143ad815b5188dc2863403513436d1d9f9da2e1835fa1f645 |
rec-latin.head.bin | 67a862da116e6d19843dcd056d1203c594a4b0a5a85bcbc23add37898ca2864e |
rec-latin.vocab.json | a406f27ab49aad2b79c7af02cee49d44a7ad8f0aed6f1fe05adf48e2991ce986 |
rec.meta.json | e69b93a36657a285e768b1603d270f023a41b2992347476e9f82047c6c7c603a |
order.onnx | 72f5c2f5754087d8bcdd5861e85e371dce6fd7666cd407639b2ff71c5d7ccee7 |
order.fp16.onnx | aea6fd5b17f058aac4ecfaa60c7625fbbe022117d3a9eef6a1f28669a8351e04 |
order.meta.json | 17528f22feb9cd4b8bff74c7b688e31b1ebf7e1ac56de9ace9b7cc5527efb0d2 |
lm-latin.bin | ac7b39c1ead77c979ac56908aa9490905383ab64121a71f46a647d82c110ef4c |
config.json | debd43e2d4aa72c036ed0f2222079148eaa85750cc76b25e380f9d73a2fd0f28 |
orient.safetensors | b153cb3daa3770d311e187803da131355d8ca45d711028330e1a78b7284d3951 |
det.safetensors | d1b3e36b34234d941444ae7e0b333876d42ce0a2fa61cd08a947a298d36866ef |
rec-latin.safetensors | 628337140c89bc0216a3d97e39e306863948c54c70900232047112b39e2c39af |
order.safetensors | 503c297976166fcbe53c3e89c20d41a44b1a9586724d4cab47e7bedcf0321c30 |
model.safetensors.index.json | 0483261dde1d06253007c42436484f6a8d66c9ad4d8e65a00578c078ab0b8f6e |
Training data
Each model was trained from scratch. The data is recorded source by source in the manifest at CarbonResearchLabs/fullerene-data, which holds manifests, profiles and the scripts that fetched them, not third-party data: each source keeps its own license and host.
orientanddet: synthetic and born-digital pages (exact line boxes from their text layers), with DocLayNet, HierText and TextOCR for detection; upright pages turned to every bin, and real rotated scans, for orientation.rec-latin: rendered lines (HarfBuzz and FreeType, 1,718 audited font families, 53 held out), born-digital lines from PDF text layers, real handwriting and pseudo-labelled real lines.order: DocLayNet and PubLayNet, with synthetic and born-digital pages whose order is known.lm-latin.bin, the 7-gram: 500 M characters of Wikipedia, FineWeb-2, FinePDFs and the langdata corpora, in the Latin, Cyrillic and Greek scripts. Every FinePDFs document carrying the text of any benchmark page was left out (3,434 documents).
Intended use and limitations
Latin-script document OCR through Carbon-OCR: scans and photos of documents and PDFs, read as text, HTML, markdown or JSON with boxes, on the CPU and on NVIDIA GPUs.
- Weaker on old and degraded scans and handwriting (above). On newspaper pages Tesseract reads the text better (OmniDocBench, above).
- Out of scope: scripts other than Latin, Cyrillic and Greek, and mathematics. With no script router, a
mixed-script page goes to
rec-latin. - Orientation turns a page only when
orientis at least 0.65 sure of a quarter turn; below it a page is read as given. Deskew then levels what is left, up to 45°. - Tables: a heading set across two header rows gets a row of its own in the engine's grid, and a column
rule beside a cell can be read into it as a
|. - INT8, the CPU's default for
rec-latinandorient, and FP16 differ from FP32 in the few decisions above (OmniParseBench's headline 53.0 in the default to FP32's 53.2); use--precision fp32where exact parity with FP32 matters.detandorderhave no INT8 files: theirs failed the gate. - The 7-gram knows only the text it learned from. It lowers some suites (multilingual pages 45.3 against 52.0; large-format sheets 45.7 against 50.0; filled forms 63.6 against 66.2), and costs a quarter of one core's rate and half the GPU's.
License, links and citation
Weights: the Carbon-OCR OpenRAIL-AMS license (LICENSE-WEIGHTS.md): royalty-free
use, modification and redistribution, hosted services included, under the use restrictions of its
Attachment A, which every derivative and redistribution must carry with the license. Code: Apache 2.0
(Carbon-OCR's LICENSE).
- Engine: https://github.com/CarbonResearchLabs/Carbon-OCR
- Training-data manifest: https://huggingface.co/datasets/CarbonResearchLabs/fullerene-data
Citation
@software{vora2026carbonocr,
author = {Karan Vora},
title = {Carbon-OCR and Fullerene: OCR in C++ and CUDA, with the Fullerene models},
organization = {Carbon Research Labs},
year = {2026},
url = {https://github.com/CarbonResearchLabs/Carbon-OCR}
}
@misc{vora2026fullerene3m,
author = {Karan Vora},
title = {Fullerene 3M: the Latin model set of Carbon-OCR},
organization = {Carbon Research Labs},
year = {2026},
howpublished = {\url{https://huggingface.co/CarbonResearchLabs/fullerene-3M}}
}
Credits. Carbon-OCR and Fullerene are built by Karan Vora at Carbon Research Labs (getcarbonresearch.com), with David Delaurier, lead MLOps, and Karthik Kumar Viswanathan, technical advisor.