2026-02-15 16:22:13 +00:00
|
|
|
module forge.lthn.ai/lthn/lem
|
|
|
|
|
|
|
|
|
|
go 1.25.6
|
|
|
|
|
|
|
|
|
|
require (
|
2026-02-22 18:02:41 +00:00
|
|
|
forge.lthn.ai/core/go-i18n v0.0.0-20260220151120-0d8463c8845a
|
|
|
|
|
forge.lthn.ai/core/go-ml v0.0.0-20260222174836-950b67d25dd8
|
|
|
|
|
forge.lthn.ai/core/go-mlx v0.0.0-20260221191404-2292557fd65f
|
2026-02-15 17:05:08 +00:00
|
|
|
github.com/marcboeker/go-duckdb v1.8.5
|
|
|
|
|
github.com/parquet-go/parquet-go v0.27.0
|
feat: native Metal distillation command + .core/ai config
Add `lem distill` — full Go pipeline for self-distillation using
go-mlx (native Metal inference) and go-i18n/reversal (v3 grammar
scoring). Replaces the Python distill.py bridge entirely.
New files:
- .core/ai/ai.yaml: global defaults (scorer, generation, distill)
- .core/ai/models/gemma3/{27b,1b}.yaml: model configs with paths,
kernel, lessons, baselines
- .core/ai/probes.yaml: probe sets grouped by training phase
- pkg/lem/config.go: YAML config loaders for .core/ai/
- pkg/lem/grammar.go: in-process grammar scoring (ComputeGrammarScore,
ComputeDelta, ScoreResponse) extracted from cmd/scorer
- pkg/lem/distill.go: RunDistill command — best-of-N generation,
grammar quality gate, training JSONL output
- pkg/lem/backend_metal.go: blank import for go-mlx Metal registration
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 23:42:55 +00:00
|
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
replace (
|
2026-02-22 18:02:41 +00:00
|
|
|
forge.lthn.ai/core/go => /Users/snider/Code/host-uk/core
|
feat: native Metal distillation command + .core/ai config
Add `lem distill` — full Go pipeline for self-distillation using
go-mlx (native Metal inference) and go-i18n/reversal (v3 grammar
scoring). Replaces the Python distill.py bridge entirely.
New files:
- .core/ai/ai.yaml: global defaults (scorer, generation, distill)
- .core/ai/models/gemma3/{27b,1b}.yaml: model configs with paths,
kernel, lessons, baselines
- .core/ai/probes.yaml: probe sets grouped by training phase
- pkg/lem/config.go: YAML config loaders for .core/ai/
- pkg/lem/grammar.go: in-process grammar scoring (ComputeGrammarScore,
ComputeDelta, ScoreResponse) extracted from cmd/scorer
- pkg/lem/distill.go: RunDistill command — best-of-N generation,
grammar quality gate, training JSONL output
- pkg/lem/backend_metal.go: blank import for go-mlx Metal registration
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 23:42:55 +00:00
|
|
|
forge.lthn.ai/core/go-i18n => /Users/snider/Code/go-i18n
|
|
|
|
|
forge.lthn.ai/core/go-inference => /Users/snider/Code/go-inference
|
2026-02-22 18:02:41 +00:00
|
|
|
forge.lthn.ai/core/go-ml => /Users/snider/Code/go-ml
|
feat: native Metal distillation command + .core/ai config
Add `lem distill` — full Go pipeline for self-distillation using
go-mlx (native Metal inference) and go-i18n/reversal (v3 grammar
scoring). Replaces the Python distill.py bridge entirely.
New files:
- .core/ai/ai.yaml: global defaults (scorer, generation, distill)
- .core/ai/models/gemma3/{27b,1b}.yaml: model configs with paths,
kernel, lessons, baselines
- .core/ai/probes.yaml: probe sets grouped by training phase
- pkg/lem/config.go: YAML config loaders for .core/ai/
- pkg/lem/grammar.go: in-process grammar scoring (ComputeGrammarScore,
ComputeDelta, ScoreResponse) extracted from cmd/scorer
- pkg/lem/distill.go: RunDistill command — best-of-N generation,
grammar quality gate, training JSONL output
- pkg/lem/backend_metal.go: blank import for go-mlx Metal registration
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 23:42:55 +00:00
|
|
|
forge.lthn.ai/core/go-mlx => /Users/snider/Code/go-mlx
|
2026-02-15 17:05:08 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
require (
|
2026-02-22 18:02:41 +00:00
|
|
|
forge.lthn.ai/core/go v0.0.0-20260221191103-d091fa62023f // indirect
|
|
|
|
|
forge.lthn.ai/core/go-inference v0.0.0-20260220151119-1576f744d105 // indirect
|
|
|
|
|
github.com/andybalholm/brotli v1.2.0 // indirect
|
|
|
|
|
github.com/apache/arrow-go/v18 v18.5.1 // indirect
|
|
|
|
|
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
|
2026-02-15 16:22:13 +00:00
|
|
|
github.com/goccy/go-json v0.10.5 // indirect
|
2026-02-22 18:02:41 +00:00
|
|
|
github.com/google/flatbuffers v25.12.19+incompatible // indirect
|
2026-02-15 16:22:13 +00:00
|
|
|
github.com/google/uuid v1.6.0 // indirect
|
2026-02-22 18:02:41 +00:00
|
|
|
github.com/klauspost/compress v1.18.4 // indirect
|
2026-02-19 13:13:08 +00:00
|
|
|
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
|
2026-02-15 17:05:08 +00:00
|
|
|
github.com/parquet-go/bitpack v1.0.0 // indirect
|
2026-02-22 18:02:41 +00:00
|
|
|
github.com/parquet-go/jsonlite v1.4.0 // indirect
|
|
|
|
|
github.com/pierrec/lz4/v4 v4.1.25 // indirect
|
2026-02-15 17:05:08 +00:00
|
|
|
github.com/twpayne/go-geom v1.6.1 // indirect
|
2026-02-19 13:13:08 +00:00
|
|
|
github.com/zeebo/xxh3 v1.1.0 // indirect
|
2026-02-22 18:02:41 +00:00
|
|
|
golang.org/x/exp v0.0.0-20260212183809-81e46e3db34a // indirect
|
|
|
|
|
golang.org/x/mod v0.33.0 // indirect
|
2026-02-19 13:13:08 +00:00
|
|
|
golang.org/x/sync v0.19.0 // indirect
|
2026-02-22 18:02:41 +00:00
|
|
|
golang.org/x/sys v0.41.0 // indirect
|
|
|
|
|
golang.org/x/telemetry v0.0.0-20260209163413-e7419c687ee4 // indirect
|
|
|
|
|
golang.org/x/text v0.34.0 // indirect
|
|
|
|
|
golang.org/x/tools v0.42.0 // indirect
|
2026-02-15 16:22:13 +00:00
|
|
|
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
|
2026-02-22 18:02:41 +00:00
|
|
|
google.golang.org/protobuf v1.36.11 // indirect
|
2026-02-15 16:22:13 +00:00
|
|
|
)
|