界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
文档与办公 · SKILL.md

synthdog

synthdog

【文档与办公】Generate synthetic OCR-free document datasets with SynthDoG, render language-specific configs, and adapt the template for custom corpora.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: synthdog description: "Generate synthetic OCR-free document datasets with SynthDoG, render language-specific configs, and adapt the template for custom corpora." disable-model-invocation: true metadata: disco-role: operating license: MIT

SynthDoG

Use this sub-skill when a user wants to generate synthetic document samples, make OCR-free document data, swap between the English/Japanese/Korean/Chinese template configs, or adapt SynthDoG to a new corpus.

Route first

Boundaries

  • Include: template behavior, background/document/content/layout helper modules, language configs, resource requirements, CLI invocation through synthtiger, output directory and metadata layout, tiny-fixture generation.
  • Exclude: Donut training, inference, and evaluation metrics.

Quick checks

  • python scripts/render_config.py --help
  • synthtiger --help if SynthDoG is installed in the active environment
  • python -m py_compile scripts/render_config.py scripts/template.py scripts/elements/*.py scripts/layouts/*.py

What to do

  1. Choose the language bundle and resource root.
  2. Render a config with scripts/render_config.py.
  3. Run synthtiger from this sub-skill root with scripts/template.py, the SynthDoG template class name, and the rendered config.
  4. Inspect the split directories and metadata.jsonl files that template.py writes.
  5. If the user later wants model training on the generated data, route the dataset to the training sub-skill.
我的收藏