weopqrst/tally/vocab does not have a README file
pub suberror VocabError {
InvalidBase64(Char)
MalformedLine(Int, String)
DuplicateToken(Int, Int)
EmptyToken(Int)
MissingByteToken(Int)
SpecialOutOfRange(Int, Int)
UnknownSection(String)
TrainSizeTooSmall(Int, Int)
} derive(Debug)pub(all) struct Merge {
rank : Int
merged : Bytes
left : Bytes
right : Bytes
}fn build_vocab(tokens : Array[Bytes], ranks : Map[Bytes, Int], specials : Array[(String, Int)]) -> Vocab raise VocabErrorfn train(corpus : Array[Bytes], vocab_size : Int, min_frequency : Int, specials : Array[String]) -> TrainResult raise VocabErrorInstall
Download zipVerifiable context-assembly contract for MoonBit LLM apps: frozen report formats (tally-plan v3, tally-digest v1, tally-seal v1), pluggable counters, window/reserve model, priority + score assembly with per-pool quotas and placeholder compression, and reports a third party can re-assemble and compare byte for byte.