---
answer: direct
beat: ai-technology
source: 1 article · updated: November 17, 2026
---

How do you turn a bank transaction into something a transformer can process?

A transaction has structured fields (amount, date) and free text (merchant name) — neither a pure-text nor a pure-structured encoding handles both well. A hybrid scheme tokenizes each field separately: a categorical token for the amount's sign, a bucketed token for its magnitude, separate date tokens, and subword tokens (like Byte Pair Encoding) for the merchant description — producing a compact sequence that preserves structure without ballooning token count.

Answered in

Why Fintechs Are Replacing Hand-Built Features With Foundation Models

Manually engineered features don't transfer between fraud, credit, and recommendation models. A transformer trained on raw transactions can.

Crashtech Editorial November 17, 2026 How AI Actually Works

Read the full analysis

Other questions this article answers

More how ai actually works questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the How AI Actually Works beat.