Logo vun Tune Hyperparameters

Tune Hyperparameters

Communautéit
Scripter36
tune-hyperparameters

Derive and run bounded, training-only Pareto HPO for an InstantMimic environment, especially after migration. Use when selecting a safe parameter whitelist and blacklist, calibrating active-training-time and evaluation budgets, comparing learning quality against speed, or running the search locally or through SSH and Slurm.

Iwwersiicht

EditeurScripter36
RepositoryInstantMimic
Skill-Nummtune-hyperparameters
Stären
20
Forks
1
Matgeliwwert Fichieren
5
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 5 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum Scripter36 op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Tune Hyperparameters an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Scripter36/InstantMimic/tree/main/plugins/instantmimic-workflows/skills/tune-hyperparameters
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Scripter36/InstantMimic.git /tmp/InstantMimic
mkdir -p .claude/skills
cp -r /tmp/InstantMimic/plugins/instantmimic-workflows/skills/tune-hyperparameters .claude/skills/tune-hyperparameters
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Tune Hyperparameters an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Tune Hyperparameters automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Tune Hyperparameters net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Tune Hyperparameters

Run this as one approved autonomous state machine. Treat the environment and evaluator as the benchmark; tune only the learning system.

Vocabulary

These terms have exact meanings here. Do not substitute a colloquial reading.

TermMeaning
candidateOne complete proposed configuration. It yields exactly one Pareto point, not one point per evaluation.
semantic axisOne idea being varied. The default axis is one scalar or list path; a coupled bundle is one axis with 2–4 complete labeled variants.
coupled bundleA multi-path axis used only when changing one member alone produces an invalid, uncalibrated, or misleading candidate. Every member path must already be in parameter_space.
active timeTraining seconds excluding benchmark, checkpoint, queue, bootstrap, and compile time. Budgets and AUC are measured in active time only.
final qualityThe frozen quality statistic of the checkpoint that would actually be deployed or played, aggregated over the frozen seed set.
anytime qualityNormalized AUC of the quality curve over the active-time budget.
frontierThe epsilon-Pareto archive over (final quality, anytime quality). It is the authoritative result.
anchorThe frontier point currently being extended. A temporary view, never a result.
frontier roleWhich anchor is selected next: balanced, final_quality, or anytime_quality.
execution fingerprintSource snapshot + dependency lock + Python/runtime + simulator/CUDA stack + GPU model + GPU sharing (one evaluator per GPU) + evaluator contract. Bootstrap happens once per fingerprint.
transport / executorIndependent fields. transport: local | ssh is how the agent reaches the host running the outer loop; executor: direct | hq | slurm is who allocates the GPU. They map to runtime.evaluator.launcher (local, hq, slurm), which both scalar and Pareto tasks accept through one shared launcher layer.
invalid candidateAny candidate whose seed crashed, diverged, timed out, changed evaluated work, or produced incomplete evidence. It never enters the frontier, regardless of its numbers.

Invariants

Assert these at every phase boundary. Later phases reference them by id.

  • A1 Orientation. For new or unfamiliar work, read README.md, applicable repository instructions and task documentation before the composed config and runtime consumer. For a known task, read its canonical run state and any owning workspace README first. Obey applicable nested instructions and preserve unrelated changes.
  • A2 Benchmark is frozen. Environment dynamics, assets, observations, actions, reward and reward scale, termination, reset and cross-episode state, evaluator settings, seeds, graph and compile modes, logger/checkpoint cadence, and search-budget controls are never search axes. Each evaluator runs alone on its GPU: co-locating evaluators (for example several clients under NVIDIA MPS) makes active training time depend on the co-tenants, so it invalidates the speed objective and active-time budgets.
  • A3 Correctness precedes search. Require fresh target-environment correctness and stable-learning evidence first. HPO must not tune around a semantic defect. Exact source-simulator learning parity is not required unless a frozen migration contract made it a hard gate.
  • A4 Allowlist is exact. parameter_space is a list of exact dotted Hydra paths, verified against the composed config before GPU work. The runtime treats it as the exact proposal allowlist and implements no discovery or review of its own.
  • A5 Authority. Reuse the user's existing authorization. Ask once only for missing material scope or authority (remote setup, spending, model subprocesses, publication). Within authorized scope, execute and record routine decisions without another confirmation gate.
  • A6 Requested budgets. Preserve the user's cycle count and per-trial active time. If cycles are unspecified, choose and state a finite count. Do not infer an overall wall-clock, GPU-hour or no-improvement cutoff from a per-trial budget; apply those overall limits only when explicitly requested. Freeze retry rules and preserve exact resume semantics.
  • A7 Quiet execution. One contract summary, batched phase updates, occasional long-run heartbeats, one terminal report.

Run State

The search is resumable because the runtime persists it. Read state from disk, never from conversation memory.

text
<run_dir>/state/
  status.yaml                    # schema_version 2; current cycle; resume pointer
  strategy.md                    # planner strategy and axis registry
  progress.md                    # per-cycle narrative
  results.tsv                    # one row per candidate, fixed header
  cycles/NNN/                    # per-cycle proposal and evidence
  objective/
    pareto_frontier.md           # AUTHORITATIVE result for a frontier task
    pareto_frontier.json         # machine-readable frontier
  best_result.md                 # the comparator's own rendering of the best

status.yaml records last_status (lifecycle: completed, failed:<phase>, or dry_run) and last_decision (the comparator's verdict) as separate fields. A scalar discard is an ordinary result, not a failure.

Resume refuses state from an incompatible schema version; start a fresh run instead of editing status.yaml.

Resume by pointing the runtime at that directory and raising the terminal cycle:

bash
uv run run_hpo --config-name hpo/<task> \
  runtime.resume=<run_dir> runtime.cycles=<final_cycle_index>

runtime.cycles is the final cycle index, not a delta: resuming a run at cycle 40 with runtime.cycles=60 executes cycles 41–60.

Resume Fast Path

When continuing a run, start from its run directory, state/status.yaml and exact resume command. Read an owning workspace README only when one exists; the controller's canonical state lives under logs/hpo/. Mechanically compare the persisted run contract, including task YAML, run directory, inline parameter space, objective, seeds, budget, evaluator, backend/runtime path, logger state, and source/config fingerprint. If they match, launch the requested additional cycles.

Do not redesign the parameter space, change seed count, create a new run, or modify runtime code before attempting the supported exact resume. If the task YAML no longer matches the persisted run, stop before GPU work and report the mismatch. For urgent unattended continuation, establish tmux or the requested supervisor and verify the active cycle before documentation or broader validation.

Phase Loading

Read only the reference for the active phase group, then persist its exit artifact before advancing.

StateLoadExit artifactAsserts
intake → approvedContractself-contained task YAML and frozen search contractA1, A2, A3, A4, A5
approved → readyBootstrapverified execution path and resumable full-search launchA4, A6
ready → searchedSearchvalidated Pareto archive under state/objective/A2, A6, A7
searched → reportedReviewrecommendation and resumable handoffA2, A6

Do not advance past an unresolved validity gate. Continue independent work, then record the gate as missing, invalid, or blocked without weakening it.

Resource Rule

Load only execution guidance needed by the already selected backend. Do not load remote-resource procedures for a local continuation, or local procedures for a frozen remote run. Model new execution choices as independent transport and executor; do not reopen that choice on an exact resume. Repository policy overrides this skill's generic defaults.

Terminal Rule

Before reporting completion, reinspect the final state and require fresh evidence for the frozen scope, resource fingerprint, evaluated work, per-seed validity, objective extraction, and Pareto calculation. Otherwise report the bounded work as incomplete; never promote a numerically attractive invalid candidate.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Tune Hyperparameters?

Derive and run bounded, training-only Pareto HPO for an InstantMimic environment, especially after migration. Use when selecting a safe parameter whitelist and blacklist, calibrating active-training-time and evaluation budgets, comparing learning quality against speed, or running the search locally or through SSH and Slurm.

Firwat Tune Hyperparameters op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Tune Hyperparameters besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Tune Hyperparameters an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Scripter36/InstantMimic/tree/main/plugins/instantmimic-workflows/skills/tune-hyperparameters an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Tune Hyperparameters benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Tune Hyperparameters benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Tune Hyperparameters domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Tune Hyperparameters gratis?

Jo. De Skill gëtt vum Scripter36 ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇