Run this model with HF Jobs

Run aglaia-models/surya-det-mlx on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/aglaia-models/surya-det-mlx. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/aglaia-models/surya-det-mlx on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Surya Text-Line Detection — MLX

MLX port of surya's EfficientViTForSemanticSegmentation text-line detector (EfficientViT-L backbone + SegFormer head). Box-F1 vs the original ~0.99-1.00 on sample documents (see bench/RESULTS.md). Loads torch-free via this project's surya2_mlx.detection.

Changes from the original

Weights converted to MLX (NHWC) format. No fine-tuning. Architecture and source: https://github.com/datalab-to/surya (Apache-2.0 code; weights under datalab terms).

Downloads last month
7
Safetensors
Model size
38.4M params
Tensor type
F32
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support