# SOTA OCR with Core ML and dots.ocr

DevFeed: [SOTA OCR with Core ML and dots.ocr](<https://devfeed.tech/articles/sota-ocr-with-core-ml-and-dots-ocr-7174.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/dots-ocr-ne>)

Author: Christopher Fleetwood; Pedro Cuenca

Published: 2025-10-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Hugging Face](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [document ai](<https://devfeed.tech/topics/document-ai.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [ai-accelerator](<https://devfeed.tech/tags/ai-accelerator.md>), [apple](<https://devfeed.tech/tags/apple.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [conversion](<https://devfeed.tech/tags/conversion.md>), [coreml](<https://devfeed.tech/tags/coreml.md>), [device](<https://devfeed.tech/tags/device.md>), [dots](<https://devfeed.tech/tags/dots.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [graph](<https://devfeed.tech/tags/graph.md>), [mlx](<https://devfeed.tech/tags/mlx.md>), [model](<https://devfeed.tech/tags/model.md>), [neural-engine](<https://devfeed.tech/tags/neural-engine.md>), [ocr](<https://devfeed.tech/tags/ocr.md>)

## AI overview

The excerpt describes converting dots.ocr for on-device use with Core ML, which is required to access Apple's Neural Engine. The authors cite testing in which that accelerator was 12x more power efficient than CPU and 4x more efficient than GPU, while noting that PyTorch-to-Core ML conversion can be difficult. Their staged approach is to capture the PyTorch execution graph, compile it for Apple hardware, and first get conversion working on GPU in FLOAT32 with static shapes before reducing precision and attempting Neural Engine execution. The model has a 1.2B-parameter NaViT-based vision encoder and a Qwen2.5-1.5B language-model backbone. The excerpt is incomplete and omits names of some tools and commands, so it does not establish the full conversion procedure or its results.

## Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.