shikumi-optimize: The optimizer framework for shikumi LM programs (EP-10)
The optimizer framework for shikumi: search procedures that automatically
improve a Shikumi.Program.Program by rewriting its per-node optimizable
parameters (instruction strings and few-shot demonstrations) and scoring each
candidate with evaluate (EP-8) over a typed dataset and metric. Four
strategies ship — labeled few-shot demo selection, bootstrap few-shot (recover
demonstrations from a teacher's successful runs), instruction search
(MIPRO/COPRO-style coordinate ascent under an explicit call budget), and
ensemble search (combine complementary candidates by majority vote). Each
optimizer returns a CompiledProgram (EP-9, MasterPlan integration point #6).
Every acceptance assertion runs fully offline against a deterministic stub LM,
so the whole package tests with no network and no API key.
Modules
[Index] [Quick Jump]
- Shikumi
- Shikumi.Optimize
- Shikumi.Optimize.Bootstrap
- Shikumi.Optimize.COPRO
- Shikumi.Optimize.Ensemble
- Shikumi.Optimize.GEPA
- Shikumi.Optimize.Instruction
- Shikumi.Optimize.KNN
- Shikumi.Optimize.LabeledFewShot
- Shikumi.Optimize.MIPRO
- Shikumi.Optimize.Pareto
- Shikumi.Optimize.Propose
- Shikumi.Optimize.RandomSearch
- Shikumi.Optimize.Search
- Shikumi.Optimize.Types
- Shikumi.Optimize
Downloads
- shikumi-optimize-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson, base (>=4.20 && <5), containers, effectful, shikumi (>=0.1.0.0 && <0.2), shikumi-compile (>=0.1.0.0 && <0.2), shikumi-eval (>=0.1.0.0 && <0.2), shikumi-trace (>=0.1.0.0 && <0.2), text (>=2.1 && <2.2), vector [details] |
| License | BSD-3-Clause |
| Author | Nadeem Bitar |
| Maintainer | nadeem@gmail.com |
| Uploaded | by shinzui at 2026-06-13T15:27:01Z |
| Category | AI |
| Distributions | |
| Downloads | 4 total (4 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |