인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
데이터 및 연구 · SKILL.md

training-and-data

training-and-data

Guides optional ltp_core training, evaluation, Hydra configuration, and data-format preparation workflows.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: training-and-data description: "Guides optional ltp_core training, evaluation, Hydra configuration, and data-format preparation workflows." disable-model-invocation: true metadata: disco-role: operating license: CC BY-NC 4.0

Training and Data

Use this sub-skill for optional deep-learning training/evaluation workflows in ltp_core: Hydra config selection, command construction, checkpoint evaluation, task data layouts, data validation, and safe CPU/GPU trainer decisions.

Choose this route when

  • The user asks about ltp_core.train, ltp_core.eval, Hydra overrides, configs/, train.sh, eval.sh, checkpoints, or custom model training.
  • The task is to prepare CWS/POS/NER/SRL/DEP/SDP data, vocabs, or config overrides.
  • The user needs to validate a tiny dataset or build a train/eval command without launching training.
  • The task names CRF, task adapters, Lightning modules, metrics, or config groups.

For inference-only work, use ../python-pipeline/SKILL.md. For legacy perceptron trainer APIs, use ../legacy-extension/SKILL.md.

Safe workflow

  1. Check basic ltp_core importability from the root:

    python ../../scripts/check_ltp_install.py --json
    
  2. Validate the user's data layout before command construction:

    python scripts/validate_ltp_training_data.py --task ner --data-dir /path/to/ner-data
    python scripts/validate_ltp_training_data.py --task conllu --data-dir /path/to/conllu-data
    
  3. Build a command string without running it:

    python scripts/build_train_command.py --mode train --experiment cws --trainer cpu
    python scripts/build_train_command.py --mode eval --experiment dep --ckpt-path /path/to/checkpoint.ckpt
    
  4. Run training/eval only after the user accepts long-running jobs, data/model access, and optional GPU/logging side effects.

Read these references

Bundled helpers

Boundaries

  • This sub-skill does not automatically install broad training dependencies or run training.
  • Training configs and data examples are distilled here; future agents should not open original repo config files as runtime documentation.
  • GPU/CUDA is optional for command construction. Actual GPU training verification requires an explicit user-approved run.
저장한 Skills