Logo van Tune Hyperparameters

Tune Hyperparameters

Community
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.

Overzicht

UitgeverScripter36
RepositoryInstantMimic
Skillnaamtune-hyperparameters
Sterren
20
Forks
1
Meegeleverde bestanden
5
LicentieApache-2.0
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 5 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door Scripter36 op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Tune Hyperparameters in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Scripter36/InstantMimic/tree/main/plugins/instantmimic-workflows/skills/tune-hyperparameters
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Tune Hyperparameters in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Tune Hyperparameters automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Tune Hyperparameters niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-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.

Waarom Tune Hyperparameters gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Tune Hyperparameters bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Tune Hyperparameters in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Scripter36/InstantMimic/tree/main/plugins/instantmimic-workflows/skills/tune-hyperparameters. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Tune Hyperparameters gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Tune Hyperparameters gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Tune Hyperparameters ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Tune Hyperparameters gratis?

Ja. Deze skill is door Scripter36 op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇