Ir para o conteúdo
ModelListadosExterno
Baixar

Qianfan OCR GGUF

This repository contains GGUF format quantizations (Q4KM, Q5KM, Q6K, Q80) of Qianfan-OCR, a 4B-parameter end-to-end document intelligence model developed by the Baidu Qianfan Team. It unifies document parsing, layout...

TipoOtherModelo basebaidu/Qianfan-OCRVersãoRevision f5b4a9aBnota

Fonte do modelo

Tipo
Other
Tamanho do arquivo
615 MB–4,38 GB
Modelo base
baidu/Qianfan-OCR
Versão
vRevision f5b4a9a
Atualizado
18 de set. de 2026
Downloads
517
Fonte
Hugging Face

Descrição da fonte

Model Card for Qianfan-OCR-4B-GGUF

This repository contains GGUF format quantizations (Q4_K_M, Q5_K_M, Q6_K, Q8_0) of Qianfan-OCR, a 4B-parameter end-to-end document intelligence model developed by the Baidu Qianfan Team. It unifies document parsing, layout analysis, and document understanding within a single vision-language architecture.

Model Details

Model Description

Qianfan-OCR is designed to replace traditional multi-stage OCR pipelines. Instead of chaining separate layout detection and text recognition modules, it performs direct image-to-Markdown conversion. It introduces Layout-as-Thought, an optional thinking phase where the model generates structured layout representations before producing the final output.

  • Developed by: Baidu Qianfan Team
  • Shared by: Abhiray
  • Model type: Multimodal Vision-Language Model (VLM)
  • Text Backbone: Qwen3-4B
  • Vision Encoder: Qianfan-ViT (AnyResolution up to 4K)
  • Language(s) (NLP): Multilingual (192 languages supported)
  • License: Apache-2.0

Model Sources

Uses

Direct Use

  • Document Parsing: High-fidelity Image-to-Markdown conversion.
  • Table/Formula Recognition: Extracting complex tables (merged cells) and LaTeX formulas.
  • Key Information Extraction (KIE): Structured data extraction from receipts, invoices, and IDs.
  • Visual Question Answering (DocVQA): Reasoning over charts, graphs, and structured documents.

Out-of-Scope Use

  • The model is not intended for generating creative fiction or conversational roleplay; it is optimized for high-accuracy document intelligence and visual grounding.

How to Get Started with the Model

1. Requirements

You need both a Quantized Model File (.gguf) and the Vision Projector (qianfan-ocr-mmproj.gguf).

2. Running with Koboldcpp (Recommended)

./koboldcpp \
  --model qianfan-ocr-4b-Q4_K_M.gguf \
  --mmproj qianfan-ocr-mmproj.gguf \
  --usecuda 0 \
  --gpulayers 99 \
  --contextsize 8192 \
  --remotetunnel

Fontes

1 fonte
Hugging FacePrimárioVersão f5b4a9a09ce925074ac9834d33a7ecb5cd01d548
huggingface.co/Abiray/Qianfan-OCR-GGUF/tree/f5b4a9a09ce925074ac9834d33a7ecb5cd01d548

Verificado 3 de set.

Artefatos de modelo

5 artefatos

qianfan-ocr-4b-Q4_K_M.gguf

gguf · 2,54 GB · SHA-256 7b68c7dc3152…7616 · Hugging Face

Baixar

qianfan-ocr-4b-Q5_K_M.gguf

gguf · 2,95 GB · SHA-256 c79ccaaec7a1…82f8 · Hugging Face

Baixar

qianfan-ocr-4b-Q6_K.gguf

gguf · 3,38 GB · SHA-256 c7fba3234cd5…abaa · Hugging Face

Baixar

qianfan-ocr-4b-Q8_0.gguf

gguf · 4,38 GB · SHA-256 f935bbbc06ed…5403 · Hugging Face

Baixar

qianfan-ocr-mmproj.gguf

gguf · 615 MB · SHA-256 088301bfac18…456e · Hugging Face

Baixar

Trechos de fonte

2 trechos

--- base_model: baidu/Qianfan-OCR base_model_relation: quantized license: apache-2.0 language: - en - zh - multilingual tags: - ocr - vision-language - gguf - document-intelligence - table-extraction - qwen - layout-analysis pipeline_tag: image-to-text library_name: gguf --- # Model Card for Qianfan-OCR-4B-GGUF This repository contains GGUF format quantizations (Q4_K_M, Q5_K_M, Q6_K, Q8_0) of **Qianfan-OCR**, a 4B-parameter end-to-end document intelligence model developed by the Baidu Qianfan Team. It unifies document parsing, layout analysis, and document understanding within a single vision-language architecture. ## Model Details ### Model Description Qianfan-OCR is designed to replace traditional multi-stage OCR pipelines. Instead of chaining separate layout detection and text recognition modules, it performs direct image-to-Markdown conversion. It introduces **Layout-as-Thought**, an optional thinking phase where the model generates structured layout representations before producing the final output. - **Developed by:** Baidu Qianfan Team - **Shared by:** [Abhiray](https://huggingface.co/Abhiray) - **Model type:** Multimodal Vision-Language Model (VLM) - **Text Backbone:** Qwen3-4B - **Vision Encoder:** Qianfan-ViT (AnyResolution up to 4K) - **Language(s) (NLP):** Multilingual (192 languages supported) - **License:** Apache-2.0 ### Model Sources - **Repository:** [Baidu Qianfan-OCR](https://huggingface.co/baidu/Qianfan-OCR) - **Paper:** [Qianfan-OCR: A Unified End-to-End Model for Document Intelligence](https://arxiv.org/abs/2603.13398) ## Uses ### Direct Use - **Document Parsing:** High-fidelity Image-to-Markdown conversion. - **Table/Formula Recognition:** Extracting complex tables (merged cells) and LaTeX formulas. - **Key Information Extraction (KIE):** Structured data extraction from receipts, invoices, and IDs. - **Visual Question Answering (DocVQA):** Reasoning over charts, graphs, and structured documents. ### Out-of-Scope Use - The model is not intended for generating creative fiction or conversational roleplay; it is optimized for high-accuracy document intelligence and visual grounding. ## How to Get Started with the Model ### 1. Requirements You need both a **Quantized Model File** (`.gguf`) and the **Vision Projector** (`qianfan-ocr-mmproj.gguf`). ### 2. Running with Koboldcpp (Recommended) ```bash ./koboldcpp \ --model q...

Source context: 517 downloads · 1 likes · Pipeline image-to-text · Library gguf · Repo Abiray/Qianfan-OCR-GGUF