中文简介
uv-scripts/ocr 是 uv-scripts 在 Hugging Face 发布的数据集仓库,当前卡片主要关联上游卡片所列任务。本站固定记录上游版本 8ecca4c1841f,同步到 55 个文件,文件元数据合计 48.86 MB;访问状态为“公开”,许可证字段为“上游卡片未声明”。
上游模型卡 / 数据集卡
【README 卡片中文译介】
以下内容依据上游仓库 uv-scripts/ocr 的固定版本 README、卡片字段和文件元数据进行中文结构化整理。它保留便于选型的关键信息,完整技术细节、代码示例和许可文本请同时查看上游原文。
【资源概览】
uv-scripts/ocr 是 uv-scripts 在 Hugging Face 发布的数据集仓库,当前卡片主要关联上游卡片所列任务。本站固定记录上游版本 8ecca4c1841f,同步到 55 个文件,文件元数据合计 48.86 MB;访问状态为“公开”,许可证字段为“上游卡片未声明”。
【适用方向】
适合在明确数据字段、拆分和许可证后,用于上游卡片所列任务相关的训练、评测或研究。 正式使用前应先抽样检查字段、语言、重复项、敏感信息和训练/测试划分,避免只依据仓库名称判断数据质量。
【版本与规格】
固定版本:8ecca4c1841f。 任务标签:上游卡片所列任务。 上游页面记录的最近更新时间:2026-07-16。
【文件信息】
上游 API 返回 55 个文件,文件元数据合计 48.86 MB。 已保存文件清单中的主要扩展名:.py 40 个、.md 7 个、.gif 3 个、.json 3 个、.cast 1 个、无扩展名 1 个。 当前较大的文件包括:bigger-font.gif(29.63 MB);first.gif(14.54 MB);demo.gif(4.69 MB)。
【运行或处理环境】
仓库文件元数据合计 48.86 MB。仅按下载、解压和临时文件估算,建议至少预留约 58.63 MB 可用磁盘;实际需求还取决于压缩率、缓存、数据转换和训练副本,正式处理前应以完整文件清单重新测算。
【使用边界】
上游卡片没有提供明确许可证字段,下载、训练、商用或再分发前必须打开原始仓库确认授权条件。 数据集还需核对样本来源、隐私与个人信息、标签质量、地域偏差及下游模型的合规要求。
OCR UV Scripts Part of uv-scripts — self-contained UV scripts you run on Hugging Face Jobs in one command. A model zoo of OCR scripts — one per model — that add a `markdown` column to an image dataset. Pick a model from the table below, point it at your dataset, and run it on a GPU with one command. A few recipes do **structured extraction** instead — image *or* text → JSON given a schema (see Structured extraction below). Two more companions sit alongside: `pp-doclayout.py` detects layout regions (bboxes for text/title/table/figure/…) instead of text, and `ocr-vllm-judge.py` compares model outputs head-to-head. Quick Start Run OCR on any dataset without needing your own GPU: This will: Process the first 10 images from your dataset Add OCR results as a new `markdown` column Push the results to a new dataset View results at: `https://huggingface.co/datasets/[your-output-dataset]` Serve a model as a live endpoint The recipes here run as batch jobs. Some models also have a **`-server.py` sibling recipe** that runs the same dataset→dataset batch job through an in-job `vllm serve` + concurrent driver — measurably faster (continuous batching stays fed) and more robust (one bad image fails one request, not a whole batch); see SERVING.md for the architecture, A/B numbers, and which models officially document server mode. To call a model interactively, from an agent, or with concurrent ad-hoc requests, you can instead run it as a temporary endpoint: HF Jobs serving exposes a port on a GPU Job, giving an OpenAI-compatible endpoint that runs until the job is cancelled or its `--timeout` is reached. See serving-unlimited-ocr.md for a worked example serving Baidu's Unlimited-OCR — with vLLM (official image) or SGLang. To OCR a whole corpus of single-page images instead, the batch recipe `unlimited-ocr-vllm.py` is the better fit (it's single-image only). **Multi-page** documents need a server: both vLLM and SGLang read clean multi-page docs, but **SGLang is the more robust** — on
适用场景
适合在明确数据字段、拆分和许可证后,用于上游卡片所列任务相关的训练、评测或研究。 正式使用前应先抽样检查字段、语言、重复项、敏感信息和训练/测试划分,避免只依据仓库名称判断数据质量。
规模与格式
固定版本:8ecca4c1841f。 任务标签:上游卡片所列任务。 上游页面记录的最近更新时间:2026-07-16。
文件说明
上游 API 返回 55 个文件,文件元数据合计 48.86 MB。 已保存文件清单中的主要扩展名:.py 40 个、.md 7 个、.gif 3 个、.json 3 个、.cast 1 个、无扩展名 1 个。 当前较大的文件包括:bigger-font.gif(29.63 MB);first.gif(14.54 MB);demo.gif(4.69 MB)。
上游文件元数据
.gitattributes2.40 KBabot-ocr.py20.28 KBAGENTS.md4.99 KBbigger-font.gif29.63 MBCLAUDE.md21.78 KBdeepseek-ocr-vllm.py21.20 KBdeepseek-ocr.py21.41 KBdeepseek-ocr2-vllm.py22.04 KBdemo.cast247.15 KBdemo.gif4.69 MBdots-mocr.py27.09 KBdots-ocr.py22.40 KB
硬件建议
仓库文件元数据合计 48.86 MB。仅按下载、解压和临时文件估算,建议至少预留约 58.63 MB 可用磁盘;实际需求还取决于压缩率、缓存、数据转换和训练副本,正式处理前应以完整文件清单重新测算。
注意事项
上游卡片没有提供明确许可证字段,下载、训练、商用或再分发前必须打开原始仓库确认授权条件。 数据集还需核对样本来源、隐私与个人信息、标签质量、地域偏差及下游模型的合规要求。
获取、校验与交付
咨询此资源时只需发送本页链接或资源准确全称。橙子AI科技会继续核对版本、文件与类型、README资料卡、许可证和访问条件,并在合法访问权限、许可证及平台规则允许的前提下,协助海内外下载、完整性校验及网盘或硬盘交付;本官网本身不托管或下载资源文件。
本页面为橙子AI科技基于固定版本上游卡片整理的中文信息与服务说明,不代表资源作者或平台官方页面。实际许可、访问和使用条件以上游原文为准。