---
title: "How Nubank Uses Transformers to Model Financial Habits at Scale"
url: https://daily.dev/posts/how-nubank-uses-transformers-to-model-financial-habits-at-scale-ze8hr0dtm
source_url: https://building.nubank.com/how-nubank-uses-transformers-to-model-financial-habits-at-scale/
type: article
source: "Nubank"
published: 2026-04-20T18:42:11.140Z
updated: 2026-04-20T18:42:47.329Z
tags: ["ai", "machine-learning", "fintech", "transformers"]
reading_time: 1
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How Nubank Uses Transformers to Model Financial Habits at Scale

**[Nubank](https://daily.dev/sources/nubank)** · 1 min read · 0 upvotes · 0 comments

## Summary

Nubank's AI Core team developed nuFormer, a Transformer-based foundation model that learns representations directly from raw financial transaction sequences using self-supervised learning. Rather than relying on hand-crafted features and traditional tree-based ML models, nuFormer treats financial transactions as tokenized sequences — analogous to natural language — to capture complex temporal behavioral patterns. The model supports multimodal inputs including structured data, behavioral signals, and in-app interactions, and can be fine-tuned for credit scoring, fraud detection, income prediction, and product recommendations. Deployed in production across 131 million customers, it has delivered gains in key metrics within months that surpassed years of incremental improvements from traditional approaches. Key engineering challenges include high-latency inference, distributed training infrastructure, continuous monitoring, and multi-team governance required for financial compliance.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://building.nubank.com/how-nubank-uses-transformers-to-model-financial-habits-at-scale/>

## Similar posts on daily.dev

- [Why Financial Institutions Are Converging on Transaction Foundation Models to Build Their Own Intelligence](https://daily.dev/posts/why-financial-institutions-are-converging-on-transaction-foundation-models-to-build-their-own-intell-fb9nvthqp) · NVIDIA · 0 upvotes · 0 comments
- [How Grab Built an AI Foundation Model To Understand Customers Better](https://daily.dev/posts/how-grab-built-an-ai-foundation-model-to-understand-customers-better-qabjmelyt) · ByteByteGo · 4 upvotes · 0 comments
- [User foundation models for Grab](https://daily.dev/posts/user-foundation-models-for-grab-eza2lpnxg) · Grab Tech Blog · 2 upvotes · 0 comments
- [Building AI agents for 127 million customers](https://daily.dev/posts/building-ai-agents-for-127-million-customers-yk2dcgusz) · Nubank · 1 upvotes · 0 comments

---

Tags: [#ai](https://daily.dev/tags/ai), [#machine-learning](https://daily.dev/tags/machine-learning), [#fintech](https://daily.dev/tags/fintech), [#transformers](https://daily.dev/tags/transformers)

[View this post on daily.dev](https://daily.dev/posts/how-nubank-uses-transformers-to-model-financial-habits-at-scale-ze8hr0dtm)
