mirror of
https://github.com/microsoft/SkillOpt.git
synced 2026-07-03 22:24:36 +08:00
- Rename teacher -> optimizer, student -> target across all code, configs, docs, prompts - CLI: --teacher_model -> --optimizer_model, --student_model -> --target_model - Remove best_skill files, keep only initial skills - Fix slow update gate (force write into skill) - Fix SLOW_UPDATE marker stripping - Remove deep_reflect and meta_reflect mechanisms - Update .env.example with export prefix and azure_cli docs - Add endpoint empty validation in azure_openai.py Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
16 lines
628 B
Python
16 lines
628 B
Python
"""SkillOpt Optimizer -- skill update operations.
|
|
|
|
Analogous to the optimizer in neural network training: applies the computed
|
|
"gradient" (patches) to the current skill document to produce an updated
|
|
candidate skill.
|
|
|
|
Modules
|
|
-------
|
|
- skill: edit application (optimizer.step() / parameter update)
|
|
- clip: edit ranking and selection (gradient clipping)
|
|
- slow_update: longitudinal comparison and guidance (EMA / regularization)
|
|
- meta_skill: cross-epoch memory for optimizer context
|
|
"""
|
|
from skillopt.optimizer.skill import apply_edit, apply_patch # noqa: F401
|
|
from skillopt.optimizer.clip import rank_and_select # noqa: F401
|