--- title: Qianfan-OCR MLX emoji: 📄 colorFrom: blue colorTo: indigo sdk: static pinned: false license: apache-2.0 short_description: End-to-end document AI on Apple Silicon with MLX --- # Qianfan-OCR on Apple Silicon (MLX) End-to-end document AI powered by [Qianfan-OCR](https://huggingface.co/baidu/Qianfan-OCR) running on Mac with MLX acceleration. ## Features - Document to Markdown conversion - Table extraction (Markdown / HTML) - Invoice & receipt recognition - Key information extraction (CN/EN) - Formula to LaTeX - Layout-as-Thought analysis - 192 language support ## Model - **Base**: [baidu/Qianfan-OCR](https://huggingface.co/baidu/Qianfan-OCR) (4.3B params) - **Quantized**: [jason1966/Qianfan-OCR-MLX-4bit](https://huggingface.co/jason1966/Qianfan-OCR-MLX-4bit) - **Performance**: 145 tok/s generation, 4.7GB memory on Apple Silicon ## Full Version Want more OCR features, batch processing, and additional AI tools? Check out the full version at **[LocoreMind](https://app.locoremind.com/tools/ocr/)**. ## Like This Space? If you find this demo useful, please give it a ❤️ **Like** — it helps more people discover it! ## Architecture Frontend: Static HTML/CSS/JS UI with Mario pixel-art style (HuggingFace Space) Backend: MLX server running Qianfan-OCR-MLX-4bit on Apple Silicon Mac Connection: Cloudflare Tunnel