本文へ移動
cccskills
無料GitHub で公開

donut

Use Donut for OCR-free document understanding, checkpoint inference, fine-tuning, evaluation, and SynthDoG synthetic document generation.

インストール方法を見る

含まれるファイル(44)

  • SKILL.md4.7 KB
  • references/api-reference.md6.5 KB
  • references/repo-provenance.md3.6 KB
  • references/repo-routing-metadata.json489 B
  • references/troubleshooting.md5.2 KB
  • references/workflow-map.md5.2 KB
  • scripts/runtime_smoke.py6.5 KB
  • sub-skills/inference/references/demo-and-prediction.md6.3 KB
  • sub-skills/inference/references/troubleshooting.md4.5 KB
  • sub-skills/inference/scripts/launch_demo.py3.8 KB
  • sub-skills/inference/scripts/run_inference.py5.5 KB
  • sub-skills/inference/SKILL.md2.2 KB
  • sub-skills/synthdog/references/configs/config_en.yaml2.6 KB
  • sub-skills/synthdog/references/configs/config_ja.yaml2.6 KB
  • sub-skills/synthdog/references/configs/config_ko.yaml2.6 KB
  • sub-skills/synthdog/references/configs/config_zh.yaml2.6 KB
  • sub-skills/synthdog/references/configuration.md3.9 KB
  • sub-skills/synthdog/references/resource-layout.md2.0 KB
  • sub-skills/synthdog/references/troubleshooting.md3.3 KB
  • sub-skills/synthdog/references/workflows.md2.8 KB
  • sub-skills/synthdog/scripts/elements/__init__.py323 B
  • sub-skills/synthdog/scripts/elements/background.py608 B
  • sub-skills/synthdog/scripts/elements/content.py3.5 KB
  • sub-skills/synthdog/scripts/elements/document.py2.4 KB
  • sub-skills/synthdog/scripts/elements/paper.py391 B
  • sub-skills/synthdog/scripts/elements/textbox.py1.1 KB
  • sub-skills/synthdog/scripts/layouts/__init__.py169 B
  • sub-skills/synthdog/scripts/layouts/grid_stack.py2.4 KB
  • sub-skills/synthdog/scripts/layouts/grid.py2.3 KB
  • sub-skills/synthdog/scripts/render_config.py6.6 KB
  • sub-skills/synthdog/scripts/template.py5.0 KB
  • sub-skills/synthdog/SKILL.md2.5 KB
  • sub-skills/training/references/configs/train_cord.yaml940 B
  • sub-skills/training/references/configs/train_docvqa.yaml647 B
  • sub-skills/training/references/configs/train_rvlcdip.yaml659 B
  • sub-skills/training/references/configs/train_zhtrainticket.yaml578 B
  • sub-skills/training/references/configuration.md5.0 KB
  • sub-skills/training/references/troubleshooting.md4.1 KB
  • sub-skills/training/references/workflows.md5.0 KB
  • sub-skills/training/scripts/check_training_config.py12.4 KB
  • sub-skills/training/scripts/evaluate_dataset.py10.2 KB
  • sub-skills/training/scripts/lightning_module.py7.6 KB
  • sub-skills/training/scripts/train_donut.py6.6 KB
  • sub-skills/training/SKILL.md2.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Donut

Use this repo skill when the task involves NAVER/ClovaAI Donut: OCR-free document understanding with a Swin encoder and BART-like decoder, plus SynthDoG synthetic document generation. This skill is self-contained; do not reopen the original checkout for routine Donut usage.

Route by task

User intentRead or run
Load a Donut checkpoint, run one-image prediction, compare prompts, or start the Gradio demosub-skills/inference/SKILL.md
Fine-tune, validate dataset JSONL, evaluate a checkpoint, read metrics, or debug configs/checkpointssub-skills/training/SKILL.md
Generate synthetic document images, render SynthDoG configs, or adapt resources/fonts/corporasub-skills/synthdog/SKILL.md
Inspect public package APIs, signatures, token helpers, and object relationshipsreferences/api-reference.md
Decide which bundled workflow helper or sub-skill owns a requestreferences/workflow-map.md
Diagnose install/import, Hugging Face, CUDA, Gradio, dataset, or SynthDoG dependency failuresreferences/troubleshooting.md
Check source baseline, commit, version, and refresh triggersreferences/repo-provenance.md

Fast start

  1. Install a Donut-capable Python environment. For inference only, pip install donut-python plus a compatible PyTorch build is the starting point. Training needs CUDA-capable PyTorch. SynthDoG generation also needs synthtiger and its image/text dependencies.
  2. Smoke-check the environment without the source repo:
    python scripts/runtime_smoke.py
    python scripts/runtime_smoke.py --check all --require-cuda  # when training and SynthDoG are in scope
    
  3. Route to a sub-skill before giving detailed commands. Each sub-skill owns its own scripts and troubleshooting notes.

Core facts to preserve

  • Package distribution: donut-python; import module: donut.
  • Public exports include DonutConfig, DonutModel, DonutDataset, JSONParseEvaluator, load_json, and save_json.
  • DonutModel.from_pretrained(...) loads local or Hugging Face checkpoints and requests the Donut repositories' official revision.
  • DonutModel.inference(...) returns a dictionary with a predictions list; parsed JSON is the default output.
  • Dataset rows use file_name plus a JSON-encoded ground_truth string containing either gt_parse or gt_parses.
  • Training is GPU-oriented in the original scripts; do not promise CPU training equivalence.
  • No model weights, datasets, or large SynthDoG assets are bundled in this skill. Users must provide checkpoints, images, datasets, and SynthDoG resources.

Bundled helpers

Boundaries

Use Donut for OCR-free document-image understanding, classification, extraction, visual QA, and synthetic-document pretraining data generation. Do not use this skill for generic PDF parsing, OCR engines, RAG chunking, non-document computer vision models, or unrelated Transformers training unless Donut APIs, checkpoints, config files, errors, or data formats are central to the request.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa

無料

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa-v2

無料

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

ab3dmot

無料

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

acme

無料

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する