Input
Prompt template
{state} is replaced by the record above,
{options} by the lettered category list. Edit freely, both are yours.
Answer
Pick an example, or write your own.
- Model
- โ
- Network
- โ
- Total
- โ
A bank record goes in, a budget category comes out. The model never writes a sentence: it runs one forward pass and the answer is read straight from the logits at the 17 candidate letters. That makes an invalid category impossible and keeps response time flat no matter how many categories you offer.
{state} is replaced by the record above,
{options} by the lettered category list. Edit freely, both are yours.
Pick an example, or write your own.
Balanced accuracy is the mean of the per-category accuracies, so a rare category counts as much as a common one. The Dutch holdout shares no merchant with any training row, so a familiar name cannot carry the score. Ablations showed the merchant string does nearly all the work: blank it and accuracy falls to roughly chance, while blanking the account or the date changes nothing.