bake.BakeError¶
bake.BakeError()
A bake, or a baked model, cannot do what was asked; the message says what to do instead.
Raised, before anything is spent when it can be known then, for: rows
without the inputs or answers a function needs; an answer that is not
one of a head's choices; a student without a chat template; a function
changed since its model was baked (bake it again); a call whose fixed
input has another value than the one it was trained with; a baked folder
whose files changed, or that FunctAI 1.1 wrote (baked.json format
1: bake it again); a model trained elsewhere whose chat template writes
other tokens than its examples (adopt); no place set up to train.
A ValueError.