shikumi-optimize: The optimizer framework for shikumi LM programs (EP-10)

[ ai, bsd3, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

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]