Skip to content

v0.27.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 10:10
· 20 commits to main since this release
9257743
feat: detect decision models via <arch>.decision.type (#63)

Parse the "<architecture>.decision.type" metadata the llama.cpp
conversion tools write, mirroring common_get_decision_type: the
presence of the key alone marks a decision model serving
"POST /v1/systemone", whatever its value says.

Expose it as GGUFArchitecture.DecisionType and a presence-based
Decision flag on the llama.cpp estimates, plus a DECISION column in
the CLI table. The detection is independent of the attention
direction and outranks the reranking heuristics: general backbones
such as modern-bert carry classifier tensors and rank pooling that
would otherwise read as reranking.

Also fix reading a zero-length string value: the pooled buffer
grows a zero length to the default size, so the read swallowed the
rest of the file and a legal empty value broke the parse.

Cover both with offline fixture tests and the first-party Laya GGUF
via TEST_MODEL_PATH.

Signed-off-by: Yuxing Deng <15376837+orangedeng@users.noreply.github.com>