CalibrateDomains() accepts two inference.TextModel instances and a corpus of CalibrationSamples, classifies all with both models, and computes agreement rate, per-domain distribution, confusion pairs, and accuracy vs ground truth. - calibrate.go: CalibrateDomains + classifyAll batch helper - calibrate_test.go: 7 mock tests (agreement, disagreement, mixed, no ground truth, empty, batch boundary, results slice) - integration/calibrate_test.go: 500-sample corpus (220 ground-truth + 280 unlabelled) for real 1B vs 27B model comparison - TODO.md: Phase 2a calibration task marked complete Co-Authored-By: Virgil <virgil@lethean.io>
17 lines
428 B
Modula-2
17 lines
428 B
Modula-2
module forge.lthn.ai/core/go-i18n/integration
|
|
|
|
go 1.25.5
|
|
|
|
require (
|
|
forge.lthn.ai/core/go-i18n v0.0.0-00010101000000-000000000000
|
|
forge.lthn.ai/core/go-inference v0.0.0
|
|
forge.lthn.ai/core/go-mlx v0.0.0-00010101000000-000000000000
|
|
)
|
|
|
|
require golang.org/x/text v0.33.0 // indirect
|
|
|
|
replace (
|
|
forge.lthn.ai/core/go-i18n => ../
|
|
forge.lthn.ai/core/go-inference => ../../go-inference
|
|
forge.lthn.ai/core/go-mlx => ../../go-mlx
|
|
)
|