PyTorch¶
PyTorch backend configuration for Dots OCR.
DotsOCRPyTorchConfig
¶
Bases: BaseModel
PyTorch/HuggingFace backend configuration for Dots OCR.
Dots OCR provides layout-aware text extraction with 11 predefined layout categories (Caption, Footnote, Formula, List-item, Page-footer, Page-header, Picture, Section-header, Table, Text, Title).