Instructions to use groxaxo/TeleOCR-oQ4-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use groxaxo/TeleOCR-oQ4-MLX with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("groxaxo/TeleOCR-oQ4-MLX") config = load_config("groxaxo/TeleOCR-oQ4-MLX") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
TeleOCR oMLX oQ4
Text-and-vision OCR checkpoint quantized on this Mac from the official TeleOCR BF16 weights. The base model is XingChen-AGI/TeleOCR revision e92585356c0d0b7b7a65938f3da035c6593cc9a6. Upstream license is Apache-2.0. Project page: caipeng328/TeleOCR.
What this file is
model.safetensors is 1,749,903,052 bytes. config.json records affine quantization, 4 bits, group size 64. SHA256SUMS is the hash of the uploaded files.
The quantizer was oMLX quantize_oq_streaming from checkout jundot/omlx commit 70f44cfd652d2013dc0f9776dca7518e32101b00, with oq_level=4, group_size=64, BF16 residuals, text_only=False, enhanced=False, and trust_remote_code=True. Calibration used the built-in code_multilingual corpus, 128 samples of 256 tokens. This level finished in 7.802 seconds on 7 October 2026. The quantizer logged 5.65 bpw with 0 boosts and that the mlx-vlm sanitize chain preserves the vision weights. Layer 0 had the highest recorded sensitivity, 0.0034.
MLX reported a peak of 3,546,131,464 bytes during the three-level run that produced oQ8, then oQ6, then oQ4. The counter was not reset between levels, so this is the run peak rather than a separate measurement for oQ4.
teleocr_mlx.py is the local adapter. TeleOCR uses 128-wide heads, bias-free projections, and per-head query/key RMSNorm. This folder was not run through the 2 October OCR comparison. Those character-error figures belong to oQ5 and the BF16 source, not to this 4-bit file.
The pinned BF16 source SHA-256 recorded on 2 October 2026 is 9817b18041bd96403f75e38a33b28ed0cd5fb2641f67eead673afabd3c408109.
Use
Serve the parent directory with an oMLX build that can load the bundled teleocr_mlx.py adapter. The directory name is the model id.
omlx serve --model-dir /path/to/parent --host 127.0.0.1 --port 8000
Request model TeleOCR-oQ4.
- Downloads last month
- 46
4-bit
Model tree for groxaxo/TeleOCR-oQ4-MLX
Base model
XingChen-AGI/TeleOCR