본문으로 건너뛰기
Skillpedia
머신러닝18k · #10619

training-check

하는 일

이 스킬은 기계 학습 학습 실행을 계속 살피며, 여전히 계속할 가치가 있는지 알려 줍니다. 실패하는 실행을 일찍 알고 싶은 연구자를 위한 스킬입니다.

사용하는 경우

  • ✓학습 실행이 진행 중이고 주기적인 상태 점검을 원할 때.
  • ✓NaN 값, 발산 또는 멈춘 손실을 일찍 발견하고 싶을 때.
  • ✓각 점검마다 짧은 보고서와 다음 점검 시각을 받고 싶을 때.

스킬 링크

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/training-check/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/training-check/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 학습 실행을 계속 지켜보고, NaN 값, 발산 또는 정체가 생기면 30분마다 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 각 점검 때 WandB 또는 대체 로그에서 학습 지표를 읽고 짧은 상태 분석을 작성합니다. 다음 점검 시각을 알리고, 같은 세션에서 계속 모니터링합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Training Check

Before each reviewer slot, follow Selectable Reviewers: resolve invocation → .aris/reviewer.json → Codex default (fresh native reviewer) with reviewer_route.py through the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only to backend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections are REVIEW_UNAVAILABLE. Classify acceptance from actual families/completion/scope. Forward invocation reviewer/model/effort overrides to reviewer-bearing children. Generation workers are unchanged.

You are now in interactive watch / 交互式训练监控模式.

Keep the current session open and report directly in the current terminal. The user is watching this terminal for updates. By default, run a training health check every 30 minutes, output a concise but complete analysis report after each check, state the next check time, then continue monitoring.

This skill checks training quality, not basic process health. Process health checks such as whether a tmux session exists or whether the GPU is idle can be handled by watchdog-style tooling; this skill focuses on whether the run is still worth continuing.

Inputs To Establish First

Before the first check, identify or ask for the minimum monitoring context:

  • WandB run path or URL, if available.
  • Fallback log path, SSH command, or local command for reading recent training logs.
  • Training target, expected baseline, and key metrics that define success.
  • How the training was launched, so it can be stopped if needed.
  • Project notes path for recording decisions and evidence.

If a source is unavailable, say so clearly and continue with the available source. If both WandB and fallback logs are unreachable, report the connectivity issue, classify the round as WAIT, and check again later. Do not infer that training is bad only because data is unreachable.

Per-Round Check

Every round, read WandB first when configured. If WandB is unreachable, read the fallback logs. Inspect at least:

  • Training loss trend over recent checkpoints or steps.
  • Eval metrics and whether they improve, flatten, or degrade against baseline.
  • NaN or Inf in loss, gradients, activations, or logged metrics.
  • Sudden loss spikes, divergence, or repeated failed evaluations.
  • Learning rate schedule behavior.
  • Gradient norm, if logged.
  • Plateau patterns that suggest the run is no longer useful.

Output one report in the current terminal with this structure:

## Training Check - <local timestamp>

- Data source: wandb_ok | log_fallback | unreachable
- Run: <wandb run or training identifier>
- Recent metrics: <loss/eval/lr/grad summary>
- Anomalies: <NaN/Inf/spike/divergence/plateau findings>
- Evidence: <WandB URL, log lines, metric values, or files inspected>
- Decision: CONTINUE | WAIT | STOP
- Reason: <why this decision is justified>
- Next check: <local timestamp, normally 30 minutes later unless ending>

Use the decisions as follows:

Decision Meaning Action
CONTINUE Run looks healthy enough to keep training. Keep monitoring and check again in 30 minutes.
WAIT Evidence is inconclusive, noisy, too early, or temporarily unreachable. Do not stop training; keep monitoring and check again later.
STOP Training is clearly problematic or no longer worth continuing. Stop the training task, save evidence, write notes, output final summary, and end monitoring.

Stop Behavior

When the decision is STOP:

  • Stop the training task.
  • If the context contains stop_command, run stop_command first.
  • If no stop_command is available, choose the appropriate stop action from how the training was launched, such as stopping the relevant tmux session, local process, remote process, scheduler job, or notebook job.
  • Save evidence: WandB URL, key metrics, relevant log snippets, files inspected, and the reason for stopping.
  • Append a project note for debugging and future analysis.
  • Output FINAL_SUMMARY in the terminal.
  • End the interactive monitoring loop.

Never stop on the first sign of ordinary metric noise. Look for sustained trends, hard failures, or clear divergence. Always preserve enough evidence for a later agent or human to understand why the run was stopped.

자주 묻는 질문

GPU가 바쁜지도 확인하나요?

아니요. 학습 품질에 집중하며, 단순한 프로세스 점검은 watchdog 도구가 맡습니다.

얼마나 자주 점검하나요?

기본값은 30분마다이며, 매 라운드마다 다음 점검 시각을 알립니다.

지표는 어디에서 읽나요?

가능하면 WandB에서, 그렇지 않으면 대체 로그에서 읽습니다.

상세 정보

작성자의 원본 설명

Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

인기도

GitHub 스타
18k
순위
#10619
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬