Data, Analytics & AI

Articles about data, analytics, and AI, including machine learning, data visualization, and AI applications.

702 items · Page 9 of 15

Community

Learn with the community

Create a free account to keep your reading organized, join thoughtful discussions, and get more from every chapter.

  • Keep your place across books and articles
  • Ask questions and take part in discussions
  • Read with fewer interruptions

Free to join · Takes less than a minute

Why

I created this space so readers can learn together, ask questions, and make sense of difficult ideas.

Michael Brenndoerfer
From readers1 / 12
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

QLoRA: Efficient Fine-Tuning of Quantized Language Models

Aug 12, 2025·13 min read

QLoRA combines 4-bit quantization with low-rank adapters to fine-tune large language models on limited hardware while preserving model quality.

Open notebook
AI Agent HandbookMachine LearningData, Analytics & AISoftware Engineering

Content Safety and Moderation

Aug 12, 2025·20 min read

Implement content safety and moderation in AI agents, including system-level instructions, output filtering, pattern blocking, graceful refusals.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

SARIMA: Seasonal Time Series Forecasting with Implementation

Aug 11, 2025·35 min read

Covers SARIMA (Seasonal AutoRegressive Integrated Moving Average) for forecasting time series with seasonal patterns.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Whisper: Large-Scale Multilingual Speech Recognition

Aug 10, 2025·6 min read

Whisper applies encoder-decoder transformers to multilingual speech recognition, translation, and language identification across noisy audio conditions.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Exponential Smoothing (ETS)

Aug 8, 2025·61 min read

Covers exponential smoothing for time series forecasting, including simple, double (Holt's), and triple (Holt-Winters) methods.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Flamingo: Few-Shot Vision-Language Learning

Aug 8, 2025·15 min read

Flamingo connects frozen vision and language models through gated cross-attention, supporting few-shot image and video tasks without task-specific fine-tuning.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

LLaMA Architecture: Design Philosophy and Training

Aug 6, 2025·50 min read

Covers LLaMA's architectural choices including RMSNorm, SwiGLU, and RoPE, plus training data strategies.

Open notebook
History of Language AIMachine LearningData, Analytics & AI

PaLM: Pathways LLM: Large-Scale Training, Reasoning

Aug 6, 2025·7 min read

Covers Google's PaLM, the 540 billion parameter language model that demonstrated advance capabilities in complex reasoning, multilingual understanding.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Qwen Architecture: Alibaba's Multilingual LLM Design

Aug 5, 2025·49 min read

Examines Qwen's architectural innovations including GQA, SwiGLU activation, and multilingual tokenization.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Unigram LLM Tokenization: EM Training

Aug 5, 2025·55 min read

Explains how the unigram LM tokenizer trains via the EM algorithm, uses Viterbi decoding for segmentation, and enables subword regularization.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Prophet Time Series Forecasting: Trend, Seasonality

Aug 5, 2025·43 min read

Covers Prophet time series forecasting including additive decomposition, trend modeling, seasonal patterns, and holiday effects.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Mistral Architecture: Sliding Window Attention

Aug 4, 2025·48 min read

Examines Mistral 7B's architectural innovations including sliding window attention, grouped query attention, and rolling buffer KV cache.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

HELM: Holistic Evaluation of Language Models Framework

Aug 4, 2025·15 min read

Covers HELM (Holistic Evaluation of Language Models), the early evaluation framework.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Grouped Query Attention: Memory-Efficient LLM Inference

Aug 3, 2025·39 min read

Covers GQA, the attention mechanism behind LLaMA 2 and Mistral. Topics include KV head sharing, memory savings, implementation, and quality tradeoffs.

Open notebook
Data, Analytics & AISoftware EngineeringLLM and GenAI

Building AI Agents with LangChain and LangGraph: Part 2

Aug 2, 2025·14 min read

Build agentic workflows with LangChain and LangGraph using state graphs, tool routing, persistence, retries, and multi-step control.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Multi-Query Attention: Memory-Efficient LLM Inference

Aug 2, 2025·39 min read

Explains how Multi-Query Attention reduces KV cache memory by sharing keys and values across attention heads, enabling efficient long-context inference.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

The Vocabulary Problem

Aug 2, 2025·48 min read

Explains why traditional word-level approaches fail with diverse text, from OOV words to morphological complexity.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratchunsupervised-learning

K-means Clustering: Algorithm

Aug 2, 2025·91 min read

Covers K-means clustering from mathematical foundations to practical implementation. Topics include the algorithm, initialization strategies.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Multi-Vector Retrievers

Aug 2, 2025·16 min read

Covers multi-vector retrieval systems introduced in 2021. Explains how token-level contextualized embeddings enabled fine-grained matching.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningAI Agent Handbook

Testing AI Agents with Examples

Aug 2, 2025·14 min read

Create and use test cases to evaluate AI agent performance. Build broad test suites, track results over time.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Phi Models: How Data Quality Beats Model Scale

Aug 1, 2025·42 min read

Examines Microsoft's Phi model family and how textbook-quality training data enables small models to match larger competitors.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

WordPiece: BERT's Subword Tokenization Algorithm Explained

Aug 1, 2025·48 min read

Explains how WordPiece differs from BPE by using a likelihood objective for merges. Topics include the PMI score, greedy tokenization, ## prefix notation.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

LLaMA Components: RMSNorm, SwiGLU, and RoPE

Jul 31, 2025·42 min read

Examines LLaMA's core architectural components: pre-norm with RMSNorm for stable training, SwiGLU feed-forward networks for expressive computation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Chain-of-Thought Prompting

Jul 31, 2025·14 min read

Chain-of-thought prompting elicits intermediate reasoning steps from language models. Covers zero-shot and few-shot methods, benefits, and limits.

Open notebook
AI Agent HandbookMachine LearningData, Analytics & AISoftware Engineering

Setting Goals and Success Criteria

Jul 31, 2025·12 min read

Define clear, measurable success criteria for AI agents including correctness, reliability, efficiency, safety.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Repetition Penalties: Preventing Loops in LLM Generation

Jul 30, 2025·56 min read

Repetition, frequency, and presence penalties alter token probabilities to reduce loops. Covers n-gram blocking, tuning, and effects on generated text.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratch

t-SNE: Dimensionality Reduction & High-Dimensional Data

Jul 30, 2025·37 min read

Covers t-SNE (t-Distributed Stochastic Neighbor Embedding), including mathematical foundations, probability distributions, KL divergence optimization.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Constrained Decoding

Jul 29, 2025·41 min read

Constrained decoding uses token masks and grammars to produce valid JSON, SQL, and regular-expression matches from language models.

Open notebook
Data, Analytics & AIMachine LearningLLM and GenAIHistory of Language AI

Foundation Models Report: Defining a New Paradigm in AI

Jul 29, 2025·17 min read

Covers the 2021 Foundation Models Report published by Stanford's CRFM. Explains how this influential report formally defined foundation models.

Open notebook
Data, Analytics & AISoftware EngineeringLLM and GenAI

The Mathematics Behind LLM Fine-Tuning

Jul 28, 2025·13 min read

Covers the mathematical foundations of LLM fine-tuning with clear explanations and minimal prerequisites.

Read article
Data, Analytics & AILanguage AI HandbookMachine Learning

Autoregressive Generation: How GPT Produces Text

Jul 28, 2025·77 min read

Covers mechanics of autoregressive generation in transformers, including the generation loop, KV caching for efficiency, stopping criteria.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Nucleus Sampling: Adaptive Top-p Text Generation for LLMs

Jul 27, 2025·42 min read

Explains how nucleus sampling dynamically selects tokens based on cumulative probability, solving top-k limitations for coherent and creative text generation.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratch

LIME Explainability: Local Interpretable Model-Agnostic

Jul 27, 2025·31 min read

Covers LIME (Local Interpretable Model-Agnostic Explanations), including mathematical foundations, implementation strategies.

Open notebook
History of Language AIMachine LearningData, Analytics & AI

Mixture of Experts: Sparse Activation for Scaling LLMs

Jul 27, 2025·16 min read

Covers Mixture of Experts (MoE) architectures, including routing mechanisms, load balancing, emergent specialization.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Top-k Sampling: Controlling Language Model Text Generation

Jul 26, 2025·52 min read

Top-k sampling limits each generation step to the k most probable tokens. Covers probability renormalization, diversity, failure modes, and tuning.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

In-Context Learning Without Fine-Tuning

Jul 25, 2025·51 min read

Explains how large language models learn new tasks from prompt demonstrations without weight updates.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

InstructGPT and RLHF: Aligning LLMs with Human Preferences

Jul 25, 2025·16 min read

Covers OpenAI's InstructGPT research from 2022, including the three-stage RLHF training process, supervised fine-tuning, reward modeling.

Open notebook
AI Agent HandbookMachine LearningData, Analytics & AISoftware Engineering

Agents Working Together: Multi-Agent Systems

Jul 25, 2025·17 min read

Explains how multiple AI agents collaborate through specialization, parallel processing, and coordination.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Decoding Temperature

Jul 24, 2025·55 min read

Explains how temperature scaling reshapes probability distributions during text generation, with mathematical foundations, implementation details.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratch

UMAP: Uniform Manifold Approximation and Projection

Jul 24, 2025·40 min read

Covers UMAP dimensionality reduction, including mathematical foundations, fuzzy simplicial sets, manifold learning.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

ELECTRA: Efficient Pre-training

Jul 23, 2025·42 min read

Explains how ELECTRA achieves BERT-level performance with 1/4 the compute by detecting replaced tokens instead of predicting masked ones.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

The Pile: Open-Source Training Dataset for LLMs

Jul 23, 2025·14 min read

Covers EleutherAI's The Pile, the early 825GB open-source dataset that broadened access to high-quality training data for large language models.

Open notebook
Data, Analytics & AISoftware EngineeringLLM and GenAI

Adapting LLMs: Context Injection vs. Fine-Tuning

Jul 22, 2025·15 min read

Covers choosing the right approach for your LLM project: using pre-trained models as-is, enhancing them with context injection and RAG.

Read article
Data, Analytics & AILanguage AI HandbookMachine Learning

GPT-2: Scaling Language Models for Zero-Shot Learning

Jul 22, 2025·52 min read

Examines GPT-2's architecture, model sizes, WebText training, and zero-shot capabilities that changed language modeling through scale.

Open notebook
Data, Analytics & AISoftware EngineeringLLM and GenAI

Building AI Agents with LangChain and LangGraph: Part 1

Jul 21, 2025·6 min read

Covers the core concepts of LLM workflows: connecting language models to tools, handling responses, and building intelligent systems.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

BERT Fine-tuning: Classification, NER & Question Answering

Jul 21, 2025·44 min read

Covers BERT fine-tuning for downstream NLP tasks. Topics include task-specific heads, hyperparameter tuning, and strategies to prevent catastrophic forgetting.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratch

PCA (Principal Component Analysis): Math & Implementation

Jul 21, 2025·23 min read

Covers Principal Component Analysis, including mathematical foundations, eigenvalue decomposition.

Open notebook
History of Language AIMachine LearningData, Analytics & AILLM and GenAI

Dense Passage Retrieval and Retrieval-Augmented Generation

Jul 21, 2025·18 min read

Covers Dense Passage Retrieval (DPR) and Retrieval-Augmented Generation (RAG), the 2020 innovations.

Open notebook
Community

Learn with the community

Create a free account to keep your reading organized, join thoughtful discussions, and get more from every chapter.

  • Keep your place across books and articles
  • Ask questions and take part in discussions
  • Read with fewer interruptions

Free to join · Takes less than a minute

Why

I created this space so readers can learn together, ask questions, and make sense of difficult ideas.

Michael Brenndoerfer
From readers1 / 12