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
|