AIAny
Icon for item

OCR UV Scripts

A collection of ready-to-run Hugging Face Jobs OCR scripts that add a markdown column (or structured JSON) to image datasets, with model switching, layout detection, server-mode serving, and per-model options for table/form extraction.

Introduction

Most document OCR workflows require stitching together layout detection, OCR, and post-processing for each dataset. OCR UV Scripts flips that common pain point into a one-command workflow: a curated model zoo of small scripts you run as Hugging Face Jobs to turn any image dataset into a dataset with OCR outputs (markdown by default) or schema-guided JSON.

What Sets It Apart
  • One-command Jobs: each script is a self-contained job URL you can run with hf jobs uv run; results are pushed back as a new dataset with an added markdown column, enabling reproducible dataset-roundtrips.
  • Model zoo + per-collection benchmarking: dozens of scripts target different VLMs and classical OCR engines (Tesseract, PaddleOCR, many vLLM-based models); you can run multiple models on the same repo and assemble a per-collection leaderboard with pairwise judging.
  • Structured extraction & serving: several scripts return JSON given a schema/template (image→JSON), and many have server-mode siblings to serve models as temporary OpenAI-compatible endpoints for interactive or multi-page workloads.
  • Practical deployment notes: scripts call out required Docker images (e.g. vllm/vllm-openai) and CUDA/tooling pitfalls, plus resume/checkpoint helpers for large jobs.
Who It's For & Tradeoffs

Great fit if you need to process document/image corpora without building a custom pipeline — researchers, archivists, and teams evaluating OCR models will save integration time and get reproducible outputs and cards. It’s also useful for agents or pipelines that need an automated OCR step (markdown or JSON).

Look elsewhere if you need tightly integrated, production-grade document ingestion with custom scalability guarantees or proprietary licensing constraints: some models require pinned images or non-permissive model licenses, and large-scale, low-latency production serving may need a dedicated deployment beyond Jobs-serving. Also, per-document accuracy still depends on model choice and document type; expect to benchmark several scripts on your own data.

Information

Categories

More Items

Hugging Face

Evaluates retrievers and search agents on synthetic multi-hop questions that require assembling a complete set of supporting evidence. Provides English and Russian variants (395 questions each), a fixed dense index embedded with Qwen3-Embedding-8B, and BrowseComp-Plus evaluation integrations.

Hugging Face

Provides re-annotated academic video instruction data for captioning, video QA, and fine-grained motion understanding; rewrites short answers and concise captions into evidence-grounded, instruction-following responses and supplies JSONL annotation files (original videos not included).

Hugging Face

Provides 324 Russian short-answer web-search tasks with gold supporting documents to evaluate fixed-index retrievers and search agents. Tasks span eight topical categories and five retrieval challenge types (multihop, structured evidence, temporal, entity disambiguation, comparative) and use a Qwen3-Embedding-8B index for evaluation.