Código complementario: ejecuta los algoritmos del curso
El repositorio complementario de DMXSF ofrece 61 laboratorios de Python para CPU que cubren 66 artículos de la wiki y comprueban sus fórmulas y mecanismos principales.
dmxsf/dmxsf reúne laboratorios de CPU sobre tensores, GPU, inferencia local, agentes, entrenamiento, evaluación y seguridad. Cada práctica incluye instrucciones, un comando y resultados. No hace falta GPU ni pesos externos.
Inicio rápido
git clone https://github.com/dmxsf/dmxsf.git
cd dmxsf
uv sync
uv run dmxsf list
uv run dmxsf run foundations/tensors-and-shapes
uv run dmxsf roadmap weekend
Se recomienda uv; también puedes usar pip install -e . y omitir uv run.
Relación entre código y curso
- Los laboratorios siguen la ruta de los artículos en
labs/<section>/<page>/; algunos temas relacionados comparten práctica. - Los experimentos comprueban fórmulas y mecanismos. Algunos experimentos de rendimiento usan ejemplos reducidos para CPU.
- Cada README explica el alcance y distingue ejemplos didácticos de mediciones completas.
- La biblioteca, los laboratorios y las pruebas están separados. CI ejecuta las pruebas y una comprobación rápida de cada laboratorio.
Cómo usarlo
- Lee una página y elige una fórmula o tabla que quieras comprobar.
- Ejecuta el laboratorio correspondiente y compara el código con su salida.
- Cambia un parámetro, vuelve a ejecutarlo y prueba los ejercicios.
Entorno y duración
- Basta una CPU. El primer laboratorio con un modelo preentrenado entrena un modelo pequeño localmente.
- La página indica la duración aproximada;
--quickofrece una comprobación breve. - Los tiempos dependen del equipo: compara proporciones, no cifras absolutas.
Todos los experimentos 61 experimentos
Experimentos asociados a las páginas de la wiki.
Primeros pasos
-
What is an LLM? The whole loop, small enough to read
Predict one byte, append it, repeat: the whole loop on an 842,496-parameter GPT you can open, from tokens and embeddings to the softmax, the training objective and the three numbers (parameters, tokens, context). It ends with the map from every page of the course to its lab.
Páginas asociadas Qué es un LLM: de los tokens a los asistentes, Ruta de aprendizaje de LLM: mapa del wiki y cuatro itinerarios
uv run dmxsf run start/what-is-an-llmVer el experimento ↗ Guía del experimento ↗ -
LLM formula sheet: parameters, memory and compute
Cross-check released-model parameter counts, KV bytes, training FLOPs and pass@k.
Páginas asociadas Hoja de referencia de LLM: parámetros, cómputo, memoria y velocidad
uv run dmxsf run start/cheat-sheetVer el experimento ↗ Guía del experimento ↗
Fundamentos
-
Tensor shapes: a linear layer by hand
Track position and feature axes through a projection, bias and ReLU.
Páginas asociadas Python y formas de tensores: de una tabla a una capa lineal
uv run dmxsf run foundations/tensors-and-shapesVer el experimento ↗ Guía del experimento ↗ -
Next-token prediction and information theory
Bigram counts on the page's toy corpus, entropy, cross-entropy and KL divergence checked against each other, character n-grams on Shakespeare until the counts run out, and a neural bigram that learns the count table by gradient descent.
Páginas asociadas Del modelado del lenguaje a la predicción del siguiente token, Repaso de teoría de la información: entropía, entropía cruzada y divergencia KL
uv run dmxsf run foundations/next-token-predictionVer el experimento ↗ Guía del experimento ↗ -
Neural networks: gradients and XOR
Check manual backpropagation with finite differences, then fit XOR with and without a hidden layer.
Páginas asociadas Fundamentos de redes neuronales: de la capa lineal a la retropropagación
uv run dmxsf run foundations/neural-network-basicsVer el experimento ↗ Guía del experimento ↗ -
BPE by hand on the page's toy corpus, a byte-level BPE that never says <unk>, what the training text decides about a language's cost, an embedding table as a matrix multiply, and how much of a model the embedding table is.
Páginas asociadas Embeddings y el principio del tokenizer
uv run dmxsf run foundations/tokenizer-and-embeddingsVer el experimento ↗ Guía del experimento ↗ -
Optimizers, schedules, mixed precision and loss spikes
SGD, Adam and AdamW written out and checked against PyTorch in float64; why Adam wins on an ill-conditioned quadratic; decoupled weight decay; learning-rate schedules; mixed precision and master weights; one corrupted batch and what clipping and beta2 do about it.
Páginas asociadas Optimizadores y estabilidad: AdamW, schedules de lr, precisión mixta y picos
uv run dmxsf run foundations/optimizers-and-training-stabilityVer el experimento ↗ Guía del experimento ↗
Arquitectura de modelos
-
From RNN to attention: gradients and retrieval paths
Compare the gradient through a recurrent chain and a gated memory path, then recover an earlier value with attention.
Páginas asociadas De las RNN a la atención: por qué surgió el Transformer
uv run dmxsf run architecture/from-rnn-to-attentionVer el experimento ↗ Guía del experimento ↗ -
Attention, by hand and in a model
The page's three-position example by hand, why scores are divided by sqrt(d) (the dot product has variance d), masks, heads and positions, and a small model that has to use attention to copy what followed the last occurrence.
Páginas asociadas Introducción a la atención del Transformer
uv run dmxsf run architecture/attention-basicsVer el experimento ↗ Guía del experimento ↗ -
Position encodings and length extrapolation
Sinusoidal encodings as clocks, RoPE's score depending only on distance, the stretching recipes (position interpolation, NTK-aware, YaRN, the Llama 3.1 rule) computed side by side, and five position schemes trained on short text and tested on long text.
Páginas asociadas Codificación posicional (absoluta → relativa → RoPE), Contexto largo: extrapolación posicional, recetas de entrenamiento y costes
uv run dmxsf run architecture/positional-encodingVer el experimento ↗ Guía del experimento ↗ -
The Transformer block and the modern recipe
Count a GPT-2 small block (12d²+13d parameters), see where real models keep their parameters, measure signal and gradient by depth for pre-norm and post-norm, then walk from GPT-2 to Llama one change at a time.
Páginas asociadas Desmontaje completo del Transformer Block, Arquitectura de los LLM modernos: de GPT-2 a Llama, Qwen y DeepSeek
uv run dmxsf run architecture/transformer-blockVer el experimento ↗ Guía del experimento ↗ -
KV-cache formulas against the page's table and against real tensors, MLA caching a latent vector, FlashAttention's tiles and online softmax, sliding-window attention, and converting an MHA model to GQA by mean-pooling heads.
Páginas asociadas Atención eficiente: MQA, GQA, MLA y FlashAttention
uv run dmxsf run architecture/efficient-attentionVer el experimento ↗ Guía del experimento ↗ -
Mixture of experts: routing, load balance and the parameter accounts
A MoE layer that computes only the tokens an expert was chosen for, total against active parameters counted on real modules, a DeepSeek-V3-style toy model, expert capacity, the balance loss, how many experts a decoding batch touches, and a trained MoE against dense models of equal cost and equal size.
Páginas asociadas Mezcla de expertos (MoE): enrutamiento, balanceo y activación dispersa
uv run dmxsf run architecture/mixture-of-expertsVer el experimento ↗ Guía del experimento ↗ -
State space and hybrids: equivalent scans and memory
Compare recurrent and explicit causal forms of the same selective update and account for hybrid state and cache.
Páginas asociadas Modelos de espacio de estados y arquitecturas híbridas
uv run dmxsf run architecture/state-space-and-hybridVer el experimento ↗ Guía del experimento ↗
Cómputo y sistemas
-
Hardware basics: storage and copy time
Compute tensor sizes and a copy-time lower bound with explicit units.
Páginas asociadas Introducción al hardware de los LLM: CPU, GPU, memoria y movimiento de datos
uv run dmxsf run systems/hardware-basicsVer el experimento ↗ Guía del experimento ↗ -
GPU roofline: bytes, FLOPs and tile reuse
Compute the A100 and H100 ridge points, model a linear layer, and count matrix-multiply tile traffic.
Páginas asociadas GPU y modelo del techo: por qué los LLM se atascan en el ancho de banda
uv run dmxsf run systems/gpu-and-rooflineVer el experimento ↗ Guía del experimento ↗ -
GPU kernels: tiled GEMM and memory traffic
Run tiled matrix multiplication on uneven shapes and verify logical memory traffic.
Páginas asociadas Kernels de GPU: matmul por bloques y fusión de operadores
uv run dmxsf run systems/gpu-kernelsVer el experimento ↗ Guía del experimento ↗ -
Numerical precision: rounding, overflow and loss scaling
Reproduce low-precision stalled addition, stable softmax, and loss scaling with CPU tensors.
Páginas asociadas Precisión numérica: tres tipos de fallo en el entrenamiento con FP16, BF16 y FP8
uv run dmxsf run systems/numerical-precisionVer el experimento ↗ Guía del experimento ↗ -
Collective communication: simulate a ring all-reduce
Track each chunk through reduce-scatter and all-gather, then compare the observed per-rank bytes with the alpha-beta model.
Páginas asociadas Comunicación colectiva: por qué all-reduce tiene tantos algoritmos
uv run dmxsf run systems/collective-communicationVer el experimento ↗ Guía del experimento ↗
Preentrenamiento
-
The pretraining pipeline on a laptop: monitoring, data mix, resuming, leakage
Two free checks before spending compute, a baseline run and how to read its log, then three experiments on a laptop: the data mix, four ways to resume from a checkpoint (only one is exact), and validation text leaking into the training data.
Páginas asociadas Visión general del pipeline de entrenamiento de LLM
uv run dmxsf run pretraining/training-pipelineVer el experimento ↗ Guía del experimento ↗ -
Data engineering: build and audit a dedup filter
Compare exact duplicates and shingle similarity, then read the banding curve before choosing a deduplication threshold.
Páginas asociadas Ingeniería de datos de preentrenamiento: filtrado, deduplicación y mezcla
uv run dmxsf run pretraining/data-engineeringVer el experimento ↗ Guía del experimento ↗ -
Scaling laws: the formulas, the serving cost, and a tiny study of our own
The page's power laws and compute-optimal split recomputed, what serving cost does to the best model, a real tiny scaling study (tune the learning rate per size, train a grid, fit L(N, D), predict an unseen run), and what a 12-point fit can and cannot identify.
Páginas asociadas Leyes de escalado: cómo repartir cómputo, parámetros y datos
uv run dmxsf run pretraining/scaling-lawsVer el experimento ↗ Guía del experimento ↗ -
Training compute and memory: 6ND, MFU, model state and activations
Every formula on the page checked against a measurement: PyTorch's FLOP counter, the tensors autograd saves for the backward pass, and the optimizer's state; then MFU, GPU hours and a full Llama 2 7B account on 8 x 80 GiB.
Páginas asociadas Cómputo y memoria del entrenamiento: FLOPs, MFU y presupuesto de memoria
uv run dmxsf run pretraining/compute-and-memoryVer el experimento ↗ Guía del experimento ↗ -
Distributed training: gradients, ZeRO, tensor and pipeline parallelism
Built and measured in a few processes on one machine: data-parallel gradient averaging, the ring all-reduce, data parallelism, ZeRO-1 and ZeRO-3 trained side by side (same weights, measured memory and communication), Megatron-style tensor parallelism, and pipeline schedules.
Páginas asociadas Entrenamiento distribuido: datos, tensores y pipeline
uv run dmxsf run pretraining/distributed-trainingVer el experimento ↗ Guía del experimento ↗
Post-entrenamiento y alineación
-
SFT data: the loss mask, a data health check, and what data size, noise, masking and replay do
What the SFT loss averages over (the -100 mask, packing and padding), data health checks against planted ground truth, and four controlled experiments: run-to-run noise, examples per intent, wrong labels, loss on the prompt and replaying general text.
Páginas asociadas Construcción y control de calidad de datos SFT
uv run dmxsf run post-training/sft-dataVer el experimento ↗ Guía del experimento ↗ -
LoRA: the parameter bill, the mechanics, LoRA against full fine-tuning, merging, NF4
LoRA written from scratch and compared with full fine-tuning: the exact parameter bill, learning-rate windows, rank and alpha, which matrices to adapt, how low-rank the learned update is, merging into the weights and into 4-bit (NF4) weights, memory and speed.
Páginas asociadas Ajuste con LoRA en la práctica
uv run dmxsf run post-training/lora-finetuningVer el experimento ↗ Guía del experimento ↗ -
Reward models: pairwise scores and label noise
Fit Bradley–Terry scores on a connected comparison graph and reproduce the agreement ceiling under independent label flips.
Páginas asociadas Modelos de recompensa: convertir preferencias humanas en puntuaciones optimizables
uv run dmxsf run post-training/reward-modelsVer el experimento ↗ Guía del experimento ↗ -
Policy gradients: exact checks, baselines and GAE
Enumerate a tiny policy, compare gradients against finite differences, and vary lambda in a finite GAE trajectory.
Páginas asociadas Fundamentos de aprendizaje por refuerzo: gradiente de política, ventaja y PPO
uv run dmxsf run post-training/rl-fundamentalsVer el experimento ↗ Guía del experimento ↗ -
Preference optimization: the DPO loss, its closed form, and a real DPO run
The DPO loss by hand, its closed-form optimum checked against random competitors and fitted comparisons, a real DPO run on a small byte-level model (learning rate, beta, chosen log-probabilities that fall, the LoRA-off reference), and reward hacking as the KL budget grows.
Páginas asociadas Optimización de preferencias: de RLHF a DPO
uv run dmxsf run post-training/preference-optimizationVer el experimento ↗ Guía del experimento ↗ -
Reasoning RL: verifiers, GRPO advantages and loss, and a real RLVR run
The verifier, group advantages, the GRPO loss, clipping and the k3 KL estimator checked exactly; then a real RLVR run in which a tiny model is updated from nothing but exact-match 0/1 rewards.
Páginas asociadas RL con razonamiento: RLVR y GRPO
uv run dmxsf run post-training/reasoning-rlVer el experimento ↗ Guía del experimento ↗ -
Reasoning RL systems: rollout and learner scheduling
Replay serial and overlapping jobs, and verify policy lag and dropped batches.
Páginas asociadas Muestreo y entrenamiento en RL con razonamiento
uv run dmxsf run post-training/rollout-and-trainingVer el experimento ↗ Guía del experimento ↗
Inferencia y despliegue
-
First inference service: a local HTTP endpoint
Send real local HTTP requests to a toy decoder and check success and errors.
Páginas asociadas El primer servicio de inferencia: exponer la función del modelo a peticiones HTTP
uv run dmxsf run inference/first-inference-serviceVer el experimento ↗ Guía del experimento ↗ -
Decoding and sampling: temperature, top-k, top-p, min-p, beam search, penalties
The page's four-token example reproduced exactly (temperature, top-k, top-p, min-p, and why the order matters), whether samples follow the processed distribution, what each knob does to real text, beam search, repetition penalties, and whether batch shape changes greedy output.
Páginas asociadas Decodificación y muestreo: temperatura, Top-k, Top-p y beam search
uv run dmxsf run inference/decoding-and-samplingVer el experimento ↗ Guía del experimento ↗ -
KV cache: the memory formula, exactness, the saving, prefill against decode
The memory formula against real cache tensors, cached and uncached decoding agreeing exactly, and the saving counted two ways: token positions processed (exact) and time on a CPU (read the ratios), plus the prefill and decode split.
Páginas asociadas Cache KV y optimización del rendimiento de inferencia
uv run dmxsf run inference/kv-cacheVer el experimento ↗ Guía del experimento ↗ -
Prefix caching: cache reuse versus queues
Replay bursty and spaced arrivals with two cache routing policies.
Páginas asociadas Cache de prefijos y separación PD: que el cálculo repetido ocurra una sola vez
uv run dmxsf run inference/prefix-cachingVer el experimento ↗ Guía del experimento ↗ -
Quantization: the ledger, the grid, weights, activations, calibration, the KV cache
The 80 GB ledger for Llama 3 8B, the rounding grid, and experiments on a small model: round-to-nearest, SmoothQuant, an AWQ-style scale search, GPTQ and a quantized KV cache, with outliers dialled in and labelled as constructed.
Páginas asociadas Cuantización de modelos: principios y mediciones de INT8, INT4, GPTQ y AWQ
uv run dmxsf run inference/quantizationVer el experimento ↗ Guía del experimento ↗ -
Serving: continuous batching, paged KV memory, prefix cache, TTFT, capacity
Roofline and exact batched decoding, static against continuous scheduling on paper and on a real model, a paged KV pool with copy-on-write, a hash-based prefix cache, and what a request costs (TTFT, TPOT, capacity). Read the ratios, not the milliseconds.
Páginas asociadas Batching continuo en el servicio de inferencia, Servicios de inferencia de LLM: métricas de latencia, medición y elección de motor
uv run dmxsf run inference/continuous-batchingVer el experimento ↗ Guía del experimento ↗ -
Speculative decoding: the rule, the formulas, a real draft and target
The accept/reject rule that keeps the target's exact distribution, checked on the page's toy distribution, by exact algebra and on real models; the formulas of Leviathan et al.; a draft and target byte-level pair run with KV caches; and when it does not pay.
Páginas asociadas Decodificacion especulativa
uv run dmxsf run inference/speculative-decodingVer el experimento ↗ Guía del experimento ↗
Ingenieria de aplicaciones
-
First agent: a bounded tool loop
Run a read-only lookup loop and check success, absence, and the step budget.
Páginas asociadas El primer agente: de herramientas de solo lectura a un bucle acotado
uv run dmxsf run applications/first-agentVer el experimento ↗ Guía del experimento ↗ -
The chat template rendered by hand, what a prefix cache can reuse, scorers that separate format failures from wrong judgments, the twelve word problems re-solved in code, and how far a 12-ticket eval set can be trusted. With --hf the page's experiments are rerun on Qwen2.5-1.5B-Instruct.
Páginas asociadas Ingenieria de prompts: de la especificacion al mensaje
uv run dmxsf run applications/prompt-engineeringVer el experimento ↗ Guía del experimento ↗Opcional: añade --hf o --bge; requiere uv sync --extra hf
-
Structured output: constrained decoding, its cost, and the function-calling loop
Constrained decoding from the automaton up: the page's demo token for token, why the stepwise mask is not the model's distribution over legal outputs, the mask on a byte-level GPT that has and has not seen the format, schemas, validation and retries.
Páginas asociadas Salida estructurada y llamada de funciones
uv run dmxsf run applications/structured-output-and-function-callingVer el experimento ↗ Guía del experimento ↗ -
Chunking, similarity and index size, BM25 from the formula, rank fusion (RRF), retrieval metrics and context assembly, reproducing the page's numbers offline; with --bge the dense retriever and the reranker run too.
Páginas asociadas RAG: generación aumentada por recuperación
uv run dmxsf run applications/ragVer el experimento ↗ Guía del experimento ↗Opcional: añade --hf o --bge; requiere uv sync --extra hf
-
Agents and tool calling: the loop, its guards, and the trace scorer
The tool-calling loop with its guards (format, business rules, repeats, confirmation, step limit) and the scorer, with the model swapped for a scripted stand-in that replays the page's decisions; then pass^k against pass@k. No language model runs.
Páginas asociadas Agentes y llamada de herramientas
uv run dmxsf run applications/agents-and-tool-callingVer el experimento ↗ Guía del experimento ↗ -
Agent context and memory: budget and precedence
Keep tool groups whole and verify overrides and deletion on versioned records.
Páginas asociadas Contexto y memoria en agentes
uv run dmxsf run applications/context-and-memoryVer el experimento ↗ Guía del experimento ↗ -
Agent evaluation: repeatability and terminal state
Compare equal one-run scores and validate four calendar traces.
Páginas asociadas Evaluación de agentes: lo que se evalua es el sistema, no el modelo
uv run dmxsf run applications/agent-evaluationVer el experimento ↗ Guía del experimento ↗ -
MCP tools: inspect discovery, calls and schema size
Inspect offline JSON-RPC tools/list and tools/call messages and measure what narrowing the catalog sends to a client.
Páginas asociadas MCP y el ecosistema de herramientas
uv run dmxsf run applications/mcp-and-tool-ecosystemVer el experimento ↗ Guía del experimento ↗
Multimodal
-
Multimodal LLMs: images as tokens
Patches to visual tokens, what the tokens cost in KV cache and FLOPs, LLaVA's projector and two training stages, CLIP's contrastive loss and a small CLIP trained from scratch on rendered shapes. With --hf, CLIP ViT-B/32 on CIFAR-10.
Páginas asociadas LLM multimodales: de CLIP a los tokens visuales
uv run dmxsf run multimodal/multimodal-llmsVer el experimento ↗ Guía del experimento ↗Opcional: añade --hf o --bge; requiere uv sync --extra hf
-
Diffusion and flow matching: verify a Gaussian path
Measure the forward diffusion variance and integrate a simple analytic flow, checking how Euler error changes with step count.
Páginas asociadas Difusión y flow matching: generar paso a paso desde el ruido
uv run dmxsf run multimodal/diffusion-and-flow-matchingVer el experimento ↗ Guía del experimento ↗ -
World models: plan, observe, and replan
Compare fixed execution with feedback on a grid with a hidden wall.
Páginas asociadas Modelos del mundo y planificación: de predecir estados al control en bucle cerrado
uv run dmxsf run multimodal/world-modelsVer el experimento ↗ Guía del experimento ↗
Evaluación
-
Benchmark contamination: an n-gram detector, and a leak you can measure
The page's n-gram contamination detector on its own example; a benchmark whose answers can only be memorised; a model trained with a third of it leaked verbatim, a third paraphrased and a third absent; what the detector flags and what the clean-subset check concludes.
Páginas asociadas Metodologia de evaluacion de LLM
uv run dmxsf run evaluation/llm-evaluationVer el experimento ↗ Guía del experimento ↗ -
Evaluation statistics: pass@k, the error of a score, paired tests, sample sizes
pass@k against brute-force enumeration, the 95% interval against how often it actually covers, paired comparisons and the sample-size table against the power of a real test, then two real models compared on held-out text.
Páginas asociadas Estadistica de las evaluaciones
uv run dmxsf run evaluation/eval-statisticsVer el experimento ↗ Guía del experimento ↗ -
LLM-as-a-judge: bias, agreement, and Bradley-Terry leaderboards
A judge stand-in with chosen biases, so every number has an exact answer: swapping the order cancels position bias but not length bias, Cohen's kappa exposes a judge that always guesses the majority class, and a Bradley-Terry leaderboard is corrected for length.
Páginas asociadas LLM-as-a-Judge: modelos como jueces, sus sesgos y su calibración
uv run dmxsf run evaluation/llm-as-judgeVer el experimento ↗ Guía del experimento ↗ -
Evaluation sets: noisy labels, agreement and item information
Check a four-option label-noise formula by simulation, compute Cohen's kappa, and locate a 2PL item's most informative difficulty.
Páginas asociadas Construir conjuntos de evaluacion
uv run dmxsf run evaluation/building-eval-setsVer el experimento ↗ Guía del experimento ↗ -
Benchmark contamination: detect wording overlap and audit slices
Build real overlap flags on synthetic benchmark questions and audit how averaging hides contaminated and clean slices.
Páginas asociadas Contaminación de benchmarks: como se produce, como se detecta y como se evita
uv run dmxsf run evaluation/benchmark-contaminationVer el experimento ↗ Guía del experimento ↗ -
Production evaluation: replay and release gates
Replay paired outcomes and detect regressions and missing coverage in critical slices.
Páginas asociadas Evaluacion en produccion
uv run dmxsf run evaluation/production-evaluationVer el experimento ↗ Guía del experimento ↗
Seguridad y riesgos de alineación
-
Tool authorization: separate data, proposals and permissions
Replay a benign read and policy-boundary cases in a mocked runtime, verifying that content cannot grant new privileges.
Páginas asociadas Inyección de prompts y jailbreaks: los límites de seguridad de una aplicación LLM
uv run dmxsf run safety/prompt-injection-and-jailbreaksVer el experimento ↗ Guía del experimento ↗ -
Calibration: withheld answers, confidence and accuracy
Fit temperature on held-out calibration examples and plot the trade-off between coverage and error using synthetic scores.
Páginas asociadas Alucinaciones y calibración: por qué el modelo afirma con seguridad cosas falsas
uv run dmxsf run safety/hallucination-and-calibrationVer el experimento ↗ Guía del experimento ↗ -
Privacy audit: exposure for synthetic canaries
Compare rank exposure and top-one generation using an artificial candidate distribution, then measure uniform-rank exposure.
Páginas asociadas Memorización y privacidad: qué retiene el modelo, cómo medirlo y cómo reducirlo
uv run dmxsf run safety/memorization-and-privacyVer el experimento ↗ Guía del experimento ↗
Frontera
-
Test-time compute: independent draws, reranking and majority voting
Compare independent and perfectly correlated draws and compute how a noisy selector changes best-of-N.
Páginas asociadas Cómputo en tiempo de test: gastar cómputo en la inferencia
uv run dmxsf run frontier/test-time-computeVer el experimento ↗ Guía del experimento ↗ -
Synthetic data: rare-event loss and verified selection
Measure support lost when each generation replaces the previous one, then see how an independent verifier filters synthetic labels.
Páginas asociadas Datos sintéticos y auto-mejora: señal externa o copia de sí mismo
uv run dmxsf run frontier/synthetic-data-and-self-improvementVer el experimento ↗ Guía del experimento ↗ -
Interpretability: superposed features and causal patching
Measure interference between nonorthogonal features and patch one controlled activation to explain a toy prediction change.
Páginas asociadas Interpretabilidad mecanicista: superposición, SAE y circuitos
uv run dmxsf run frontier/interpretabilityVer el experimento ↗ Guía del experimento ↗
Experimentos por ruta
Los experimentos corresponden a las páginas de cada semana o paso. Wiki de algoritmos de LLM →
Route 0: Intensivo de fin de semana (unas 10 horas)
| Paso 1 | |
|---|---|
| Paso 2 | |
| Paso 3 | |
| Paso 4 | |
| Paso 5 | |
| Paso 6 | |
| Paso 7 |
Route 1: Desarrollador de aplicaciones de IA (8 semanas)
| Semana 1 | |
|---|---|
| Semana 2 | |
| Semana 3 | |
| Semana 4 | |
| Semana 5 | |
| Semana 6 | |
| Semana 7 | |
| Semana 8 |
Route 2: Ingeniero de LLM (14 semanas)
| Semana 1 | |
|---|---|
| Semana 2 | |
| Semana 3 | |
| Semana 4 | |
| Semana 5 | |
| Semana 6 | |
| Semana 7 | |
| Semana 8 | |
| Semana 9 | |
| Semana 10 | |
| Semana 11 | |
| Semana 12 | |
| Semana 13 | |
| Semana 14 |
Route 3: Investigador de LLM (16 semanas)
| Semana 1 | |
|---|---|
| Semana 2 | Lectura o escritura |
| Semana 3 | |
| Semana 4 | |
| Semana 5 | |
| Semana 6 | |
| Semana 7 | |
| Semana 8 | |
| Semana 9 | |
| Semana 10 | |
| Semana 11 | |
| Semana 12 | |
| Semana 13 | |
| Semana 14 | |
| Semana 15 | Lectura o escritura |
| Semana 16 | Lectura o escritura |
Repositorio
Actualizado