Bringing a custom LLM to a new market and a new language
summary
Built a domain LLM that classifies transaction records into a three‑level taxonomy, using concatenated feature heads (tokenized descriptions, amount, debit/credit), custom embeddings with Procrustes alignment and selective freezing to transfer English knowledge into Spanish, and hybrid RNN/Transformer models where cheaper RNNs run some paths. Labeling uses active learning plus consensus labeling and clustering to cut ambiguity; result is a high‑F1, market‑specific model that dramatically reduces new‑market labeling.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker background
- 1:06Building an LLM for transaction categorization
- 5:26Description processing in LLM architecture
- 10:05Word embeddings and language nuances
- 17:24Model architecture choices and training
- 20:38High-quality training data and labeling
- 27:41Taking the model to a new market
- 33:05Defining success metrics for new markets
- 37:59Challenges: language and regionality
- 40:10Q&A on ambiguity and categorization
