2026-02-22 18:55:57 +00:00
|
|
|
package lemcmd
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"forge.lthn.ai/core/go/pkg/cli"
|
|
|
|
|
"forge.lthn.ai/lthn/lem/pkg/lem"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func addGenCommands(root *cli.Command) {
|
|
|
|
|
genGroup := cli.NewGroup("gen", "Generation commands", "Distill, expand, and generate training data.")
|
|
|
|
|
|
2026-02-22 19:00:58 +00:00
|
|
|
genGroup.AddCommand(passthrough("distill", "Native Metal distillation (go-mlx + grammar scoring)", lem.RunDistill))
|
|
|
|
|
genGroup.AddCommand(passthrough("expand", "Generate expansion responses via trained LEM model", lem.RunExpand))
|
|
|
|
|
genGroup.AddCommand(passthrough("conv", "Generate conversational training data (calm phase)", lem.RunConv))
|
2026-02-22 18:55:57 +00:00
|
|
|
|
|
|
|
|
root.AddCommand(genGroup)
|
|
|
|
|
}
|