mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-07 04:53:24 -05:00
Add OpenBMB's 1.3B Chinese/English document parser to the gallery as three llama.cpp entries: the recommended Q8_0 build, a smaller Q4_K_M build for constrained hosts, and an optional DSpark build that pairs the Q8_0 target with the official speculative draft. All entries install the required F16 4x vision projector, default to an 8,192-token single-slot context, and keep thinking disabled so transcriptions land in the response content. Q8_0 is the declaring entry; the other two are selectable variants. Tested text, table, and mixed Chinese/English page OCR through LocalAI on an RTX 4090; the DSpark build reached about 0.96 draft acceptance. The model's projector type is new in llama.cpp, so the entries need a backend built from the current master pin; the latest release backend predates it. Assisted-by: claude code:opus5.5 Signed-off-by: Caldalis <zyk_computer@163.com>