Blog posts in English
I write my posts in Portuguese first, for a Brazilian audience, and then translate them. These are all of them in English, newest first. The original Portuguese blog has the same posts.
Andrew Ng and the future of programming in the age of AI
Andrew Ng argues that, as AI makes programming easier, more people should learn it, not fewer. Here's his letter and why it caught my attention.
Tutorial: Extracting Data from Customer Documents with Mistral OCR in Python
A hands-on guide to Mistral OCR in Python: extracting fields from invoices, reading handwriting, handling multiple languages, and masking PII before sending text to an LLM.
The History and Evolution of NLP (Natural Language Processing): a Narrative Timeline
Behind every Google search, online translation or chat with a virtual assistant sits one of the most fascinating areas of AI: Natural Language Processing. Here's its story, from the 1950s to the Transformers.
How DeepSeek-R1 was trained
DeepSeek-R1 learned to reason through reinforcement learning, in a three-stage recipe that starts with R1-Zero. Here's how it was trained, step by step.
Byte Latent Transformer (BLT): Patches are more scalable than tokens
Meta's Byte Latent Transformer drops tokenization and learns straight from raw bytes, using dynamic patches. Here's how it works and why it matters.
Optimized RAG with Contextual Retrieval - Anthropic
Anthropic's Contextual Retrieval adds a bit of context to each chunk before indexing and cut RAG failures by up to 67%. Here's the problem and how to implement it.