{"atlas":{"skills":[{"id":"hugging-face","name":"Hugging Face","category":"DL Frameworks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Hugging Face provides a model and dataset hub alongside libraries for loading, training and using machine-learning models. The competence is selecting compatible artifacts, understanding their documented assumptions and building a reproducible workflow. A downloadable checkpoint is a starting point for evaluation, not evidence that its license, behavior or dependencies suit the intended application.","type":"tool","editorial":{"definition":"The Hub organizes versioned repositories containing model weights, configurations, documentation and related artifacts. Libraries such as Transformers supply model definitions, preprocessors and interfaces for training or inference. A tokenizer or processor is part of the model's input contract, and its configuration must match the checkpoint. Model cards describe intended use, training information and limitations when supplied by the publisher. Different tasks and architectures require different interfaces rather than one universal pipeline. Competence includes distinguishing the platform, individual libraries and third-party repository content, because hosting an artifact does not make every claim in its documentation verified or every checkpoint interchangeable.","practice":"Inspect the model card, license, architecture and required processor before choosing a checkpoint. Pin revisions and package versions, validate input and output conventions and avoid enabling custom repository code without review. Test representative examples and measure quality and resource use on the actual workload. Preserve preprocessing, configuration and weights together when packaging a model. The deliverable is a reproducible artifact-selection and execution path, with evidence about compatibility and task suitability instead of only a successful download or a generic demonstration using a hosted pipeline.","example":"In an illustrative text-classification project, an engineer compares two encoder checkpoints. They load each checkpoint with its matching tokenizer, attach a task head and evaluate on the same labeled development set. A model card reveals different language coverage, prompting separate tests on multilingual cases. The final pipeline records the exact repository revision and processor settings, so a later repository update does not silently change the deployed representation.","limits":"Repositories can contain incomplete documentation, incompatible files or custom code with additional risk. A task pipeline's default settings may not match a production requirement. Model availability does not establish open-source licensing or suitability for sensitive use. Dependency changes can affect behavior, and benchmarks may not represent the intended data. Distinguish the Hub from Transformers and from a hosted inference service, and verify the selected artifact's actual inputs, outputs and limitations before using platform familiarity as a substitute for evaluation.","sources":[{"title":"Hugging Face: Transformers","url":"https://huggingface.co/docs/transformers/index","note":"Model definitions, preprocessors, pipelines, training and inference interfaces."},{"title":"Hugging Face: The Model Hub","url":"https://huggingface.co/docs/hub/models-the-hub","note":"Model repositories, artifact discovery and documentation."}],"updatedAt":"2026-10-23"}},{"id":"jax","name":"JAX","category":"DL Frameworks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"JAX is a numerical-computing library centered on composable transformations such as automatic differentiation, compilation and vectorization. The skill includes writing transformation-compatible array programs and understanding how execution differs from ordinary Python. It supports machine-learning research and training, but correct performance requires attention to shapes, state and accelerator behavior.","type":"tool","editorial":{"definition":"JAX provides array operations with a familiar numerical interface and transformations that act on functions. Automatic differentiation computes derivatives, just-in-time compilation prepares compatible calculations for execution and vectorization maps operations over batches. These transformations compose, allowing a numerical function to become a differentiated or compiled training computation. The programming model emphasizes explicit data flow and functional treatment of state, including random-number keys. Python control flow and side effects can behave differently when tracing or compiling a function. Competence therefore includes understanding which values are static, how shapes influence compiled programs and when asynchronous device execution affects measurement.","practice":"Write small pure numerical functions with explicit inputs and outputs, then add transformations while checking results against untransformed cases. Manage parameters, optimizer state and random keys explicitly. Inspect array shapes and device placement, and separate compilation time from steady-state execution when benchmarking. Use appropriate debugging tools for traced computations and verify numerical stability. The result should be a reproducible computation or training loop whose state transitions and transformations are clear, rather than code that happens to work eagerly but changes behavior when compiled or vectorized.","example":"For an illustrative simulation model, an engineer writes a loss over a batch of observations and uses JAX differentiation to update parameters. They vectorize the per-observation calculation and compile the combined step. A benchmark first warms up the compiled function and waits for device completion before measuring repeated steps. Separate random keys are passed to stochastic components, so the experiment can be reproduced without accidentally reusing the same random draw across examples.","limits":"Tracing and compilation introduce constraints on Python behavior, shapes and mutation. Recompilation can dominate workloads with changing static inputs, and asynchronous execution can make naive timing misleading. Random-key reuse can create unintended dependence. Automatic gradients still differentiate the implemented objective, including mistakes in it. JAX differs from a complete high-level training framework; additional libraries may supply model and optimizer abstractions. Validate transformed computations and measure end-to-end workloads rather than assuming compilation always improves runtime.","sources":[{"title":"JAX: Quickstart","url":"https://docs.jax.dev/en/latest/quickstart.html","note":"Arrays, differentiation, compilation, vectorization and execution behavior."}],"updatedAt":"2026-10-23"}},{"id":"pytorch","name":"PyTorch","category":"DL Frameworks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"PyTorch is a tensor and automatic-differentiation framework for building, training and running machine-learning models. The competence includes data handling, module design, optimization and reliable inference. It requires understanding tensor shape, device and gradient state, so a working training loop produces a model that can be reproduced and evaluated correctly.","type":"tool","editorial":{"definition":"PyTorch represents numerical data as tensors and records differentiable operations in a computational graph. Modules organize parameters and forward computations, while loss functions and optimizers define the fitting procedure. Data utilities construct batches, and execution can occur on supported CPUs or accelerators. Training and evaluation modes alter the behavior of components such as dropout and normalization; disabling gradient recording is a separate concern. Compiled or distributed execution introduces additional choices. The framework supplies mechanisms rather than a correct model specification, so practitioners need to understand the relationship among representations, parameter updates, saved state and the pipeline used during inference.","practice":"Build a data pipeline with explicit dtypes and dimensions, test a model on a small batch and verify that the loss and gradient path are correct. Manage optimizer updates, learning-rate schedules and train/evaluation modes. Monitor nonfinite values and compare against simple baselines. Save the model configuration and required preprocessing with its state, then test reloading and inference independently. The deliverable should include a repeatable training and scoring workflow, with checks showing that evaluation uses the intended mode and that the packaged model reproduces the measured behavior.","example":"In an illustrative image classifier, an engineer verifies channel ordering and normalization before training. They test whether the model can fit a tiny subset, then evaluate on images from separate sources. Evaluation switches the module to inference behavior and disables unnecessary gradient recording. After saving, the engineer loads the artifact in a fresh process and checks predictions on known examples. This catches missing preprocessing or configuration that a weights-only file would not preserve.","limits":"Shape-compatible tensor operations can still encode the wrong axes or target alignment. Incorrect mode, stale gradients or mismatched preprocessing can invalidate results. Accelerator timing needs synchronization, and compilation or precision changes require behavioral checks. A saved state dictionary does not document architecture and input conventions by itself. PyTorch is distinct from a specific neural architecture or hosted inference service. Review data boundaries and numerical behavior as carefully as API correctness, because successful execution alone does not establish useful training.","sources":[{"title":"PyTorch: Learn the Basics","url":"https://docs.pytorch.org/tutorials/beginner/basics/intro.html","note":"Tensors, datasets, modules, autograd, optimization and model saving."}],"updatedAt":"2026-10-23"}},{"id":"tensorflow","name":"TensorFlow","category":"DL Frameworks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"TensorFlow is a numerical and machine-learning framework providing tensors, differentiation and execution tools for training and inference. The skill includes choosing suitable model APIs, managing graph execution and exporting a consistent model. Reliable use connects the data pipeline, objective and runtime behavior rather than treating model construction as the whole task.","type":"tool","editorial":{"definition":"TensorFlow supports tensor operations and automatic differentiation, with eager execution and traced graph functions providing different execution paths. High-level model APIs can organize layers and standard training, while custom loops expose more control over losses and updates. Data pipelines prepare and batch examples, and distribution tools coordinate supported multi-device settings. Exported models require defined input signatures and any preprocessing needed by consumers. TensorFlow and Keras are related but distinct: Keras supplies a model-oriented API and can support multiple numerical backends, whereas TensorFlow provides one computational framework. Competence includes understanding this boundary and the effects of tracing, state and serialization.","practice":"Define shapes, dtypes and data transformations before fitting. Choose a standard fit interface or a custom loop based on the required objective, and verify gradient and mode behavior on a small case. Inspect retracing and data-pipeline bottlenecks when performance matters. Evaluate independently, export with explicit signatures and test the exported artifact with representative inputs. The deliverable should preserve preprocessing and model assumptions across training and serving, with version and compatibility information sufficient to reproduce both the fit and the runtime behavior.","example":"For an illustrative sequence classifier, an engineer uses a padded batch pipeline and an explicit mask. They check that padding does not contribute incorrectly to the loss and compare eager results with the traced step. After training, the model is exported and tested on short, long and empty-edge cases under the documented input contract. A serving consumer receives the same tokenization and masking rules, preventing a technically valid input tensor from changing the task interpretation.","limits":"Tracing can specialize behavior in ways that surprise code written as ordinary Python, and repeated retracing can add cost. Unsupported operations or ambiguous signatures can complicate export. Mixing framework and high-level API versions can cause compatibility problems. A graph that executes successfully may still mishandle padding, state or training mode. TensorFlow is not synonymous with Keras or a particular deployment runtime. Test the artifact actually used by consumers, rather than assuming that training-time evaluation guarantees identical exported behavior.","sources":[{"title":"TensorFlow: Core guide","url":"https://www.tensorflow.org/guide","note":"Tensor execution, differentiation, data, tracing, distribution and model export."},{"title":"Keras: Developer guides","url":"https://keras.io/guides/","note":"High-level model APIs and the distinction from backend execution."}],"updatedAt":"2026-10-23"}},{"id":"deep-learning","name":"Deep Learning","category":"Deep Learning & Training Paradigms","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Deep learning fits neural networks with multiple learned transformations to build representations and predictions. The skill combines architecture, objective, data and optimization with careful evaluation. It means understanding how a network learns and fails, rather than assuming that greater depth or parameter count produces a better model for a given task.","type":"concept","editorial":{"definition":"A neural network composes parameterized operations and nonlinearities, transforming an input into features and outputs. Training uses a loss and gradients, usually computed by backpropagation, to update parameters. Convolutions, recurrence and attention encode different structures, while regularization and normalization influence fitting. Learned representations can reduce the need for manually specifying every useful feature, but the data and objective still determine what is encouraged. Deep learning includes supervised, self-supervised and generative approaches. The competence is reasoning about how architecture and learning signal match a task, including the distinction between minimizing training loss and generalizing to relevant unseen data.","practice":"Establish a simple baseline and define training examples, target and evaluation boundary. Select an architecture suited to input structure and available resources, then verify shapes, loss and gradient flow on a small case. Monitor training and validation trajectories, tune capacity and regularization and inspect difficult slices. Preserve preprocessing, model configuration and checkpoints. The result is a reproducible model with evidence of task-level quality and resource requirements, plus an explanation of remaining failure modes and the conditions under which retraining or additional evaluation is needed.","example":"In an illustrative image-recognition project, an engineer starts from a pretrained convolutional encoder instead of training a large model from scratch. They compare a frozen representation with partial fine-tuning and evaluate on images from a separate acquisition source. Training accuracy rises rapidly, but errors under different lighting remain. Inspecting those cases leads to changes in data coverage and validation, showing that model depth alone is not the main unresolved issue.","limits":"Networks can overfit, learn shortcuts and remain confident on unfamiliar inputs. Training instability, data leakage and poorly specified losses can produce misleading results. More data or compute cannot automatically repair annotation errors or missing populations. Explanations and saliency methods require careful interpretation. Deep learning differs from the broader field of machine learning and from any one architecture. Evaluate generalization, robustness and operational cost, and distinguish empirical improvements on a task from claims about universal capability.","sources":[{"title":"PyTorch: Learn the Basics","url":"https://docs.pytorch.org/tutorials/beginner/basics/intro.html","note":"Neural modules, gradient-based fitting and evaluation workflow."},{"title":"Dive into Deep Learning: Convolutional Neural Networks","url":"https://d2l.ai/chapter_convolutional-neural-networks/index.html","note":"Learned representations and architecture-dependent input structure."}],"updatedAt":"2026-10-23"}},{"id":"edge-ai","name":"Edge AI","category":"Efficient, Edge & Compressed Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Edge AI runs model computation close to the source of data, such as a phone, camera or embedded device. The competence balances model quality with latency, memory, power and runtime compatibility. It includes the local pipeline and update strategy, rather than merely selecting a small model or claiming that local execution solves every privacy concern.","type":"concept","editorial":{"definition":"An edge system performs some or all inference on a device instead of depending entirely on a remote service. Models can be compressed or selected for the hardware, and runtimes map supported operations to CPUs, GPUs or other accelerators. The deployment must also handle input processing, buffering, outputs and intermittent connectivity. Edge AI is broader than small language models: vision, audio and conventional predictive models can all run locally. Local execution changes the placement of computation and data, but does not by itself define the model's architecture, guarantee real-time performance or establish the security of storage, telemetry and updates.","practice":"Specify the device and end-to-end response requirement before choosing a model. Measure memory, startup, sustained latency and energy behavior on actual hardware with representative inputs. Check operator support and quantify any quality changes introduced by conversion or compression. Design local error handling, update rollback and the boundary between local and remote work. The deliverable is a tested device pipeline with explicit resource and quality tradeoffs, including behavior during limited connectivity and prolonged use rather than only a successful desktop demonstration.","example":"Suppose, illustratively, a mobile app labels objects from the camera. An engineer converts a model to an on-device runtime, verifies preprocessing and compares predictions with the original implementation. They measure camera-to-result latency while the app runs continuously, observing whether heat changes performance. Uncertain results can prompt review or optional remote processing under the application's data policy. The deployment decision accounts for the full camera and UI pipeline, not just the isolated model invocation.","limits":"A small weight file can still require substantial activation memory or preprocessing time. Conversion and quantization can alter accuracy, and unsupported operations may fall back to a slower path. Thermal and power constraints affect sustained behavior. Local processing reduces some data transfers but does not secure every stored or logged artifact. Edge deployment differs from model compression: compression is one possible means. Test the final device and workload before extrapolating from accelerator specifications or desktop benchmarks.","sources":[{"title":"Google: LiteRT","url":"https://developers.google.com/edge/litert","note":"On-device model conversion, runtime and hardware acceleration."},{"title":"NVIDIA: Jetson Orin Nano Quick Start","url":"https://docs.nvidia.com/jetson/orin-nano-devkit/user-guide/latest/quick_start.html","note":"Device-based execution and hardware setup context."}],"updatedAt":"2026-10-23"}},{"id":"open-source-llms","name":"Open-Source LLMs","category":"Foundation & Multimodal Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"This competence covers selecting, adapting and operating language models whose artifacts are available for inspection or local use. The existing Atlas label includes the open-weight ecosystem, but openness varies. Practitioners must distinguish access to weights from an open-source license and evaluate documentation, reproducibility, compatibility and model behavior for their intended use.","type":"concept","editorial":{"definition":"A publicly downloadable language-model checkpoint allows some forms of local inference, inspection or adaptation, subject to its license and technical requirements. It may not include training data, full training code or unrestricted reuse rights. Open weights and open source therefore describe different properties and should be examined separately. Model repositories can supply tokenizers, configuration and model cards, while compatible libraries provide execution. The competence includes choosing a specific checkpoint and revision, assessing architecture and context behavior and deciding how to package or adapt it. Artifact availability does not establish trustworthy behavior, adequate documentation or suitability for the target application.","practice":"Read the license and model card, identify required dependencies and determine whether custom code or special input formatting is needed. Compare candidate checkpoints on representative tasks, resource use and important failure cases. Pin revisions and preserve tokenizer, configuration and any adapters with the weights. Test deployment and update paths, including the effect of quantization or fine-tuning. The result should document exactly which artifacts and permissions the workflow relies on, with a task-specific evaluation rather than a generic claim that a locally runnable model is open or superior.","example":"In an illustrative support prototype, an engineer compares two downloadable checkpoints for local text generation. One requires a particular conversation template, while the other has different license conditions and hardware needs. The engineer evaluates both with the same support questions and source context, measures resource use and records the exact revisions. A model is selected only after the team understands how its artifact access, permitted use and observed behavior fit the planned system.","limits":"Available weights can coexist with missing training information or restrictive terms. Model cards are publisher-provided evidence and may omit important limitations. Local operation does not eliminate hallucination, data leakage through logs or insecure integrations. Tokenizer and runtime mismatches can materially change behavior. Open-source LLMs are not one architecture or a uniform quality category. Avoid treating a license label or download count as a performance guarantee, and reassess the exact checkpoint after adaptation or runtime changes.","sources":[{"title":"Hugging Face Hub: Licenses","url":"https://huggingface.co/docs/hub/repositories-licenses","note":"Repository license metadata and the need to examine permitted artifact use."},{"title":"Hugging Face: Transformers","url":"https://huggingface.co/docs/transformers/index","note":"Checkpoint configuration, preprocessors and execution interfaces."}],"updatedAt":"2026-10-23"}},{"id":"comfyui","name":"ComfyUI","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"ComfyUI is a graph-based interface and execution system for composing generative-media workflows. Nodes connect models, conditioning, sampling and output operations. The skill is constructing a valid reproducible graph, understanding what each component contributes and managing checkpoints and extensions, rather than treating a visually complex workflow as evidence of controlled generation.","type":"tool","editorial":{"definition":"A ComfyUI workflow represents operations as nodes with typed connections. A graph can load a checkpoint, encode a prompt, prepare latent inputs, run a sampler and decode an image, with additional branches for masks, adapters or other conditioning. The graph makes dependencies inspectable and reusable, but behavior still depends on node implementations, model versions and execution settings. Custom nodes extend functionality and add their own dependencies. ComfyUI is a workflow environment rather than a generative architecture: it can orchestrate supported models, and the underlying model and conditioning determine what the system can generate or edit.","practice":"Start with a minimal graph and verify each connection, model family and input convention before adding control branches. Record checkpoints, samplers, seeds and node versions, and inspect intermediate outputs when diagnosing failures. Review custom extensions and isolate incompatible dependencies. Evaluate whether conditioning produces the requested visual constraint and whether the saved workflow can be reopened consistently. The deliverable is a documented executable graph plus its required artifacts, allowing another practitioner to reproduce the setup and understand which settings affect quality, control and resource use.","example":"For an illustrative product mockup, a designer builds a workflow using a prompt, reference image and masked editing region. They first confirm the base generation path, then add the relevant conditioning and compare intermediate results. The final graph stores the required model references and seed settings, while the designer checks that untouched regions and product proportions remain acceptable. Reopening the workflow with missing custom nodes is treated as a reproducibility failure, not merely a UI inconvenience.","limits":"A saved graph may omit external model files or rely on extensions whose behavior changes. Checkpoints, adapters and conditioning nodes must be compatible. A fixed seed does not guarantee identical outputs across every runtime or implementation. Custom nodes can execute code and require review. ComfyUI differs from Diffusers as a programming library and from Stable Diffusion as a model family. Inspect visual outcomes and dependencies directly; graph complexity and many controls do not guarantee faithful editing or production-ready assets.","sources":[{"title":"ComfyUI: Project documentation and repository","url":"https://github.com/Comfy-Org/ComfyUI","note":"Graph workflows, supported components, execution and custom nodes."}],"updatedAt":"2026-10-23"}},{"id":"diffusion-models","name":"Diffusion Models","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Diffusion models learn to generate data through a process related to reversing gradual corruption or noise. The competence includes understanding the training target, conditioning and sampling procedure. Related flow-matching approaches learn a different transport formulation; practitioners should distinguish their objectives while evaluating the resulting generative pipeline's quality, control and computational cost.","type":"concept","editorial":{"definition":"A denoising diffusion formulation defines a forward noising process and learns a reverse or denoising process that produces samples from noise. Different parameterizations predict noise, clean data or a related quantity, and sampling schedules determine how learned steps are applied. Conditioning can guide outputs using text, images or other information. Latent diffusion performs these operations in a learned compact representation rather than directly on full-resolution pixels. Flow matching is related generative modeling through learned vector fields along probability paths, not merely another name for the same training loss. Competence requires connecting the selected objective, model representation and sampler instead of assuming components can be exchanged arbitrarily.","practice":"Identify the model's prediction parameterization and conditioning interface, then choose a compatible scheduler and input representation. Inspect the role of guidance, step count and random initialization, comparing settings on a fixed evaluation set or prompt suite. For training, verify noising and target construction; for deployment, measure latency, memory and failure cases. The deliverable should document the model and sampler combination with evidence about fidelity and control, making clear whether observed changes come from the objective, conditioning or inference settings.","example":"In an illustrative image workflow, an engineer compares two sampling configurations for the same conditioned checkpoint. They keep prompts and initial seeds controlled, examine adherence to spatial requirements and measure end-to-end generation time. Increasing guidance improves some prompt details but introduces artifacts in others. The engineer records that tradeoff rather than choosing a setting solely from a visually striking sample, and confirms scheduler compatibility before drawing conclusions about the model family.","limits":"Sampling quality depends on the checkpoint, conditioning and scheduler rather than step count alone. Generated examples can contain distortions or reproduce unwanted training patterns. Guidance can alter diversity and fidelity, and latent compression can lose fine details. Diffusion and flow matching have related applications but distinct formulations. A handful of selected outputs does not establish distributional quality or task suitability. Evaluate representative and difficult conditions and avoid assuming that changing a sampler preserves the guarantees or behavior of another algorithm.","sources":[{"title":"Denoising Diffusion Probabilistic Models","url":"https://arxiv.org/abs/2006.11239","note":"Forward noising, learned reverse process and diffusion training."},{"title":"Flow Matching for Generative Modeling","url":"https://arxiv.org/abs/2210.02747","note":"Vector-field training along probability paths and distinction from diffusion objectives."}],"updatedAt":"2026-10-23"}},{"id":"video-generation","name":"Video Generation","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Video generation produces sequences from prompts, images or other conditioning. The skill includes designing temporal and visual constraints, selecting compatible models and inspecting motion and continuity across frames. It extends image generation with consistency over time, so a strong single frame is insufficient evidence that a generated clip satisfies the intended scenario.","type":"concept","editorial":{"definition":"A video-generation pipeline models spatial appearance and temporal relationships together, commonly with generative neural architectures operating on frames or latent representations. Text-to-video defines a scene from language, while image-to-video also anchors appearance in an input image. Conditioning can influence camera behavior, objects or motion, but the available controls depend on the model. Sampling settings, frame count and output resolution interact with resource use. The competence concerns the sequence as a whole: identity, geometry and action should remain coherent across time. Video generation is distinct from interpolating frames or editing existing footage, even though a workflow may combine these operations.","practice":"Specify the intended action, duration and continuity requirements before generating. Choose a model supporting the needed conditioning, prepare inputs consistently and record seeds and sampling settings. Inspect the entire clip for object changes, implausible motion and discontinuities rather than choosing a thumbnail alone. Compare variants under a repeatable prompt suite and measure latency and memory. The deliverable is a reviewed sequence plus a reproducible workflow, with explicit constraints and any postprocessing steps so users understand which aspects were controlled and which emerged from sampling.","example":"For an illustrative instructional animation, a designer starts from an approved image of a device and asks for a short rotation showing its side. They inspect whether labels, buttons and dimensions remain stable throughout the clip. A version with attractive lighting but a changing button layout is rejected. The workflow records the input image and generation settings, and any edited frames are checked again for temporal discontinuities introduced by postprocessing.","limits":"Models can change object identity, invent hidden surfaces or produce physically inconsistent motion. Prompt adherence may weaken over time, and a fixed input image does not guarantee faithful geometry in unseen views. Longer or higher-resolution output can impose substantial memory and runtime costs. A visually plausible clip is not evidence of a real event. Distinguish generation from faithful reconstruction, and evaluate complete sequences under representative constraints rather than treating selected frames as a quality benchmark.","sources":[{"title":"Hugging Face Diffusers: Video generation","url":"https://huggingface.co/docs/diffusers/using-diffusers/text-img2vid","note":"Text- and image-conditioned video pipelines and execution considerations."}],"updatedAt":"2026-10-23"}},{"id":"graph-neural-networks","name":"Graph Neural Networks","category":"Graph Neural Networks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Graph neural networks learn representations from connected entities and their relationships. They use graph structure alongside node or edge attributes for tasks such as node classification, link prediction and graph prediction. The competence is constructing a valid graph, choosing information flow and evaluating without leakage across connected observations or future edges.","type":"concept","editorial":{"definition":"A common GNN layer updates a node representation by aggregating information from neighboring nodes and edges. Repeated layers extend the receptive field, and pooling can produce a representation for an entire graph. Other formulations use attention or specialized graph operations, but all depend on how relationships are represented. Nodes may be people, devices or molecular components, while edges encode particular interactions. The task can be transductive, involving a known graph, or inductive, requiring generalization to new nodes or graphs. Competence includes distinguishing graph topology from predictive evidence, since constructing edges from future or target-derived information can leak the answer.","practice":"Define what nodes and edges mean, their direction and the time at which they become known. Choose features and a message-passing architecture appropriate to the task, then inspect isolated nodes, degrees and missing attributes. Design splits that reflect new-node, new-graph or future-edge use, and compare against non-graph baselines. Assess sensitivity to graph construction and neighborhood sampling. The deliverable includes the graph-building procedure and model, making it possible to reproduce information flow and understand whether relationships genuinely improve predictions under the intended boundary.","example":"In an illustrative device-monitoring network, nodes represent machines and edges represent known physical connections. A GNN predicts maintenance categories using local measurements and neighboring states. The engineer tests on a separate site rather than randomly hiding labels on the same connected graph. They compare a model using only node features and inspect whether high-degree nodes dominate messages. A benefit from graph structure is accepted only if it persists under the deployment-relevant split.","limits":"Incorrect or incomplete edges can mislead the model. Too many aggregation layers can blur representations, and bottlenecks can limit distant information. Graph sampling changes what a node observes, while heterogeneity may require relation-specific handling. Random splits can leak through connected entities. A GNN does not automatically infer causal relationships from edges. Distinguish a graph-learning task from a knowledge-graph store or ordinary tabular prediction, and validate the topology-building process as carefully as the neural architecture.","sources":[{"title":"PyTorch Geometric: Introduction by Example","url":"https://pytorch-geometric.readthedocs.io/en/latest/get_started/introduction.html","note":"Graph data, message passing and node-level prediction."}],"updatedAt":"2026-10-23"}},{"id":"multimodal-ai","name":"Multimodal AI","category":"Foundation & Multimodal Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Multimodal AI combines information from more than one type of input or output, such as text, images and audio. The skill is choosing representations, alignment and evaluation for the modalities involved. It includes handling missing or conflicting evidence and understanding that supporting several modalities does not guarantee equally reliable behavior across them.","type":"concept","editorial":{"definition":"A multimodal model connects representations of different data types through aligned embeddings, cross-attention or another fusion mechanism. Some systems retrieve across modalities; others generate text from images or produce media from language. Training can use paired observations and objectives that encourage correspondence. The input processor is part of the model contract, determining image resizing, audio sampling or token placement. Modality support also has boundaries: an image-text model is not automatically an audio model, and apparent fluency does not establish accurate perception. Competence includes understanding where information is encoded, how modalities interact and which outputs are actually grounded in supplied evidence.","practice":"Define the role of each modality and whether inputs are paired, synchronized or independently available. Choose a model and processors compatible with those inputs, inspect data alignment and evaluate each modality as well as their combination. Test missing, contradictory and low-quality inputs, and measure resource use for realistic sizes. The deliverable should document input conventions and task-level evidence, including whether the model attends to the intended signal or exploits a shortcut in one modality while appearing to integrate both.","example":"Suppose, illustratively, a support assistant receives a screenshot and a written question. The engineer checks whether the model can read the relevant interface details and answer from them. Tests include a misleading textual hint and an image containing a different error code, revealing whether the system simply follows the hint. Unreadable screenshots prompt a request for clarification. Evaluation separates visual recognition errors from mistakes in interpreting the support instructions.","limits":"Paired data can be noisy or misaligned, and one modality can dominate learned behavior. Resolution, sampling and context limits can remove crucial information before inference. Models may hallucinate unseen objects or overstate what an image or sound supports. Multimodal AI is an umbrella competence, while vision-language models cover a narrower set of modalities. Evaluate grounding and conflict handling explicitly, and avoid assuming that a correct response on clean paired examples transfers to incomplete or adversarial inputs.","sources":[{"title":"Hugging Face Transformers: Image-text-to-text","url":"https://huggingface.co/docs/transformers/tasks/image_text_to_text","note":"Multimodal processors, input formatting and conditional text generation."},{"title":"Hugging Face: Transformers","url":"https://huggingface.co/docs/transformers/index","note":"Supported text, vision, audio and multimodal model interfaces."}],"updatedAt":"2026-10-23"}},{"id":"convolutional-neural-networks","name":"Convolutional Neural Networks","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Convolutional neural networks learn local feature detectors using shared kernels across structured inputs. They are commonly used for images and can also process other grids or sequences. The skill includes understanding receptive fields, resolution and feature hierarchy, and validating whether local structure and weight sharing match the problem.","type":"concept","editorial":{"definition":"A convolutional layer applies learned filters to local neighborhoods and shares their parameters across positions. Successive layers build representations from simpler patterns to more task-specific features. Stride, padding and pooling affect spatial dimensions and receptive fields, while channel structure determines how features are combined. Weight sharing reduces parameter requirements relative to a fully connected mapping over the same grid. Modern CNNs can include residual connections, normalization and other blocks. Convolution provides an inductive bias about locality and translation behavior, but the full network and data pipeline determine how robust that behavior is to real image changes.","practice":"Track spatial and channel dimensions through every layer and choose input resolution with the smallest relevant feature in mind. Compare a pretrained backbone with a smaller custom model, configure augmentation and regularization and evaluate on distinct acquisition conditions. Inspect failures involving scale, background or orientation and measure inference cost. The deliverable includes preprocessing and architecture choices with evidence of generalization, making clear whether the network recognizes task-relevant structure or relies on backgrounds, borders or collection artifacts that may change during use.","example":"For an illustrative surface-defect classifier, an engineer chooses a CNN whose resolution preserves small scratches. They test different crop and augmentation settings and validate on images from a separate camera. A model that performs well on familiar backgrounds fails when lighting changes, so error inspection informs data collection. The engineer compares a pretrained encoder with partial fine-tuning and records the final resize, normalization and class decision rule with the model artifact.","limits":"Pooling or aggressive resizing can remove small features, while padding can create boundary artifacts. Translation-related structure is not a guarantee of invariance to rotation, lighting or domain shift. Deep feature hierarchies can still learn shortcuts. Convolutions differ from attention-based architectures, but either family can be appropriate depending on task and resources. Inspect receptive-field and resolution choices, and validate across relevant acquisition conditions rather than using a high training score as evidence that the local inductive bias is sufficient.","sources":[{"title":"Dive into Deep Learning: Convolutional Neural Networks","url":"https://d2l.ai/chapter_convolutional-neural-networks/index.html","note":"Convolutions, channels, padding, stride and pooling."}],"updatedAt":"2026-10-23"}},{"id":"mixture-of-experts","name":"Mixture of Experts","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Mixture of Experts combines specialized submodels with a routing mechanism that selects or weights their contributions. Sparse variants activate only some experts for each input. The skill includes understanding routing, capacity and load balance, and evaluating the complete model's quality and runtime rather than equating total parameters with the computation used for every prediction.","type":"concept","editorial":{"definition":"An MoE layer contains several experts and a gate or router that determines how an input is processed. In sparse routing, a limited subset of experts receives each token or example, allowing model capacity and active computation to differ. Routing decisions can create specialization but also uneven demand, so auxiliary objectives or capacity policies may be used. Distributed execution introduces communication as expert inputs move between devices. MoE is an architectural pattern and can appear within a larger neural network. It does not automatically mean independent end-user agents, nor does it guarantee that each expert corresponds to an interpretable subject domain.","practice":"Identify where routing occurs and how many experts are active per input. Inspect capacity limits, balancing settings and behavior when an expert receives too many tokens. For deployment, measure memory, communication and throughput under realistic batch and sequence patterns, not only arithmetic estimates. Evaluate difficult or rare inputs for routing-related quality changes. The result should document the architecture and execution assumptions, including the distinction between total model storage and active computation and the monitoring needed to detect overloaded or underused experts.","example":"In an illustrative language-model deployment, an engineer loads a sparse MoE checkpoint across several accelerators. Short requests benchmark well, but a mixed batch causes heavy traffic to a few experts and increased communication delay. The engineer profiles routing and end-to-end latency, then compares batching and placement choices. Task evaluation is repeated after runtime changes, because a capacity policy that improves throughput might also alter which tokens receive their preferred expert computation.","limits":"Sparse activation does not eliminate the memory needed to store experts. Routing imbalance and communication can erode computational savings, and capacity overflow policies may affect outputs. Expert specialization can be unstable or hard to interpret. MoE differs from a simple ensemble that combines separately trained whole-model predictions and from multi-agent orchestration. Compare actual quality and service metrics under representative loads, and avoid using total parameter count or nominal active parameters as a complete proxy for capability or cost.","sources":[{"title":"Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer","url":"https://arxiv.org/abs/1701.06538","note":"Sparse expert routing, conditional computation and load-balancing considerations."}],"updatedAt":"2026-10-23"}},{"id":"recurrent-neural-networks","name":"Recurrent Neural Networks","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Recurrent neural networks process sequences by updating a hidden state as observations arrive. The skill includes choosing sequence boundaries, state handling and training objectives for ordered data. It requires understanding temporal information flow and gradient behavior, rather than treating any array with a time axis as a correctly modeled sequence.","type":"concept","editorial":{"definition":"An RNN applies a recurrent transformation that combines the current input with the previous hidden state. Shared parameters allow the same transition to operate across sequence positions. The state summarizes earlier information for prediction at each step or at the sequence end. Backpropagation through time trains those transitions, and long dependencies can create vanishing or exploding gradients. Gated variants such as LSTM and GRU change how information is retained and updated. Bidirectional recurrence can use both directions when the complete sequence is available, but is incompatible with strict online use if it requires future observations.","practice":"Define whether outputs are needed per step or per sequence and choose padding, masking and truncation accordingly. Specify when state resets and whether it is carried between batches. Check time ordering, target alignment and gradient stability, using clipping or gated alternatives where justified. Validate on independent sequences or future periods and compare simpler temporal baselines. The deliverable should include a model and state-management contract, ensuring that training, evaluation and streaming inference interpret sequence continuity and available information in the same way.","example":"Suppose, illustratively, an engineer classifies operating sequences from a machine. Batches contain variable-length runs, with masking preventing padded positions from changing the loss. Hidden state resets at the start of each run. The engineer compares a plain RNN with a GRU and checks errors on longer runs. If the deployed system streams readings, evaluation avoids bidirectional information that would only be available after the entire run had finished.","limits":"Long-range dependencies can be difficult to learn, and hidden-state mistakes can leak information between unrelated sequences. Padding and target alignment errors may execute without exceptions. Recurrence can limit parallelism across time. A hidden state is not a complete or interpretable memory of past events. RNNs differ from state-space and attention-based models despite overlapping sequence tasks. Test length sensitivity, state resets and the prediction-time boundary before drawing conclusions from a good score on conveniently segmented sequences.","sources":[{"title":"Dive into Deep Learning: Recurrent Neural Networks","url":"https://d2l.ai/chapter_recurrent-neural-networks/rnn.html","note":"Hidden-state updates, sequence outputs and recurrent training."}],"updatedAt":"2026-10-23"}},{"id":"state-space-models","name":"State Space Models","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"State-space models represent sequence behavior through an evolving internal state and an observation mapping. In neural sequence modeling, structured and selective variants provide alternatives to attention. The competence includes understanding state updates, discretization and information retention, while distinguishing classical statistical state-space models from particular modern neural architectures such as Mamba.","type":"concept","editorial":{"definition":"A state-space formulation separates a latent state transition from the relationship between that state and observed or predicted values. Classical models use this structure for dynamical estimation and forecasting; neural variants learn transformations suitable for representation learning. Structured implementations can exploit recurrence or convolution, and selective architectures make parts of the state update depend on the input. Mamba is one such selective sequence architecture, not a synonym for every state-space model. Competence requires identifying which formulation is being used, how continuous or discrete updates are implemented and what information can pass through the state under the chosen parameterization.","practice":"Start from the sequence task and determine whether a statistical dynamical model or neural representation is needed. Inspect state dimensions, update equations and input-dependent behavior, then implement masking and state reset consistently. Compare with recurrent or attention baselines under matched data and resource budgets. Test long sequences, streaming behavior and sensitivity to missing observations. The resulting artifact should explain the state contract and evaluation, including which computational benefits depend on a particular kernel, hardware path or sequence shape rather than the abstract architecture alone.","example":"In an illustrative streaming sensor classifier, an engineer evaluates a selective state-space network that updates a compact state for each reading. They test whether patterns separated by long intervals are retained and compare results with a gated recurrent baseline. Sequence starts reset state, while genuine continuation preserves it. Performance is measured on the intended streaming path as well as batch execution, so an efficient benchmark implementation is not assumed to represent the deployed system.","limits":"A compact state can lose task-relevant distant detail, and selective updates do not guarantee memory of every event. Kernel and hardware choices influence practical runtime. Classical probabilistic state-space models and neural SSMs offer different interpretations and uncertainty handling. Claims of efficiency depend on workload and implementation, while benchmark quality may not transfer. Evaluate retention, numerical stability and deployment behavior, and avoid treating Mamba, ordinary recurrence and every dynamical model as interchangeable methods.","sources":[{"title":"Mamba: Linear-Time Sequence Modeling with Selective State Spaces","url":"https://arxiv.org/abs/2312.00752","note":"Input-dependent state-space updates and neural sequence-model architecture."},{"title":"statsmodels: State space methods","url":"https://www.statsmodels.org/stable/statespace.html","note":"Classical statistical state-space formulations, distinct from neural selective models."}],"updatedAt":"2026-10-23"}},{"id":"transformer-architecture","name":"Transformer Architecture","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"The Transformer architecture models relationships using attention alongside learned transformations and positional information. It underpins encoder, decoder and encoder–decoder systems for many tasks. The skill is understanding attention masks, representation flow and runtime costs, so the selected architecture and input format match what information is available when a prediction is made.","type":"concept","editorial":{"definition":"Attention forms weighted combinations of value representations using relationships between queries and keys. Multiple heads learn different projection spaces, while feed-forward blocks, residual connections and normalization transform and stabilize representations. Positional information gives the model access to order that attention alone does not encode. Encoders can attend across an input, causal decoders restrict attention to preceding positions and encoder–decoder models connect an input representation to generated output. These variants have different task and leakage implications. KV caching reuses prior key and value computations during suitable autoregressive inference, but is an execution mechanism rather than the defining concept of a Transformer.","practice":"Choose encoder, causal decoder or encoder–decoder structure from the task. Verify masks, positional handling, padding and token alignment before training or inference. Inspect context-length and memory behavior and compare attention implementations only with behavioral checks. For generation, understand cache state and how decoding settings interact with the model. The deliverable should document architecture and input contracts with evaluation on relevant sequences, including evidence that future or padded information is not unintentionally available and that runtime optimization preserves the intended prediction behavior.","example":"For an illustrative language-understanding classifier, an engineer uses a bidirectional encoder over complete messages. A separate next-token experiment instead applies a causal mask, preventing access to future tokens. The engineer checks both tasks on short synthetic sequences where information flow is easy to inspect. During autoregressive inference, caching reduces repeated computation, but cached and uncached outputs are compared under controlled settings before the optimization is accepted.","limits":"Attention weights are not automatically faithful explanations or causal contributions. Context size and memory grow with architecture and implementation, and position handling may weaken on lengths unlike training. Incorrect masks can produce excellent but leaked results. Transformer architecture is distinct from a particular pretrained language model and does not imply generation, reasoning or multimodal support by itself. Check information flow and the full input-processing contract, and assess optimized attention or caching under the exact workload rather than relying on architectural labels.","sources":[{"title":"Attention Is All You Need","url":"https://arxiv.org/abs/1706.03762","note":"Multi-head attention, positional encoding and encoder–decoder architecture."}],"updatedAt":"2026-10-23"}},{"id":"reasoning-models","name":"Reasoning Models","category":"Foundation & Multimodal Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Reasoning models are language models trained or configured to spend additional computation on intermediate problem solving before producing an answer. The competence is selecting and evaluating that behavior for a task, including latency and verification. Longer generated reasoning is not automatically correct, faithful or preferable to a simpler response.","type":"concept","editorial":{"definition":"The label describes a family of model behaviors and training approaches rather than one architecture. Post-training can encourage multi-step problem solving through supervised examples or reinforcement learning, including tasks with verifiable outcomes. At inference, a model may generate intermediate tokens or use other computation before the final answer, and systems expose that process differently. Visible explanations are outputs, not a complete account of internal computation. Reasoning performance depends on task, evaluation and resource budget. The competence includes distinguishing improved answer quality from convincing-looking deliberation and understanding that an automatically checkable training reward covers only what its verifier actually tests.","practice":"Define tasks where extra computation could improve outcomes and compare a reasoning-oriented model with a simpler baseline under realistic budgets. Evaluate correctness using independent checks where possible, inspect failure cases and measure response latency and output variability. Configure available computation controls deliberately and preserve the evaluation protocol. For tool-assisted tasks, check the actual action and result rather than relying on a reasoning narrative. The deliverable should explain when additional deliberation helps, what it costs and which answers require verification before users act on them.","example":"Suppose, illustratively, a model helps solve programming exercises. An engineer compares answer quality under several allowed computation budgets and runs generated code against withheld tests. A lengthy explanation accompanying failing code is counted as failure. Some simple exercises gain little from extra computation, while difficult cases benefit. The system uses the task evidence to choose a budget and reports verified results separately from the model's explanation of how it reached them.","limits":"Longer reasoning can introduce extra mistakes, consume resources or merely rationalize an incorrect answer. A verifier may be incomplete or exploitable, and benchmark gains may not transfer to open-ended tasks. Visible chain-of-thought is not guaranteed to be faithful or exhaustive. Reasoning models remain language models with factual and distributional limits. Evaluate final outcomes, tool behavior and cost together, and avoid using explanation length or confidence as a substitute for correctness or evidence of a reliable internal process.","sources":[{"title":"DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","url":"https://arxiv.org/abs/2501.12948","note":"A concrete reasoning-oriented post-training approach and outcome-based evaluation."}],"updatedAt":"2026-10-23"}},{"id":"transfer-learning","name":"Transfer Learning","category":"Deep Learning & Training Paradigms","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Transfer learning reuses knowledge learned on one task or dataset to support another. It can use a fixed representation or adapt some or all model parameters. The skill is deciding what to transfer, how much to update and whether the source representation improves the target task under a fair evaluation.","type":"concept","editorial":{"definition":"A pretrained model contains representations shaped by its source data and objective. A target task can use those representations as features, replace an output head or fine-tune selected layers. The approach can reduce the amount of target-task fitting required, but its usefulness depends on compatibility between source and target. Frozen-feature training and full fine-tuning make different assumptions about what should change. Transfer learning is broader than language-model fine-tuning and appears in vision, audio and other domains. Competence includes recognizing negative transfer, where inherited features or adaptation choices make performance worse than an appropriate target-specific baseline.","practice":"Inspect the pretrained model's input conventions, source task and documented limitations. Establish a frozen-feature baseline before choosing layers to update, set learning rates and regularization accordingly and check target-label quality. Evaluate on target data separated by meaningful sources or time, comparing with simpler or from-scratch alternatives where practical. Save the base revision, preprocessing and adaptation artifacts. The result should explain which parameters were reused or changed and provide evidence that the transfer helps the intended target population rather than only fitting a small development set.","example":"In an illustrative inspection task, an engineer adapts an image encoder to a new material. They first train a small classifier on frozen features, then compare partial fine-tuning. The target images have different lighting and texture from the source data, so validation uses a separate acquisition batch. If deeper adaptation improves training but not the new batch, the engineer returns to a more constrained update and investigates data coverage before increasing capacity.","limits":"Source-task success does not guarantee useful target features. Large domain differences, incompatible preprocessing or small noisy target datasets can cause negative transfer or overfitting. Fine-tuning can forget previous behavior and changes the artifact that must be evaluated. A pretrained checkpoint's license and documentation remain relevant. Transfer learning differs from simply reusing code and from training an entire model from scratch. Compare adaptation choices on the actual target task and preserve enough provenance to reproduce the inherited representation.","sources":[{"title":"Dive into Deep Learning: Fine-Tuning","url":"https://d2l.ai/chapter_computer-vision/fine-tuning.html","note":"Frozen representations, adaptation and target-task transfer."}],"updatedAt":"2026-10-23"}},{"id":"long-context-modeling","name":"Long-Context Modeling","category":"Foundation & Multimodal Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Long-context modeling designs and evaluates systems that process extended sequences. It involves position handling, attention or alternative memory mechanisms and careful management of input information. The skill is verifying whether the model uses relevant distant evidence reliably, rather than treating a large advertised context limit as equivalent to accurate understanding of everything supplied.","type":"concept","editorial":{"definition":"A context window defines the input and generation capacity of a particular model and runtime, but useful handling of long sequences also depends on training and architecture. Position encodings, including rotary methods and scaling variants, influence extrapolation beyond familiar lengths. Attention implementations, caching and sequence distribution affect memory and computation. Systems may combine retrieval, summarization or recurrent state with long inputs, each changing what information survives. Competence includes separating technical acceptance of a long sequence from task performance within it. A model can accept the tokens yet miss relevant details, confuse sources or use evidence unevenly across positions.","practice":"Define the maximum relevant input and the kinds of dependencies the task needs. Check tokenizer, position configuration and runtime support, then evaluate at several lengths with evidence placed in different locations. Measure memory, latency and answer quality together. Compare supplying the full context with selecting relevant passages, and test conflicting or repeated material. The deliverable should document truncation, position and context-assembly choices, with evidence about retrieval and synthesis of distant information rather than a single test that merely fits within the configured limit. Measure effective context length on the intended tasks using a declared quality threshold. Vary evidence position, distractor volume and required cross-document reasoning at several input lengths; report a quality curve rather than treating the advertised context window as a guarantee.","example":"Suppose, illustratively, an assistant reviews a long equipment manual. The evaluator asks questions requiring details from the beginning, middle and end, including a later amendment that overrides an earlier instruction. They compare full-context input with a retrieval-assisted version and inspect source citations. A configuration that accepts the entire manual but cites the obsolete passage is not treated as successful. Resource use is reported alongside these evidence-use results.","limits":"Context length is not a guarantee of reliable recall, reasoning or source precedence. Position-scaling settings must match the architecture and can change quality. Large inputs increase resource use, while summarization or retrieval may omit important detail. Tests with one planted fact do not represent every long-document task. Long-context modeling differs from RAG, though the two can be combined. Evaluate multiple evidence positions, conflicts and realistic workloads, and inspect whether truncation or preprocessing silently removed the material the model was expected to use.","sources":[{"title":"Hugging Face Transformers: Rotary embeddings utilities","url":"https://huggingface.co/docs/transformers/main/en/internal/rope_utils","note":"Rotary position configurations and scaling variants."},{"title":"Hugging Face: Transformers","url":"https://huggingface.co/docs/transformers/index","note":"Model configuration, generation and runtime context."},{"title":"RULER","url":"https://arxiv.org/abs/2404.06654","note":"Evidence for the added evaluation or serving practice."}],"updatedAt":"2026-10-23"}},{"id":"litert-tensorflow-lite","name":"LiteRT (TensorFlow Lite)","category":"Efficient, Edge & Compressed Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"LiteRT is an on-device inference framework built on the TensorFlow Lite ecosystem. The competence includes converting supported models, preserving input conventions and choosing suitable runtime and acceleration paths. Reliable use requires checking the converted artifact's behavior and performance on the actual device, rather than assuming that successful conversion guarantees efficient or equivalent inference.","type":"tool","editorial":{"definition":"A LiteRT deployment packages a model in a runtime-compatible representation and executes supported operations on a device. Conversion, optimization and acceleration connect training frameworks to mobile, embedded or other supported environments. Quantization can reduce resource requirements, while runtime APIs and accelerator support depend on the model and platform. The historical TensorFlow Lite name remains relevant to artifacts and integrations, but current tooling should be checked explicitly. Competence includes understanding operator compatibility and input signatures, because conversion can change precision or require operations whose available execution path differs from the intended accelerator configuration.","practice":"Inspect model operators and input shapes, select a documented conversion path and create representative calibration data if quantization requires it. Compare outputs with the original model on normal and difficult examples. Integrate preprocessing and postprocessing consistently, then profile startup, sustained latency and memory on the target device. Verify which operations are accelerated and test fallback behavior. The deliverable includes the converted model and application contract, with evidence about quality and device resource use rather than only the size of the exported file.","example":"For an illustrative camera app, an engineer converts a classifier to LiteRT and tests it on a phone. They verify image resizing and channel normalization and compare predictions with the source model. Integer quantization lowers resource use but changes some low-confidence classifications, so the team evaluates those cases before release. Device profiling includes camera capture and result rendering, revealing whether the complete experience meets the response requirement.","limits":"Not every source operation or dynamic shape is supported identically, and accelerator fallback can alter performance. Calibration data may poorly represent real inputs, causing quantization errors. A smaller artifact can still have substantial activation or application memory needs. Platform and API differences require compatibility checks. LiteRT is a runtime and conversion ecosystem, not a neural architecture or universal speed guarantee. Evaluate the actual packaged pipeline and device, preserving versions and input conventions for reproducibility.","sources":[{"title":"Google: LiteRT","url":"https://developers.google.com/edge/litert","note":"On-device runtime, conversion, optimization and hardware acceleration."}],"updatedAt":"2026-10-23"}},{"id":"nvidia-jetson","name":"NVIDIA Jetson","category":"Efficient, Edge & Compressed Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"NVIDIA Jetson is an embedded computing platform used for local accelerated inference and related workloads. The skill includes deploying a complete model pipeline on a supported device and software stack. Practitioners balance latency, memory, power and sustained behavior, with measurements on the actual system rather than conclusions drawn only from hardware specifications.","type":"tool","editorial":{"definition":"A Jetson system combines embedded hardware with a software environment for accelerated computation and device integration. Applications may connect cameras or other sensors, preprocess inputs, execute a model and act on results. The exact capabilities depend on the module, runtime and installed software. Model conversion and acceleration tools can optimize compatible operations, while unsupported paths or transfer overhead can limit benefit. Jetson is a platform rather than a model architecture; choosing it does not determine the neural network or guarantee that an application is real-time. Competence includes understanding the interaction among model, runtime, sensor pipeline and device operating conditions.","practice":"Identify the target module and supported software versions, prepare a reproducible environment and verify device and sensor access. Profile preprocessing, inference and postprocessing separately and end to end. Compare precision or conversion options with task-quality checks, and measure sustained behavior under realistic power and thermal settings. Design startup, fault handling and model-update rollback. The deliverable is a tested application package with resource and compatibility records, allowing another engineer to reproduce the deployment and understand where performance depends on a particular hardware or software configuration.","example":"In an illustrative inspection station, a Jetson device receives camera frames and classifies visible defects. The engineer finds that image copying and preprocessing dominate latency more than model execution. They revise the pipeline and compare results under continuous operation, checking heat and dropped frames. The selected model is tested on the same camera and lighting conditions used at the station. A desktop benchmark is retained only as development context, not as the deployment performance result.","limits":"Different Jetson modules and software stacks are not interchangeable. Thermal throttling, power modes and shared workloads affect sustained performance. Model conversion can alter quality, and sensor buffering can add delay outside the model call. A working demo does not establish recovery behavior or maintainability. Jetson differs from the broader Edge AI competence and from a specific acceleration runtime. Measure complete workloads and document configurations rather than presenting nominal compute capacity as evidence that operational response requirements are met.","sources":[{"title":"NVIDIA: Jetson Orin Nano Quick Start","url":"https://docs.nvidia.com/jetson/orin-nano-devkit/user-guide/latest/quick_start.html","note":"Concrete device setup and Jetson software deployment context."}],"updatedAt":"2026-10-23"}},{"id":"large-language-models","name":"Large Language Models","category":"Foundation & Multimodal Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Large language models learn statistical patterns in language and can generate or transform text under a supplied context. The competence is understanding their capabilities and limits, choosing a model and designing evaluation for a task. It includes grounding, decoding and integration decisions rather than assuming fluent output establishes factual accuracy or reliable reasoning.","type":"concept","editorial":{"definition":"Language models assign probabilities to token sequences, with modern systems commonly using large neural architectures and extensive pretraining. Some models are encoders suited to representation tasks, while generative decoders produce continuations autoregressively. Post-training and input formatting shape how a model follows instructions. A model's context contains supplied information but is not the same as durable knowledge in parameters. Generation combines the learned distribution with a decoding procedure, so outputs can vary with sampling settings. Competence includes distinguishing the base model, adapted checkpoint and surrounding application, because retrieval, tools and safeguards add behavior not explained by the model alone.","practice":"Define the task and available evidence, compare candidate models on representative examples and inspect difficult cases. Preserve tokenizer, chat formatting and checkpoint revisions, and configure generation settings deliberately. Assess factuality, instruction following, latency and resource use separately. If retrieval or tools are added, evaluate those components and the resulting answer path. The deliverable should describe the selected model's input contract and measured task behavior, including uncertainty handling and conditions for human review, rather than relying on model size or a general benchmark as the deployment argument.","example":"Suppose, illustratively, a team uses a language model to draft answers from product manuals. The evaluator checks whether claims are supported by supplied passages, tests questions whose answer is absent and compares concise and verbose decoding settings. A fluent unsupported answer is counted as a failure. The final system records the checkpoint and context-assembly rules and separates the model's language ability from the retrieval and permission controls needed for the application.","limits":"Models can hallucinate, reproduce biases and remain confident on unfamiliar inputs. Context and tokenization limits constrain what they receive, while generation settings influence consistency. Larger parameter counts do not establish task suitability. A visible explanation does not guarantee faithful reasoning or correct conclusions. LLMs are a model family rather than a complete assistant or knowledge source. Evaluate the exact checkpoint and surrounding workflow, and verify consequential factual claims through appropriate evidence instead of treating language fluency as authority.","sources":[{"title":"Hugging Face: LLM Course introduction","url":"https://huggingface.co/learn/llm-course/chapter1/1","note":"Language-model tasks, representations and application workflow."},{"title":"Hugging Face: Transformers","url":"https://huggingface.co/docs/transformers/index","note":"Model, preprocessor and generation interfaces."}],"updatedAt":"2026-10-23"}},{"id":"generative-adversarial-networks-gan","name":"Generative Adversarial Networks (GAN)","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Generative adversarial networks train a generator and discriminator through competing objectives. The generator learns to produce samples that the discriminator has difficulty distinguishing from training data. The skill includes balancing the training dynamics, evaluating sample diversity and fidelity and recognizing that realistic-looking outputs do not establish coverage of the underlying data distribution.","type":"concept","editorial":{"definition":"A GAN's generator maps a source of variation, often random latent inputs, into generated examples. A discriminator learns to distinguish generated examples from observed data, and its feedback shapes generator updates. Conditional variants incorporate labels or other guidance. The two components change together, creating optimization dynamics unlike a single fixed supervised objective. A generator can produce convincing samples while ignoring parts of the distribution, a failure often described as mode collapse. Competence includes understanding the objective variant and architecture rather than treating every adversarial method as equivalent. A discriminator score is part of the training game, not automatically a reliable external quality metric.","practice":"Choose a data representation and objective suited to the generation task, and verify the update sequence for generator and discriminator. Monitor training dynamics and sample diversity across latent inputs, comparing multiple runs where feasible. Evaluate held-out fidelity and coverage with appropriate quantitative measures and human inspection. Record conditioning and sampling procedures. The deliverable is a reproducible generator with evidence about its output distribution and failure modes, including whether apparent quality comes from broad learning or a narrow set of repeated patterns.","example":"In an illustrative texture-generation project, an engineer trains a conditional GAN for several material types. The discriminator improves quickly while generator outputs become repetitive. The engineer examines loss behavior and samples across many latent inputs, then revises training balance and regularization. Evaluation includes both visual realism and whether the material variations present in held-out data are represented. Attractive selected textures alone are insufficient to judge the model.","limits":"Adversarial training can be unstable and sensitive to architecture and optimization choices. Mode collapse, memorization and artifacts may not be obvious in a few selected samples. Quality metrics have their own representation assumptions and should not be read as universal perceptual scores. GANs differ from diffusion models and variational autoencoders in objective and sampling behavior. Evaluate diversity, fidelity and training reproducibility separately, and avoid claims that a convincing discriminator or image proves complete distributional learning.","sources":[{"title":"Generative Adversarial Networks","url":"https://arxiv.org/abs/1406.2661","note":"Generator–discriminator objective and adversarial learning formulation."}],"updatedAt":"2026-10-23"}},{"id":"generative-architectures","name":"Generative Architectures","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Generative architectures learn to produce data samples or structured outputs rather than only predict a label. The competence includes understanding how an architecture represents a distribution and how outputs are conditioned and sampled. It supports choosing among autoregressive, variational, adversarial and diffusion approaches according to task, control and evaluation requirements.","type":"concept","editorial":{"definition":"Autoregressive models factor a sequence into conditional predictions, variational autoencoders learn a latent probabilistic representation, GANs learn through adversarial feedback and diffusion approaches learn a reverse process related to corruption. These families use different objectives and sampling procedures, with distinct tradeoffs in likelihood interpretation, latent structure and computational cost. Some operate directly on observations, while others generate through compressed representations. The same output modality can be handled by several families, and hybrid systems combine components. Competence means linking a distributional objective to the generated artifact, rather than calling every system that produces text or images the same kind of generative model.","practice":"Define what should be generated, which conditioning is available and how fidelity, diversity and control will be assessed. Compare architectures using compatible task evidence and resource budgets, not unrelated headline scores. Inspect the training objective, sampling path and input representation, and evaluate both typical and difficult conditions. The deliverable should justify the selected family and configuration, with a reproducible sampling procedure and checks for memorization, unwanted artifacts or poor coverage that a few attractive outputs would not reveal.","example":"Suppose, illustratively, a team needs synthetic sensor sequences for testing software. They compare an autoregressive model with a latent generative approach, checking temporal relationships, operating ranges and diversity. A candidate that produces plausible individual readings but impossible transitions is rejected. The evaluation is tied to the test purpose, and generated data are labeled as synthetic. The architecture decision follows those requirements rather than assuming that success in image generation transfers to sensor dynamics.","limits":"No architecture guarantees useful synthetic data or factual output. Training objectives measure different quantities, making cross-family scores difficult to compare. Latent compression can lose detail, autoregressive errors can accumulate and adversarial or diffusion sampling has its own failure modes. Generated data can reproduce biases or sensitive patterns from training. Generative architecture is an umbrella concept, distinct from a particular checkpoint or tool. Evaluate application-specific validity, diversity and resource cost rather than judging the family by selected demonstrations.","sources":[{"title":"Auto-Encoding Variational Bayes","url":"https://arxiv.org/abs/1312.6114","note":"Latent-variable generative modeling and variational training."},{"title":"Generative Adversarial Networks","url":"https://arxiv.org/abs/1406.2661","note":"Adversarial generation objective."},{"title":"Denoising Diffusion Probabilistic Models","url":"https://arxiv.org/abs/2006.11239","note":"Diffusion-based generation formulation."}],"updatedAt":"2026-10-23"}},{"id":"hugging-face-diffusers","name":"Hugging Face Diffusers","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Hugging Face Diffusers is a library for constructing and running supported diffusion and related generative pipelines. It organizes models, schedulers and conditioning components in code. The skill includes selecting compatible components, controlling generation settings and validating outputs and resource use, rather than treating a pipeline invocation as a complete reproducible workflow.","type":"tool","editorial":{"definition":"A Diffusers pipeline combines the modules required for a generation or editing task, such as a text encoder, generative network, scheduler and decoder. Components can be loaded from pretrained artifacts and configured through documented APIs. Schedulers determine aspects of sampling, while adapters or additional conditioning can modify control where supported. The library covers multiple tasks and model families, each with its own input and compatibility requirements. Diffusers is an implementation framework rather than a synonym for diffusion theory or one model such as Stable Diffusion. Competence includes understanding which components a pipeline actually uses and how their configuration affects the produced media.","practice":"Choose a pipeline for the task and checkpoint, pin revisions and inspect its expected inputs. Confirm scheduler and adapter compatibility, manage precision and device placement and record seeds and generation parameters. Compare outputs across representative prompts or inputs and profile memory and runtime before applying optimization settings. Preserve the configuration and required artifacts for reopening the workflow. The deliverable should be executable code with task-quality checks and a clear component record, so changes in a scheduler or checkpoint can be assessed rather than silently altering generation.","example":"For an illustrative image-editing service, an engineer loads a pipeline supporting a source image and mask. They compare several strengths and guidance settings, checking whether unmasked content remains acceptable. A memory optimization is tested on the target accelerator and evaluated for output differences. The saved workflow includes the checkpoint revision, mask preprocessing and scheduler settings, enabling another engineer to reproduce the service's behavior rather than only rerun a similar prompt.","limits":"Pipeline classes and checkpoints are not freely interchangeable. Adapters, schedulers and precision settings can have model-specific constraints. Fixed seeds do not guarantee identical outputs across every device and version. Optimization settings should be measured, not assumed to improve every workload. Diffusers differs from a graph interface such as ComfyUI and from the underlying model family. Evaluate complete generation or editing behavior, including preprocessing and postprocessing, and preserve exact dependencies when reproducibility matters.","sources":[{"title":"Hugging Face: Diffusers","url":"https://huggingface.co/docs/diffusers/index","note":"Pipelines, models, schedulers and supported generative tasks."}],"updatedAt":"2026-10-23"}},{"id":"image-generation","name":"Image Generation","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Image generation produces visual outputs from learned models and optional conditioning such as text, reference images or masks. The competence includes specifying visual constraints, choosing a workflow and reviewing fidelity and consistency. It combines generation with evaluation and iteration, because an attractive image can still fail the intended composition, identity or editing requirements.","type":"concept","editorial":{"definition":"A generative pipeline transforms random or structured inputs into an image, often through a sequence of sampling steps in pixel or latent space. Text conditioning describes content, while image, mask or structural conditioning can supply more direct control where supported. Guidance and sampling settings influence the relationship between conditioning and output. Text-to-image, image-to-image and inpainting solve different tasks and impose different contracts on inputs. The competence is broader than writing a prompt: it includes understanding which controls the model supports, how preprocessing affects them and whether the output preserves or invents details relevant to the intended visual use.","practice":"Translate the brief into observable requirements such as objects, layout, identity and untouched regions. Choose an appropriate generation or editing pipeline, prepare references and masks and keep a record of settings. Compare multiple outputs against the requirements and inspect details at the resolution needed for use. Iterate by changing a specific control rather than adding vague instructions. The deliverable is a reviewed asset and reproducible workflow, with any postprocessing documented so users can distinguish deliberate edits from uncontrolled model variation.","example":"In an illustrative catalog mockup, a designer supplies a product reference and requests a new background. They use an editing workflow and mask, then check product proportions, labels and edges. A visually pleasing result that changes the product's controls is rejected. Iteration focuses on the edit strength and mask boundary, and the final image is checked at export size. The chosen asset is justified by fidelity to the brief, not by the most dramatic appearance.","limits":"Models may distort text, geometry or identity and can introduce details absent from a reference. Strong conditioning is not a guarantee of exact preservation. Selected samples hide failure rates, and a seed alone does not capture the workflow. Generated images should not be treated as documentary evidence. Image generation differs from faithful image reconstruction or conventional retouching, though workflows can combine them. Evaluate the asset's intended use and constraints directly instead of relying on prompt adherence or aesthetic appeal alone.","sources":[{"title":"Hugging Face Diffusers: Text-to-image","url":"https://huggingface.co/docs/diffusers/using-diffusers/conditional_image_generation","note":"Conditioned sampling, pipeline inputs and generation settings."}],"updatedAt":"2026-10-23"}},{"id":"stable-diffusion","name":"Stable Diffusion","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Stable Diffusion is a family of generative image models associated with latent-space diffusion workflows. The competence includes selecting a specific checkpoint, matching its conditioning and runtime and evaluating generation or editing behavior. Model versions and derivatives differ, so the family name alone does not establish compatibility, licensing or output quality.","type":"tool","editorial":{"definition":"The original latent-diffusion approach compresses images with an autoencoder and performs the generative process in that representation. A conditioning mechanism can connect text to generation, while decoding converts latent outputs back to images. Stable Diffusion checkpoints and subsequent variants package particular architectures, weights and input conventions. Sampling, guidance and optional adapters influence output but must be compatible with the selected model. The family should not be treated as one immutable implementation or as all diffusion models. Competence includes understanding the checkpoint's components and the distinction between adapting weights, adding conditioning and changing inference settings.","practice":"Inspect the checkpoint documentation and permitted use, choose a compatible pipeline and preserve the matching encoders and decoder. Establish prompt and editing tests, tune sampling settings deliberately and verify adapters or structural controls. Measure resource use and compare difficult cases such as fine text, composition and reference fidelity. Record revisions and workflow dependencies. The deliverable should specify the exact model and execution path, with reviewed outputs showing where it satisfies the task and where an alternative workflow or manual correction is required.","example":"Suppose, illustratively, a designer uses a Stable Diffusion checkpoint for packaging concepts. They first test the model's normal conditioning, then add a compatible adapter for a visual style. Generated text on the package is reviewed separately and may be replaced through conventional layout tools. The workflow stores the checkpoint and adapter versions. A later model-family change triggers a new evaluation rather than assuming that the old settings and components remain compatible.","limits":"Latent compression can lose small details, and generation may distort text, shapes or identities. Checkpoint derivatives can change architecture, behavior and license conditions. Guidance and adapters can trade fidelity against diversity or introduce artifacts. A local model is not automatically private if surrounding services or logs transmit inputs. Stable Diffusion differs from the general diffusion method and from a tool such as ComfyUI. Test the selected artifact and complete workflow instead of relying on the family name as a quality or compatibility guarantee.","sources":[{"title":"High-Resolution Image Synthesis with Latent Diffusion Models","url":"https://arxiv.org/abs/2112.10752","note":"Latent-space generation and conditioning architecture."},{"title":"CompVis: Stable Diffusion repository","url":"https://github.com/CompVis/stable-diffusion","note":"Original model implementation, artifacts and use documentation."}],"updatedAt":"2026-10-23"}},{"id":"pytorch-geometric","name":"PyTorch Geometric","category":"Graph Neural Networks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"PyTorch Geometric is a library for graph learning built around graph data structures and neural operations in the PyTorch ecosystem. The skill includes constructing graph tensors, batching and sampling correctly and applying suitable message-passing models. The graph representation and split design remain central to validity even when the library makes model construction convenient.","type":"tool","editorial":{"definition":"PyG represents node features, edges and related attributes in data objects that can be processed by graph-specific layers and loaders. Its message-passing abstractions support building networks that aggregate information across neighborhoods. Batching may combine independent graphs, while sampling can limit computation for a large graph. Tasks include node, edge and graph prediction with different target shapes and evaluation boundaries. PyTorch Geometric is a toolkit rather than a single GNN architecture. Competence includes understanding how edge indices, directed relationships and batch assignments encode the intended graph, because a valid tensor can silently describe a different connectivity pattern.","practice":"Build a small graph with known connections and verify edge orientation, indices and feature alignment before training. Choose layers and aggregation suited to the task, configure batching or neighborhood sampling and check how labels map to outputs. Separate graphs, entities or times according to intended use and compare a non-graph baseline. Profile memory and sampled coverage. The deliverable includes reproducible graph construction and model code, with checks showing that batched or sampled execution preserves the meaning of relationships and does not leak evaluation information through graph preprocessing.","example":"For an illustrative molecular classifier, an engineer represents atoms as nodes and bonds as edges. They inspect a small molecule's tensors and check that batching keeps graphs separate while pooling returns one prediction per molecule. A dataset split groups related molecular scaffolds to test a harder generalization boundary. If random splitting produces much better results, the difference is explained through the evaluation design rather than attributed solely to the chosen PyG layer.","limits":"Incorrect edge indexing or direction can execute while changing the task. Neighbor sampling may omit relevant context and introduce variability. Extensions and accelerator dependencies require compatible installations. Graph leakage is possible even when labels are masked, particularly through target-derived edges or global preprocessing. PyG differs from the general GNN competence and from a graph database. Validate representation and splits directly, and avoid treating a library's benchmark loader or default example as a deployment-ready evaluation protocol.","sources":[{"title":"PyTorch Geometric: Introduction by Example","url":"https://pytorch-geometric.readthedocs.io/en/latest/get_started/introduction.html","note":"Graph tensors, data objects, message passing and prediction workflow."}],"updatedAt":"2026-10-23"}},{"id":"model-pruning","name":"Model Pruning","category":"Efficient, Edge & Compressed Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Model pruning removes or masks selected parameters or structures to reduce a model's effective complexity. The skill includes choosing what to prune, assessing quality loss and verifying whether the target runtime benefits. Sparse weights do not automatically make a model faster or smaller in its deployed representation.","type":"concept","editorial":{"definition":"Unstructured pruning removes individual weights, while structured pruning removes units such as channels or other blocks. Selection can use magnitude or another importance criterion, and subsequent fine-tuning may recover some lost quality. A mask can leave the original dense tensor shape unchanged, so storage and execution savings depend on representation and kernel support. Pruning changes model structure or effective connectivity and should be distinguished from quantization, which changes numeric precision, and distillation, which trains another model. Competence includes linking the pruning method to the actual runtime rather than treating a sparsity percentage as a complete measure of compression or efficiency.","practice":"Establish a quality and latency baseline on the target workload. Choose structured or unstructured pruning based on supported execution paths, apply it incrementally and inspect which layers are sensitive. If fine-tuning follows, preserve the same evaluation boundary and check important slices for regressions. Export the intended representation and profile the deployed artifact, including load time and memory. The deliverable should report quality and measured resource changes together, making clear whether savings arise from reduced tensors, sparse storage or specialized execution rather than from masked zeros alone.","example":"In an illustrative image classifier, an engineer prunes low-magnitude weights and observes little change in accuracy. The dense runtime, however, still executes the same tensor operations, so latency barely changes. The engineer then evaluates a structured channel reduction with appropriate fine-tuning and export. Performance is measured on the device used by the application. This separates a successful weight-removal experiment from an actual improvement in deployed resource use.","limits":"Pruning can damage rare behaviors or layers whose importance is not captured by a simple criterion. Fine-tuning may overfit or fail to recover quality. Sparse formats and kernels have hardware-dependent overhead, and masks can retain dense storage. A headline sparsity value does not establish speedup. Pruning differs from quantization and distillation, although methods can be combined. Evaluate the final artifact's task quality and execution path rather than equating removed weights with equivalent reductions in cost.","sources":[{"title":"PyTorch: Pruning Tutorial","url":"https://docs.pytorch.org/tutorials/intermediate/pruning_tutorial.html","note":"Masks, structured and unstructured pruning and model representation."}],"updatedAt":"2026-10-23"}},{"id":"autoencoders","name":"Autoencoders","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Autoencoders learn an encoder–decoder mapping that reconstructs data through an internal representation. They support representation learning, denoising and compression. The skill is designing a bottleneck or constraint that encourages useful structure and evaluating reconstruction and downstream behavior, because copying inputs accurately does not automatically produce a meaningful or generative representation.","type":"concept","editorial":{"definition":"An encoder transforms an input into a code and a decoder attempts to reconstruct the intended output from that code. A bottleneck, sparsity constraint or other regularization prevents a trivial unconstrained copy from being the only objective. Denoising autoencoders reconstruct clean targets from corrupted inputs. Variational autoencoders introduce a probabilistic latent formulation and a different training objective, enabling principled sampling under that model. Ordinary deterministic autoencoders do not automatically provide such a generative distribution. Competence includes understanding how reconstruction loss, latent capacity and constraints shape the representation, and what information is lost or retained for the intended use.","practice":"Define whether the goal is compression, denoising or feature learning and choose input and reconstruction targets accordingly. Set latent capacity and loss with attention to data scale, then compare held-out reconstructions and task-relevant downstream behavior. Inspect failures on rare structures and test sensitivity to corruption or domain change. Preserve encoder, decoder and preprocessing together. The deliverable should explain the representation's purpose and limitations, distinguishing low average reconstruction error from preservation of small but important features or useful separation for another task.","example":"For an illustrative inspection workflow, an engineer trains a denoising autoencoder on sensor patterns with simulated noise. Clean readings are the reconstruction target. Average error is low, but a small transient warning pattern is smoothed away, so the engineer adds task-specific checks and adjusts the objective or capacity. If reconstruction error is used as an anomaly score, that detector is evaluated separately on reviewed cases rather than assuming that every poorly reconstructed event is a defect.","limits":"A large unconstrained model can learn near-identity behavior without useful compression. Reconstruction losses can favor common patterns and erase rare details. Anomaly scoring depends on what the model learned to reconstruct and is not automatically reliable. Deterministic and variational autoencoders have different assumptions about latent sampling. Autoencoders also differ from PCA's linear variance objective. Evaluate the actual representation and downstream purpose, and avoid treating visually good reconstructions as evidence of complete or interpretable latent structure.","sources":[{"title":"Keras: Convolutional autoencoder for image denoising","url":"https://keras.io/examples/vision/autoencoder/","note":"Encoder–decoder reconstruction and denoising workflow."},{"title":"Auto-Encoding Variational Bayes","url":"https://arxiv.org/abs/1312.6114","note":"Probabilistic latent-variable formulation distinct from deterministic reconstruction."}],"updatedAt":"2026-10-23"}},{"id":"contrastive-learning","name":"Contrastive Learning","category":"Deep Learning & Training Paradigms","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Contrastive learning trains representations by distinguishing related examples from alternatives under a chosen similarity objective. It can use paired views, labels or other relationships. The skill is defining valid positives and negatives and evaluating the learned representation, because a successful contrastive loss may encode augmentation shortcuts or unwanted distinctions rather than the intended semantics.","type":"concept","editorial":{"definition":"A contrastive objective encourages representations of designated positive pairs to be similar relative to negative examples or another comparison set. In self-supervised visual learning, different augmentations of one image can be positives; in cross-modal learning, paired text and images can define correspondence. The representation and projection head serve different roles, and temperature or sampling choices affect optimization. Positive and negative definitions impose assumptions about what should be invariant and what should remain distinct. Contrastive learning is one representation-learning approach, not a synonym for all self-supervision, and its usefulness must be assessed on a task beyond the training comparison itself.","practice":"Specify the relation that makes a pair positive and check whether augmentations preserve task-relevant information. Design sampling to avoid treating genuinely related examples as negatives without consideration. Monitor training and compare representations through a held-out downstream task, retrieval assessment or other relevant use. Inspect shortcut features and performance across input conditions. The deliverable should preserve encoder and preprocessing and explain the pairing scheme, with evidence that the learned similarity serves the application rather than simply identifying which observations came from the same training source.","example":"In an illustrative visual-search project, an engineer learns embeddings from two augmented views of each product image. Crops that remove the distinguishing product part are found to create misleading positives, so augmentation is revised. Retrieval tests use different photographs of the same products and similar competing products. The evaluator inspects whether embeddings capture product identity or merely background color, and compares a pretrained representation before accepting the contrastive training workflow.","limits":"False negatives, inappropriate augmentations and biased pair construction can shape the wrong representation. Batch composition and comparison scale influence the objective. Low training loss does not establish semantic quality, calibration or robustness. Invariance can remove information that a later task needs. Contrastive learning differs from reconstruction-based autoencoding and from supervised classification, though their objectives can be combined. Evaluate real downstream behavior and difficult related examples rather than inferring usefulness solely from separation achieved during training.","sources":[{"title":"A Simple Framework for Contrastive Learning of Visual Representations","url":"https://arxiv.org/abs/2002.05709","note":"Augmented positive pairs, contrastive objectives and representation evaluation."}],"updatedAt":"2026-10-23"}},{"id":"model-training","name":"Model Training","category":"Deep Learning & Training Paradigms","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Model training estimates parameters by applying a learning objective to data and updating the model. The competence includes the complete fitting loop, validation and reproducible artifact creation. It means knowing what is optimized, how data reach the objective and when to stop, rather than equating a falling training loss with a successful model.","type":"concept","editorial":{"definition":"A training loop prepares a batch, computes predictions and loss, obtains gradients or another update signal and changes parameters through an optimizer. Schedules, regularization and precision affect the process, while validation assesses behavior outside the examples used for updates. Different objectives require different target and masking conventions. State includes parameters, optimizer variables and sometimes data-order or random-number information. Model training is an implementation and experimental competence spanning many architectures. It is distinct from model selection, which compares alternatives, and from inference, which uses the resulting parameters without the same update process.","practice":"Verify input shapes, target alignment and loss reduction on a small case, then establish whether the model can fit a simple controlled example. Track training and validation behavior, gradients and nonfinite values. Configure update frequency, schedules and checkpoints deliberately, recording the data split and settings. Choose a stopping rule from development evidence and test reloadability. The deliverable is a reproducible trained artifact and experimental record, with enough information to understand why the chosen checkpoint was retained and whether a later run follows the same data and optimization procedure.","example":"Suppose, illustratively, an engineer trains a sequence classifier. A tiny-batch check reveals that padded positions contribute to the loss, so masking is corrected before a larger run. Validation loss improves and then deteriorates while training loss continues falling. The engineer retains an earlier checkpoint and tests it in a fresh inference process. The final report records the stopping choice and data boundary, separating model quality from the mere completion of all planned epochs.","limits":"A loop can execute while using the wrong targets, reductions or gradient state. Training scores can hide overfitting or leakage. Precision and distributed settings can change numerical behavior, and restarting without optimizer state changes the continuation procedure. A checkpoint alone may omit preprocessing and architecture. Training differs from fine-tuning only in context and scope of reused parameters, not in the need for careful verification. Inspect the objective and evaluation boundary before increasing epochs or compute to address poor results.","sources":[{"title":"PyTorch: Optimizing Model Parameters","url":"https://docs.pytorch.org/tutorials/beginner/basics/optimization_tutorial.html","note":"Losses, gradient updates, optimizers and training/testing loops."}],"updatedAt":"2026-10-23"}},{"id":"resnet","name":"ResNet","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"ResNet is a convolutional-network family using residual connections so blocks learn changes to a shortcut representation. The skill includes selecting a variant, adapting its task head and understanding how residual paths affect training and feature dimensions. Reliable use also requires matching preprocessing and evaluating the adapted model on relevant image conditions.","type":"concept","aliases":["ResNets"],"editorial":{"definition":"A residual block combines a learned transformation with a shortcut path, commonly expressed as a correction added to an input representation. Identity shortcuts are possible when shapes match; projections can align dimensions when they change. This architecture helps optimization of deeper networks, but does not remove the need for a suitable objective and data. ResNet variants differ in block type, depth and implementation details. A pretrained network can supply image features or be fine-tuned for another task. Competence includes understanding the residual operation and checkpoint conventions rather than treating every network with skip connections as the same ResNet model.","practice":"Choose the model variant and pretrained weights from task and resource requirements, then preserve the documented input normalization and resolution assumptions. Decide whether to freeze the backbone or fine-tune selected layers, replacing the output head consistently. Inspect batch-normalization behavior and train/evaluation modes. Compare adaptation choices on held-out acquisition conditions and measure inference cost. The deliverable should specify the exact weights and architecture with a reproducible preprocessing path, making clear whether observed quality comes from fixed features or additional target-task training.","example":"For an illustrative material classifier, an engineer starts with a pretrained ResNet backbone and trains a new output head. They compare frozen features with partial fine-tuning and check images from a second camera. A custom residual block changes channel count, so its shortcut includes a compatible projection. Before packaging, the engineer verifies inference mode and image normalization in a fresh process, preventing adaptation and serving differences from masquerading as model limitations.","limits":"Residual connections improve optimization structure but do not guarantee generalization or immunity to vanishing gradients in every design. Pretrained features can transfer poorly to a new domain. Incorrect shortcut shapes, normalization behavior or preprocessing can undermine results. A deeper variant can add cost without useful task improvement. ResNet differs from EfficientNet's scaling family and from the broad CNN category. Validate the exact adapted artifact and input conditions rather than using depth or a familiar architecture name as evidence of suitability.","sources":[{"title":"Deep Residual Learning for Image Recognition","url":"https://arxiv.org/abs/1512.03385","note":"Residual blocks, shortcut connections and deep-network formulation."},{"title":"PyTorch Vision: ResNet","url":"https://docs.pytorch.org/vision/stable/models/resnet.html","note":"Model variants, pretrained weights and implementation interfaces."}],"updatedAt":"2026-10-23"}},{"id":"efficientnet","name":"EfficientNet","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"EfficientNet is a convolutional-network family built around coordinated scaling of depth, width and input resolution. The competence includes choosing a variant that fits task and resource needs and adapting it correctly. The scaling idea informs model selection, but practical efficiency and quality must be measured on the chosen checkpoint and deployment workload.","type":"concept","aliases":["EfficientNets"],"editorial":{"definition":"The original EfficientNet work studies how increasing network depth, channel width and image resolution together can provide a balanced scaling strategy. Its family builds on a baseline architecture and compound scaling coefficients rather than treating each dimension independently. Different variants have different resource requirements, and later families may change the architecture or training recipe. A pretrained model supplies features and documented preprocessing conventions. Competence includes distinguishing the original scaling principle from a universal performance guarantee, and understanding that resolution affects both computation and whether small task-relevant image details remain visible to the network.","practice":"Select a documented variant and weight set, preserve its preprocessing and compare candidate input resolutions on the intended task. Decide which layers to adapt and evaluate validation behavior under separate image sources or periods. Measure memory and latency on the target hardware rather than assuming the variant ordering predicts all runtime differences. Inspect small-feature and low-quality-image errors. The deliverable should record variant, weights, resolution and adaptation settings with quality and resource evidence, explaining why the selected point on the tradeoff is suitable for the application.","example":"In an illustrative defect-inspection project, an engineer compares two EfficientNet variants. The smaller model meets a device memory limit but misses fine defects after resizing, while the larger input preserves them at greater cost. The engineer evaluates both on the same acquisition batch and measures complete inference latency. A resolution or crop change is considered before selecting the final variant, so the decision reflects actual defect visibility rather than a generic label of efficiency.","limits":"Published efficiency comparisons depend on training, hardware and benchmark conditions. Larger variants can overfit limited target data or exceed memory budgets. Preprocessing mismatches can substantially change transferred behavior. The original EfficientNet family and later variants should not be treated as identical architectures. EfficientNet differs from ResNet's residual-network family, though both are CNNs. Compare the exact artifacts under a consistent task and deployment protocol, and avoid inferring quality or latency solely from model size or the family name.","sources":[{"title":"EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks","url":"https://arxiv.org/abs/1905.11946","note":"Compound scaling across network depth, width and resolution."},{"title":"PyTorch Vision: EfficientNet","url":"https://docs.pytorch.org/vision/stable/models/efficientnet.html","note":"Supported variants, weight sets and model interfaces."}],"updatedAt":"2026-10-23"}},{"id":"gated-recurrent-unit","name":"Gated Recurrent Unit","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"A Gated Recurrent Unit is a recurrent-network cell that controls state updates through reset and update gates. The competence includes designing sequence inputs, managing state and comparing gated recurrence with simpler alternatives. Its gates can improve information retention, but do not guarantee that every long dependency is learned or that sequence boundaries are handled correctly.","type":"concept","aliases":["GRU","GRUs","Gated Recurrent Units"],"editorial":{"definition":"A GRU combines the current input and previous hidden state to compute a candidate state and gated update. The reset gate affects how prior state contributes to the candidate, while the update gate controls how much previous state is retained versus replaced. Parameters are shared across positions, and training uses sequence gradients. Unlike a standard LSTM, a GRU does not maintain a separate cell-state variable in the same form. Implementations can differ in gate conventions or algebraic details, so checkpoint compatibility requires care. Competence includes understanding both the recurrent mechanism and how padding, masking and carried state affect available temporal information.","practice":"Define whether outputs are needed at each step or after the sequence and prepare ordered inputs with explicit lengths or masks. Choose hidden size, layer count and directionality, ensuring future information is unavailable in streaming tasks. Reset state at genuine sequence boundaries and monitor gradients and length-dependent errors. Compare a simple temporal baseline and alternative recurrent cells under the same evaluation. The deliverable should include model and state-management conventions, so training and inference agree on what a sequence is and when prior information is preserved.","example":"Suppose, illustratively, an engineer predicts a machine's operating state from a stream of measurements. A GRU retains information across readings within one run but resets between independent runs. The evaluator tests longer runs and missing intervals, comparing errors with a simple window-based classifier. A bidirectional version is evaluated only for complete recorded sequences, because a live system cannot use measurements that have not yet arrived.","limits":"Gates help manage recurrence but do not remove every optimization or memory limitation. State leakage between unrelated examples and incorrect padding can produce misleading scores. Long sequences may remain difficult, and implementation details affect imported weights. GRU and LSTM are related but distinct cells, while attention and state-space models offer different information paths. Evaluate temporal boundaries, length sensitivity and resource use, and avoid choosing a GRU solely because its parameter count is lower in one comparison.","sources":[{"title":"Dive into Deep Learning: Gated Recurrent Units","url":"https://d2l.ai/chapter_recurrent-modern/gru.html","note":"Reset and update gates and recurrent state equations."},{"title":"Keras: GRU layer","url":"https://keras.io/api/layers/recurrent_layers/gru/","note":"Layer options, state and implementation conventions."}],"updatedAt":"2026-10-23"}},{"id":"roberta","name":"RoBERTa","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"RoBERTa is a BERT-based encoder pretraining approach and model family with revised training choices, including dynamic masking. The skill is adapting a specific encoder checkpoint to language-understanding tasks with its matching tokenizer and input conventions. It requires understanding those differences rather than treating RoBERTa as a generic text generator or interchangeable BERT artifact.","type":"concept","editorial":{"definition":"RoBERTa retains a bidirectional Transformer encoder while changing aspects of the original BERT pretraining recipe. The work studies training data and duration, batch size, masking and removal of the next-sentence prediction objective. Masked-language pretraining encourages representations that use surrounding context. A task-specific head can then support sequence or token predictions. Tokenization and special-token conventions differ from particular BERT checkpoints, so mixing processors can change behavior or fail. Competence includes distinguishing the pretraining approach, a released checkpoint and the downstream adaptation, because the architecture name alone does not specify language coverage, input length or fine-tuned task behavior.","practice":"Inspect the checkpoint and matching tokenizer, define the downstream target and prepare labels with correct token alignment or sequence conventions. Compare a frozen representation with fine-tuning where appropriate and preserve attention masks and special tokens. Evaluate on relevant language and domain slices, including long inputs that require truncation or segmentation. Save tokenizer, model configuration and task head together. The deliverable should identify the exact adaptation and preprocessing path, with evidence of task quality rather than relying on the pretraining paper's results as a guarantee for new data.","example":"In an illustrative complaint classifier, an engineer fine-tunes a RoBERTa encoder on reviewed messages. They test class definitions and inspect how long messages are truncated. The validation set comes from a later period, exposing new phrasing and product names. A baseline with sparse text features provides comparison. The final package includes the matching tokenizer and task head, so a consumer cannot accidentally use a BERT tokenizer with the RoBERTa weights.","limits":"Pretraining gains do not guarantee superior performance on every downstream dataset. Domain and language shifts, noisy labels and truncation can dominate results. A bidirectional encoder is not ordinarily an autoregressive conversational generator. Token-level tasks need careful alignment after subword tokenization. RoBERTa differs from BERT in recipe and checkpoint conventions, but both require task evaluation. Check the exact model and adaptation, and avoid attributing every result to dynamic masking when several training choices changed together.","sources":[{"title":"RoBERTa: A Robustly Optimized BERT Pretraining Approach","url":"https://arxiv.org/abs/1907.11692","note":"BERT-based encoder recipe, dynamic masking and objective changes."},{"title":"Hugging Face Transformers: RoBERTa","url":"https://huggingface.co/docs/transformers/model_doc/roberta","note":"Tokenizer conventions and downstream model interfaces."}],"updatedAt":"2026-10-23"}},{"id":"keras","name":"Keras","category":"DL Frameworks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Keras is a high-level API for building, training, evaluating and saving neural models across supported numerical backends. The competence includes choosing the appropriate model interface and preserving backend-compatible behavior. Convenience abstractions help organize a workflow, but loss definitions, data boundaries and serialization still need explicit verification.","type":"tool","editorial":{"definition":"Keras provides layers, model composition and standard fitting and evaluation interfaces. Sequential models suit simple stacks, functional models express connected computation graphs and subclassing allows more custom behavior. Backend selection determines which numerical framework executes compatible operations. Optimizers, losses, metrics and callbacks organize training, while saved artifacts require architecture and state that can be reconstructed. Keras is not identical to TensorFlow, although many existing workflows use them together. Competence includes understanding which operations remain portable and when backend-specific code, custom layers or serialization conventions introduce additional constraints on reuse and deployment.","practice":"Choose the simplest model interface that expresses the required computation, verify input and output shapes and distinguish the optimization loss from reporting metrics. Configure callbacks and development evaluation deliberately, checking masks and train/evaluation behavior. For custom code, use compatible operations and test the intended backend. Save and reload the complete model with its preprocessing contract, then evaluate the reloaded artifact. The deliverable should document backend, dependencies and custom components, making clear whether portability was actually tested rather than assumed from the API name.","example":"For an illustrative sensor classifier, an engineer builds a functional model with two inputs and a shared representation. A custom layer is checked under the selected backend, and training uses a validation split respecting machine identity. The saved model is reloaded in a fresh process and evaluated with the same normalization. If a later backend switch is planned, the engineer repeats behavioral and performance checks instead of assuming that all custom operations will execute equivalently.","limits":"Backend-specific operations can undermine portability, and custom components may require explicit serialization support. Default metrics can be inappropriate for imbalance or decision costs. Mixing incompatible API and backend versions can cause subtle failures. A model that reloads may still depend on undocumented preprocessing. Keras differs from a complete data or deployment platform and from the neural architecture built with it. Validate the actual backend and saved artifact, including masks, custom losses and input conventions, before treating high-level convenience as correctness.","sources":[{"title":"Keras: Developer guides","url":"https://keras.io/guides/","note":"Model APIs, training, backend behavior and serialization workflows."}],"updatedAt":"2026-10-23"}},{"id":"long-short-term-memory","name":"Long Short-Term Memory","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Long Short-Term Memory is a gated recurrent architecture that maintains a cell state alongside a hidden state. The skill includes designing sequence tasks, controlling state continuity and evaluating long-range behavior. Its gates help regulate information flow, but correct masking and prediction-time boundaries are as important as choosing the recurrent cell.","type":"concept","aliases":["LSTM","LSTMs","Long Short-Term Memory","long short-term memory (lstm)"],"editorial":{"definition":"An LSTM uses input, forget and output gates to regulate updates to an internal cell state and the hidden representation exposed to later computations. This creates a path for retaining information across sequence positions and addresses some difficulties of plain recurrence. Parameters are shared through time, and backpropagation through the sequence fits the cell. Stacked or bidirectional variants change capacity and information access. The mechanism differs from a GRU's state formulation, though both use gates. Competence includes understanding the separate states and implementation contract, rather than assuming that the name guarantees arbitrary long-term memory or faithful reconstruction of past observations.","practice":"Define sequence units, output timing and how variable lengths are masked. Choose hidden and layer sizes and decide whether bidirectionality is compatible with intended use. Reset or carry both relevant states deliberately and verify behavior across batches. Monitor gradients and performance at different lengths, comparing simpler lag-based or recurrent baselines. The deliverable should include data ordering, state and masking conventions with a tested inference path, ensuring that the model's apparent long-range performance is not caused by leaked future observations or continuity between unrelated examples.","example":"In an illustrative demand-sequence classifier, an engineer trains an LSTM on separate daily operating runs. Padding is masked, and states reset between runs. Tests include patterns where an early event changes the interpretation of a later one, allowing the evaluator to inspect whether the needed dependency is retained. A streaming version uses only past readings. Performance is compared with a fixed-window baseline and a GRU under the same split and resource budget.","limits":"LSTMs can still struggle with very long dependencies and optimization instability. Incorrect state handling can leak information, while padding errors distort training. Bidirectional models need future context and are unsuitable for strict streaming unless the delay is explicit. Gates are not interpretable proof of remembered meaning. LSTM differs from GRU and attention-based models, with task-dependent tradeoffs. Evaluate length sensitivity, state resets and resource costs directly rather than assuming that cell-state design alone guarantees useful long-term behavior.","sources":[{"title":"Dive into Deep Learning: Long Short-Term Memory","url":"https://d2l.ai/chapter_recurrent-modern/lstm.html","note":"Cell and hidden states, gates and recurrent training."},{"title":"Keras: LSTM layer","url":"https://keras.io/api/layers/recurrent_layers/lstm/","note":"Layer inputs, state, masking and execution options."}],"updatedAt":"2026-10-23"}},{"id":"bert","name":"BERT","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"BERT is a bidirectional Transformer encoder pretrained to build contextual language representations. The competence includes adapting its encoder to classification, extraction or other understanding tasks with a matching tokenizer and task head. It requires correct token alignment and evaluation, rather than treating BERT as a general autoregressive chat model.","type":"concept","aliases":["BERTs","Bidirectional Encoder Representations from Transformers"],"editorial":{"definition":"The original BERT pretraining combines masked-language modeling with a next-sentence prediction task. Bidirectional attention lets representations use context on both sides of an input token, which supports many language-understanding tasks. A downstream head can operate on a sequence representation, individual tokens or spans, depending on the target. Released checkpoints differ in size, language and preprocessing conventions. BERT's contextual token representations differ from static word vectors, and an encoder's masked-token objective is not the same as a causal decoder's next-token generation. Competence includes distinguishing architecture, pretraining recipe and task-specific adaptation when interpreting the model's behavior.","practice":"Select a checkpoint with relevant language coverage and preserve its matching tokenizer and special-token conventions. Define the task head and align labels after subword tokenization, masking positions that should not contribute. Compare adaptation settings with a simple baseline and evaluate on relevant entities, time periods or sources. Inspect truncation and difficult contextual examples. The deliverable includes encoder, task head, tokenizer and preprocessing together, with task-specific quality evidence and a clear explanation of what the output scores or spans mean for the application.","example":"For an illustrative entity extractor, an engineer fine-tunes BERT on annotated product descriptions. Words split into several subwords require an explicit label-alignment rule, and padding is excluded from the loss. Evaluation checks complete entity spans rather than only token accuracy. New product names and longer descriptions form difficult test slices. The exported pipeline preserves the tokenizer and decoding rules, so users receive entities under the same conventions evaluated during development.","limits":"Pretraining does not remove domain shift, label ambiguity or context-length limits. Token alignment errors can yield misleading metrics, and a good aggregate score may hide poor span boundaries. BERT is not ordinarily a causal text generator, and using its name does not identify a checkpoint's language or task capabilities. RoBERTa and other encoder families alter aspects of training and preprocessing. Evaluate the exact adapted model and preserve its processor contract rather than inferring downstream suitability from the original pretraining results.","sources":[{"title":"BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding","url":"https://arxiv.org/abs/1810.04805","note":"Bidirectional encoder, masked-language and next-sentence pretraining."},{"title":"Hugging Face Transformers: BERT","url":"https://huggingface.co/docs/transformers/model_doc/bert","note":"Tokenizer conventions and classification, token and span task interfaces."}],"updatedAt":"2026-10-23"}}],"sections":[{"id":"mathematical-statistical-foundations","name":"Mathematical & Statistical Foundations","skills":["calculus-for-machine-learning","causal-inference","a-b-testing","information-theory","linear-algebra","mathematical-optimization","operations-research","scheduling-algorithms","search-algorithms","bayesian-statistics","monte-carlo-simulation","probability-theory","quantitative-research","statistical-inference","hypothesis-testing"]},{"id":"classical-machine-learning-modeling","name":"Classical Machine Learning & Modeling","skills":["anomaly-detection","exploratory-data-analysis","model-evaluation","predictive-analytics","time-series-forecasting","hyperparameter-optimization","recommender-systems","reinforcement-learning","multi-armed-bandits","classical-machine-learning","gradient-boosting","regression-analysis","unsupervised-learning","prophet","automl","optuna","catboost","classification","decision-trees","ensemble-learning","lightgbm","random-forests","supervised-machine-learning","support-vector-machines","xgboost","cluster-analysis","naive-bayes","hdbscan","smote","sarima","arima","class-imbalance-handling","logistic-regression","k-nearest-neighbors","k-means-clustering","isolation-forest","dbscan","cross-validation","linear-regression","principal-component-analysis"]},{"id":"deep-learning-foundation-model-architectures","name":"Deep Learning & Foundation Model Architectures","skills":["hugging-face","jax","pytorch","tensorflow","deep-learning","edge-ai","open-source-llms","comfyui","diffusion-models","video-generation","graph-neural-networks","multimodal-ai","convolutional-neural-networks","mixture-of-experts","recurrent-neural-networks","state-space-models","transformer-architecture","reasoning-models","transfer-learning","long-context-modeling","litert-tensorflow-lite","nvidia-jetson","large-language-models","generative-adversarial-networks-gan","generative-architectures","hugging-face-diffusers","image-generation","stable-diffusion","pytorch-geometric","model-pruning","autoencoders","contrastive-learning","model-training","resnet","efficientnet","gated-recurrent-unit","roberta","keras","long-short-term-memory","bert"]},{"id":"natural-language-processing-computer-vision","name":"Natural Language Processing & Computer Vision","skills":["audio-ai","computer-vision","object-detection","opencv","vision-language-models","nlp","tokenization","multilingual-nlp","named-entity-recognition","semantic-search","audio-processing","elevenlabs","librosa","speech-recognition","text-to-speech","whisper","detectron2","emotion-recognition","facial-recognition","image-classification","image-segmentation","mmdetection","mediapipe","object-tracking","yolo","dlib","gensim","nltk","spacy","information-retrieval","intent-detection","natural-language-understanding-nlu","summarization","text-classification","word2vec","tf-idf","topic-modeling","text-preprocessing","sentiment-analysis","information-extraction","question-answering"]},{"id":"model-training-fine-tuning-alignment","name":"Model Training, Fine-Tuning & Alignment","skills":["direct-preference-optimization","rlhf","reinforcement-learning-from-verifiable-rewards","reward-modeling","catastrophic-forgetting","fine-tuning-evaluation","hugging-face-peft","hugging-face-trl","llm-fine-tuning","supervised-fine-tuning-sft","model-merging","knowledge-distillation","model-quantization","lora-qlora","continual-pre-training","deepspeed","distributed-training","grpo","unsloth","federated-learning","instruction-tuning"]},{"id":"prompt-engineering-model-interaction","name":"Prompt Engineering & Model Interaction","skills":["context-engineering","synthetic-data-generation","llm-decoding-strategies","prompt-caching","token-optimization","anthropic-api","openai-api","llm-api-integration","semantic-routing","in-context-learning","prompt-engineering","system-prompt-design","prompt-management","automated-prompt-optimization","dspy","program-aided-lms-pal","self-consistency","structured-llm-outputs","test-time-compute-scaling","google-gemini-api","chain-of-thought-prompting"]},{"id":"retrieval-augmented-generation-knowledge-systems","name":"Retrieval-Augmented Generation & Knowledge Systems","skills":["agentic-rag","multimodal-rag","query-optimization","self-reflective-rag","embedding-models","neo4j","ai-grounding-citations","document-ai","document-chunking","graphrag","knowledge-graphs","visual-document-retrieval","retrieval-augmented-generation","hybrid-search","search-re-ranking","faiss","vector-databases","pgvector","sentence-transformers","graph-databases","azure-document-intelligence","contextual-retrieval","bm25","dense-retrieval","opensearch","chroma","lancedb","metadata-filtering","milvus","pinecone","qdrant","vector-indexing","weaviate","cross-encoder-reranking","multi-vector-retrieval"]},{"id":"agentic-ai-systems","name":"Agentic AI Systems","skills":["code-execution-agents","computer-use-ai","deep-research-agents","text-to-sql","voice-agents","ai-agent-design","agent-state-management","agentic-planning-task-decomposition","reflection-self-refinement","self-improving-agents","ai-guardrails","agent-sandboxing","human-in-the-loop-ai","resource-aware-agent-optimization","langchain","langgraph","llamaindex","pydantic-ai","agent-memory-systems","model-context-protocol","multi-agent-coordination-patterns","multi-agent-debate","multi-agent-orchestration","a2a-protocol","llm-function-calling","conversational-ai","dialogflow","dialogue-systems","livekit","rasa","agent-frameworks","crewai","google-adk","microsoft-autogen-agent-framework","semantic-kernel","langflow","low-code-ai-automation","microsoft-copilot-studio","n8n","multi-agent-systems","mcp-gateway-tool-governance","agent-write-action-verification"]},{"id":"llmops-model-serving-inference-optimization","name":"LLMOps, Model Serving & Inference Optimization","skills":["llm-api-gateway","litellm","ci-cd","ml-ci-cd","docker","ai-cost-optimization","ai-finops","semantic-caching","serverless-ai","mlflow","weights-biases","gpu-kernel-programming","inference-optimization","kv-cache-optimization","speculative-decoding","ollama","llama-cpp","kubernetes","kubeflow","bentoml","kserve","llm-inference-serving","ray-serve","sglang","vllm","model-retraining","reproducibility","model-deployment","experiment-tracking","cuda","gpu-acceleration","flashattention","openvino","tensorrt","onnx","onnx-runtime","nvidia-triton-inference-server","tensorrt-llm","torchserve","real-time-inference","disaggregated-inference-serving"]},{"id":"ai-evaluation-observability","name":"AI Evaluation & Observability","skills":["benchmark-analysis","llm-benchmarking","stochastic-system-debugging","agent-evaluation","llm-evaluation-design","llm-as-judge","deepeval","llm-evaluation-frameworks","llm-testing","data-drift","ml-monitoring","llm-observability","langfuse","ai-output-verification","rag-evaluation","ragas","hallucination-detection","bertscore","bleu","rouge","trulens","evidently","langsmith","opentelemetry","rag-faithfulness-evaluation","agentic-task-environment-design"]},{"id":"ai-safety-security-governance-ethics","name":"AI Safety, Security, Governance & Ethics","skills":["secure-rag","ai-data-security","agent-identity-access-management","ai-rate-limiting","ai-supply-chain-security","ai-toxicity-analysis","ai-ethics","ai-fairness","explainable-ai","mechanistic-interpretability","ai-auditability","iso-42001","nemo-guardrails","prompt-injection-defense","presidio","ai-watermarking","ai-red-teaming","adversarial-ai-testing","eu-ai-act-compliance","nist-ai-rmf","agent-threat-modeling-maestro","owasp-top-10-for-llm-applications","saif","lime","shap","ai-incident-response-reporting"]},{"id":"data-engineering-pipelines","name":"Data Engineering & Pipelines","skills":["data-mesh","databricks-unity-catalog","data-contracts","document-parsing","web-scraping","data-modeling","pii-management","data-quality-management","data-observability","entity-resolution","nosql","data-curation","data-labeling-annotation","dataset-engineering","evaluation-data-engineering","training-data-curation","apache-spark","etl-pipeline-design","apache-kafka","stream-processing","event-driven-architecture","apache-iceberg","dbt","data-versioning","bigquery","databricks","snowflake","apache-airflow","beautifulsoup","data-ingestion","optical-character-recognition-ocr","scrapy","tesseract","cvat","data-augmentation","label-studio","kedro","dvc","dagster","prefect","workflow-orchestration","data-cleaning","pii-redaction"]},{"id":"software-engineering-for-ai","name":"Software Engineering for AI","skills":["ai-code-generation","api-development","fastapi","streamlit","duckdb-polars","ai-assisted-development","feature-engineering","python","r","rust","sql","shell-scripting","numpy","pandas","scikit-learn","software-testing","git","github","claude-code","github-copilot","flask","dash","feast","computational-notebooks","jupyter","geopandas","matplotlib","plotly","scipy","seaborn","statsmodels","hypothesis","data-preprocessing-for-ml","feature-scaling","feature-extraction","feature-selection"]},{"id":"cloud-ai-platform-infrastructure","name":"Cloud & AI Platform Infrastructure","skills":["amazon-bedrock","amazon-sagemaker","azure-openai-service","aws","microsoft-azure","distributed-systems","google-vertex-ai","iac-infrastructure-as-code","terraform","aws-fargate","amazon-emr","amazon-textract","azure-ai-search","azure-machine-learning","foundry-tools","microsoft-foundry","cloud-platforms","google-cloud-platform-gcp","dask","hpc-cluster-computing","ray","cloud-run","google-cloud-build","google-cloud-data-fusion"]},{"id":"ai-product-collaboration-professional-practice","name":"AI Product, Collaboration & Professional Practice","skills":["research-to-engineering-translation","technical-mentoring","cross-functional-collaboration","data-storytelling","technical-stakeholder-management","data-visualization","domain-expertise","ai-team-leadership","technical-facilitation","rapid-prototyping","ai-product-management","ai-requirements-engineering","ai-risk-management","ai-ux-design","gradio","shiny","scientific-writing","apache-superset","dashboards","geospatial-data","metrics-definition","skills-taxonomy-architecture-mapping"]}],"ontology":[{"subject":"PyTorch","subject_id":"pytorch","relation":"is an instance of","object":"Deep Learning","object_id":"deep-learning"}],"prerequisites":[],"fieldNotes":{},"fieldNotesVersion":"2026-10-10"},"glossary":{"version":"2026-06-26+editorial-glossary-2026-01","count":2,"categories":["Agentownosc","Debata","Inne","Karpathy","Kultura","LLMOps","Produkty","Regulacje","Safety","Trening"],"entries":[{"id":"zero-gpu-huggingface-concept","idx":263,"term":"Hugging Face Spaces ZeroGPU","category":"Produkty","round":"R2","year":"2024-05-16","author":"Hugging Face introduced ZeroGPU as a branded shared-GPU option for Spaces; serverless accelerators, GPU pooling and dynamic resource allocation are broader, pre-existing patterns.","description":"Hugging Face Spaces ZeroGPU is a hosted shared-GPU service for Gradio applications on the Hugging Face Hub. A developer marks GPU work with the Python `@spaces.GPU` decorator. When that function runs, the platform allocates GPU capacity for the task and releases it afterwards instead of reserving an accelerator continuously for one Space. `ZeroGPU` is a Hugging Face product name, not a generic synonym for serverless inference.","speculative":false,"maturity":3,"maturity_basis":"Maturity is 3: ZeroGPU has operated since 2024, has a documented developer interface and version matrix, appears in current pricing, supports API-accessible Spaces and has independent deployment evidence. It is not rated higher because compatibility is narrower than ordinary GPU Spaces and core parameters—hardware, quotas, queue priority and supported versions—remain mutable service policy rather than a portable standard.","pl_status":null,"pl_term":null,"pl_comment":"The inherited Polish label `świadomość sytuacyjna (modelu)` describes an unrelated concept. Retain the ZeroGPU product name until a Polish localization is independently reviewed.","relation_count":3,"references":[["Spaces ZeroGPU: Dynamic GPU Allocation for Spaces","https://huggingface.co/docs/hub/spaces-zerogpu","official_docs"],["Make your ZeroGPU Spaces go brrr with ahead-of-time compilation","https://huggingface.co/blog/zerogpu-aoti","technical_analysis"],["Spaces as API endpoints","https://huggingface.co/docs/hub/en/spaces-api-endpoints","official_docs"],["Hugging Face pricing","https://huggingface.co/pricing","official_docs"],["Hugging Face to make $10M worth of old Nvidia GPUs freely available to AI devs","https://www.theregister.com/software/2024/05/17/hugging_face_plans_to_make_10m_in_gpus_available_to_public/","news"],["OpenReviewer: A Specialized Large Language Model for Generating Critical Scientific Paper Reviews","https://aclanthology.org/2025.naacl-demo.44.pdf","paper"]],"skill_id":"hugging-face","editorial":{"id":"zero-gpu-huggingface-concept","identity":{"canonicalName":"Hugging Face Spaces ZeroGPU","aliases":["ZeroGPU","ZeroGPU Spaces","Hugging Face ZeroGPU"],"category":"Produkty","lifecycle":"established","firstSeenDate":"2024-05-16","firstSeenNote":"Hugging Face publicly announced ZeroGPU on 16 May 2024; contemporaneous independent reporting followed on 17 May.","originAttribution":"Hugging Face introduced ZeroGPU as a branded shared-GPU option for Spaces; serverless accelerators, GPU pooling and dynamic resource allocation are broader, pre-existing patterns.","maturity":3},"content":{"definition":{"text":"Hugging Face Spaces ZeroGPU is a hosted shared-GPU service for Gradio applications on the Hugging Face Hub. A developer marks GPU work with the Python `@spaces.GPU` decorator. When that function runs, the platform allocates GPU capacity for the task and releases it afterwards instead of reserving an accelerator continuously for one Space. `ZeroGPU` is a Hugging Face product name, not a generic synonym for serverless inference.","sourceIds":["s1","s2"]},"originContext":{"text":"The public launch was announced in May 2024 as shared infrastructure for community AI demos. Contemporary coverage described A100 accelerators and mostly inference workloads. The implementation has since changed: a 2025 Hugging Face engineering article documented H200 slices, while the current reviewed documentation lists RTX Pro 6000 Blackwell sizes. Those changes are part of the product history, not interchangeable current specifications.","sourceIds":["s1","s2","s5"]},"whyItMatters":{"text":"Interactive model demos often receive sparse, bursty traffic, so a permanently attached GPU can sit idle. ZeroGPU gives Spaces a provider-managed allocation path and lets one application request more than one GPU concurrently when capacity permits. It also makes every Gradio Space callable through generated API endpoints. A peer-reviewed NAACL demonstration used ZeroGPU to host a GPU-backed reviewing system, providing independent evidence of practical adoption while explicitly noting quota and responsiveness costs.","sourceIds":["s1","s3","s6"]},"usageExample":{"text":"A team publishes a Gradio image-generation demo and decorates its inference function with `@spaces.GPU(duration=...)`. Model setup remains at module level, while the decorated call receives the actual GPU. The team chooses a realistic maximum duration because shorter requests receive better queue treatment, tests the supported runtime versions and exposes the resulting Space through its generated Gradio API. For repeated short-lived processes, ahead-of-time compilation may avoid rebuilding an optimized graph on every task.","sourceIds":["s1","s2","s3"]},"distinctions":[{"termId":"workload-router-pool-architecture-wrp","explanation":{"text":"Workload–Router–Pool is a broader architectural framing. ZeroGPU is one vendor service with a specific decorator, scheduler, supported runtime and quota model; the public documentation does not establish it as the implementation of that proposed taxonomy.","sourceIds":["s1"]}},{"termId":"router-models-cascade-routing","explanation":{"text":"Model or cascade routing selects which model should answer a request. ZeroGPU allocates compute to a function after the application has already selected its code and model.","sourceIds":["s1"]}},{"termId":"gpu-poor-gpu-rich","explanation":{"text":"GPU-poor/GPU-rich describes unequal access to compute. ZeroGPU can lower the entry barrier for demos, but quotas and queues mean it does not eliminate compute scarcity or prove equal access.","sourceIds":["s1","s5","s6"]}}],"maturityRationale":{"text":"Maturity is 3: ZeroGPU has operated since 2024, has a documented developer interface and version matrix, appears in current pricing, supports API-accessible Spaces and has independent deployment evidence. It is not rated higher because compatibility is narrower than ordinary GPU Spaces and core parameters—hardware, quotas, queue priority and supported versions—remain mutable service policy rather than a portable standard.","sourceIds":["s1","s3","s4","s5","s6"]},"limitations":{"text":"The service is currently Gradio-only, supports a bounded set of Python and PyTorch versions and may behave differently from a dedicated GPU Space. Users share quotas and queue capacity, so cold starts and waiting can reduce responsiveness; the independent OpenReviewer deployment reports this directly. `torch.compile` is not supported in the ordinary path, although Hugging Face documents ahead-of-time alternatives. Current hardware, included usage and prices must be checked at decision time. Free access is quota-limited and should not be described as unlimited or as an SLA-backed production endpoint.","sourceIds":["s1","s2","s4","s6"]}},"sources":[{"id":"s1","title":"Spaces ZeroGPU: Dynamic GPU Allocation for Spaces","url":"https://huggingface.co/docs/hub/spaces-zerogpu","publisher":"Hugging Face","quality":"A","role":"primary","kind":"official_docs","publishedAt":"2026","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s2","title":"Make your ZeroGPU Spaces go brrr with ahead-of-time compilation","url":"https://huggingface.co/blog/zerogpu-aoti","publisher":"Hugging Face","quality":"A","role":"primary","kind":"technical_analysis","publishedAt":"2025-09-02","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s3","title":"Spaces as API endpoints","url":"https://huggingface.co/docs/hub/en/spaces-api-endpoints","publisher":"Hugging Face","quality":"A","role":"primary","kind":"official_docs","publishedAt":"2026","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s4","title":"Hugging Face pricing","url":"https://huggingface.co/pricing","publisher":"Hugging Face","quality":"A","role":"primary","kind":"official_docs","publishedAt":"2026","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s5","title":"Hugging Face to make $10M worth of old Nvidia GPUs freely available to AI devs","url":"https://www.theregister.com/software/2024/05/17/hugging_face_plans_to_make_10m_in_gpus_available_to_public/","publisher":"The Register","quality":"B","role":"independent","kind":"news","publishedAt":"2024-05-17","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s6","title":"OpenReviewer: A Specialized Large Language Model for Generating Critical Scientific Paper Reviews","url":"https://aclanthology.org/2025.naacl-demo.44.pdf","publisher":"Association for Computational Linguistics","quality":"A","role":"independent","kind":"paper","publishedAt":"2025-04","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"}],"relations":{"relatedTermIds":["workload-router-pool-architecture-wrp","router-models-cascade-routing","gpu-poor-gpu-rich"],"relatedSkillIds":["hugging-face","gradio","pytorch","gpu-acceleration","model-deployment","llm-inference-serving"],"inboundPaths":["/glossary","/glossary/term/gpu-poor-gpu-rich","/atlas/genai-2026/skill/hugging-face"]},"seo":{"title":"Hugging Face ZeroGPU: Dynamic @spaces.GPU Allocation","description":"ZeroGPU on Hugging Face Spaces explained: how the @spaces.GPU Python decorator dynamically allocates and releases NVIDIA GPUs across user quotas."},"updatedAt":"2026-11-20","indexable":true}},{"id":"nanochat","idx":281,"term":"nanochat","category":"Karpathy","round":"EXT","year":"2025-10-13","author":"Andrej Karpathy created nanochat as a successor to his nanoGPT project, with acknowledged ideas and implementation influence from modded-nanoGPT.","description":"nanochat is Andrej Karpathy's open-source experimental harness for training and using a small language model end to end on one GPU node. The repository brings tokenizer training, pretraining, supervised fine-tuning, evaluation, reinforcement-learning experiments and inference into a compact, readable codebase. A single depth setting controls much of the model scale. It is a project name, not a generic term for every small chatbot.","speculative":false,"maturity":3,"maturity_basis":"Maturity is 3. The project has a dated release, continuing development, a documented full workflow, large public reuse, an independent Transformers integration and research adaptation. It remains intentionally experimental and single-node focused; project interfaces and recommended recipes change quickly, and independent evidence does not establish production reliability or competitive model quality.","pl_status":null,"pl_term":null,"pl_comment":"The inherited Polish field `test-time RL` names a different training concept. Keep the lowercase project name `nanochat` until a localization is independently reviewed.","relation_count":3,"references":[["nanochat README","https://github.com/karpathy/nanochat/blob/master/README.md","repository"],["Introducing nanochat: The best ChatGPT that $100 can buy","https://github.com/karpathy/nanochat/discussions/1","source_announcement"],["nanoGPT README","https://github.com/karpathy/nanoGPT/blob/master/README.md?plain=1","repository"],["NanoChat model documentation","https://huggingface.co/docs/transformers/model_doc/nanochat","independent_implementation"],["What happens when nanochat meets DiLoCo?","https://arxiv.org/abs/2511.13761","paper"]],"skill_id":"pytorch","editorial":{"id":"nanochat","identity":{"canonicalName":"nanochat","aliases":["Karpathy nanochat"],"category":"Karpathy","lifecycle":"established","firstSeenDate":"2025-10-13","firstSeenNote":"Andrej Karpathy published the introductory nanochat announcement and runnable speedrun guide on 13 October 2025.","originAttribution":"Andrej Karpathy created nanochat as a successor to his nanoGPT project, with acknowledged ideas and implementation influence from modded-nanoGPT.","maturity":3},"content":{"definition":{"text":"nanochat is Andrej Karpathy's open-source experimental harness for training and using a small language model end to end on one GPU node. The repository brings tokenizer training, pretraining, supervised fine-tuning, evaluation, reinforcement-learning experiments and inference into a compact, readable codebase. A single depth setting controls much of the model scale. It is a project name, not a generic term for every small chatbot.","sourceIds":["s1","s2"]},"originContext":{"text":"Karpathy introduced nanochat in October 2025 with a runnable `speedrun` workflow and positioned it as the broader successor to nanoGPT, which primarily covered pretraining. The nanochat README also credits modded-nanoGPT's measured speedrun and leaderboard approach. Later guides, model miniseries and active repository changes replaced parts of the original launch recipe, so the launch discussion is historical context rather than current operating documentation.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"Many LLM stacks split data preparation, training, post-training, evaluation and serving across large frameworks. nanochat keeps those stages close enough to inspect and modify as one experiment. That makes it useful for teaching and controlled systems research. Independent reuse goes beyond commentary: Hugging Face added a NanoChat model implementation to Transformers, and researchers wrapped nanochat's training loop to compare DiLoCo with conventional distributed data parallel training.","sourceIds":["s1","s4","s5"]},"usageExample":{"text":"A researcher changes an optimizer or data-loading rule, trains several depth-controlled models with the repository's experiment scripts, compares validation bits per byte and CORE results, then runs the fine-tuning and chat stages on the selected checkpoint. For downstream inference, the team can use nanochat's own engine or a compatible NanoChat model through Hugging Face Transformers. The exact script, commit, hardware, data and evaluation bundle must be recorded for a reproducible comparison.","sourceIds":["s1","s4"]},"distinctions":[{"termId":"scaling-laws-wall","explanation":{"text":"nanochat includes scripts for model miniseries and scaling-law experiments, but one repository's depth sweeps do not establish a universal scaling law or a frontier-compute limit.","sourceIds":["s1"]}},{"termId":"mid-training","explanation":{"text":"Mid-training is a stage or methodology. nanochat is a concrete codebase whose historical and current pipelines may implement particular intermediate training steps.","sourceIds":["s1","s5"]}},{"termId":"post-training","explanation":{"text":"Post-training covers broad methods for adapting a pretrained model. nanochat provides specific supervised and reinforcement-learning scripts, not a definition or exhaustive framework for the field.","sourceIds":["s1"]}}],"maturityRationale":{"text":"Maturity is 3. The project has a dated release, continuing development, a documented full workflow, large public reuse, an independent Transformers integration and research adaptation. It remains intentionally experimental and single-node focused; project interfaces and recommended recipes change quickly, and independent evidence does not establish production reliability or competitive model quality.","sourceIds":["s1","s2","s4","s5"]},"limitations":{"text":"nanochat favors clarity and a strong baseline over broad hardware, model and configuration coverage. The current README warns that CPU or Apple-silicon examples produce much weaker models, while primary experiments target costly multi-GPU nodes. Dollar and time estimates vary with hardware prices, code revisions and the selected depth; the repository's slogan is not a reproducibility guarantee. Its speedrun leaderboard is maintained by the project, and reported capability depends on chosen metrics. The inherited `~2000 lines` description is obsolete: an independent November 2025 paper described its snapshot as roughly 8K lines, and the repository has continued evolving.","sourceIds":["s1","s2","s5"]}},"sources":[{"id":"s1","title":"nanochat README","url":"https://github.com/karpathy/nanochat/blob/master/README.md","publisher":"Andrej Karpathy","quality":"A","role":"primary","kind":"repository","publishedAt":"2025","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s2","title":"Introducing nanochat: The best ChatGPT that $100 can buy","url":"https://github.com/karpathy/nanochat/discussions/1","publisher":"Andrej Karpathy","quality":"A","role":"primary","kind":"source_announcement","publishedAt":"2025-10-13","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s3","title":"nanoGPT README","url":"https://github.com/karpathy/nanoGPT/blob/master/README.md?plain=1","publisher":"Andrej Karpathy","quality":"A","role":"primary","kind":"repository","publishedAt":"2025-11","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s4","title":"NanoChat model documentation","url":"https://huggingface.co/docs/transformers/model_doc/nanochat","publisher":"Hugging Face","quality":"A","role":"independent","kind":"independent_implementation","publishedAt":"2025-11-27","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s5","title":"What happens when nanochat meets DiLoCo?","url":"https://arxiv.org/abs/2511.13761","publisher":"arXiv","quality":"B","role":"independent","kind":"paper","publishedAt":"2025-11-14","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"}],"relations":{"relatedTermIds":["scaling-laws-wall","mid-training","post-training"],"relatedSkillIds":["pytorch","large-language-models","model-training","hugging-face","model-evaluation","distributed-training","reinforcement-learning"],"inboundPaths":["/glossary","/glossary/term/scaling-laws-wall","/atlas/genai-2026/skill/model-training"]},"seo":{"title":"nanochat: Karpathy's End-to-End LLM Training Harness","description":"Learn what nanochat covers, how it extends nanoGPT, where researchers reuse it, and why its cost, size and benchmark claims need careful context."},"updatedAt":"2026-09-07","indexable":true}}]},"roles":{"version":"2026-10-24","profileVersion":"2026-10-24.1","catalogDigest":"f5c4c4ea889834ddd8ba6d18d4a098e762142d8db3be3d7edf82e48fd6a8d3b4","note":"Editorial role profiles covering technology, business, operations and engineering. Skills and task examples are indicative, not a complete occupational standard.","sources":{"sfia-profiles":{"title":"SFIA 9 illustrative skills profiles","url":"https://sfia-online.org/en/tools-and-resources/standard-industry-skills-profiles/sfia_9_illustrative_skills_profiles.pdf","scope":"Illustrative professional responsibilities; related context, not formal occupation equivalence.","accessedOn":"2026-10-24"},"sfia-ai":{"title":"SFIA illustrative AI professional role archetypes","url":"https://sfia-online.org/en/tools-and-resources/ai-skills-framework/illustrative-levelled-role-archetypes-for-cwa-18398-ai-professional-role-profiles-mapped-to-sfia","scope":"Related AI responsibilities; this catalogue remains an editorial synthesis.","accessedOn":"2026-10-24"},"ilo-tasks":{"title":"ILO: Generative AI and Jobs — task-level exposure methodology (2025)","url":"https://www.ilo.org/publications/generative-ai-and-jobs-refined-global-index-occupational-exposure","scope":"Methodological context only. ILO did not assess or validate the scores in this catalogue.","accessedOn":"2026-10-24"},"metr-context":{"title":"METR: Developer productivity experiment update (February 2026)","url":"https://metr.org/blog/2026-02-24-uplift-update/","scope":"Evidence that measured productivity depends on context and study design; not calibration for these scores.","accessedOn":"2026-10-24"},"onet-11":{"title":"O*NET occupational family: Management","url":"https://www.onetonline.org/find/family?f=11","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-13":{"title":"O*NET occupational family: Business and Financial Operations","url":"https://www.onetonline.org/find/family?f=13","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-15":{"title":"O*NET occupational family: Computer and Mathematical","url":"https://www.onetonline.org/find/family?f=15","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-17":{"title":"O*NET occupational family: Architecture and Engineering","url":"https://www.onetonline.org/find/family?f=17","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-25":{"title":"O*NET occupational family: Educational Instruction and Library","url":"https://www.onetonline.org/find/family?f=25","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-27":{"title":"O*NET occupational family: Arts, Design and Media","url":"https://www.onetonline.org/find/family?f=27","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-41":{"title":"O*NET occupational family: Sales and Related","url":"https://www.onetonline.org/find/family?f=41","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-43":{"title":"O*NET occupational family: Office and Administrative Support","url":"https://www.onetonline.org/find/family?f=43","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-49":{"title":"O*NET occupational family: Installation, Maintenance and Repair","url":"https://www.onetonline.org/find/family?f=49","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-51":{"title":"O*NET occupational family: Production","url":"https://www.onetonline.org/find/family?f=51","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-53":{"title":"O*NET occupational family: Transportation and Material Moving","url":"https://www.onetonline.org/find/family?f=53","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"}},"categories":[]},"exposure":{"version":"2026-10-24","catalogDigest":"f5c4c4ea889834ddd8ba6d18d4a098e762142d8db3be3d7edf82e48fd6a8d3b4","method":{"version":"task-scenario-1","assessmentDate":"2026-10-24","title":"Illustrative task-based AI exposure","scenario":"AI-assisted software and agents with authorized access to relevant digital inputs and tools. A person verifies material outputs and retains decisions, permissions and accountability. Required quality is fit for the stated work context. Physical robotics and unrestricted autonomous action are outside the scenario.","weighting":"Each of the six representative tasks has weight 1. These are assumed units of work, not measured time shares.","outcomes":{"commoditize":"AI can produce a constrained routine output, with human verification.","mixed":"AI assistance is material, but integration, reliability or context can dominate completion.","amplify":"AI supports analysis or design while contextual judgment remains central.","durable":"Physical presence, interpersonal trust or accountable decisions remain central under this scenario."},"calculation":"Sum task weights within each outcome, divide by total weight, and multiply by 100. Display integer percentages using largest remainders in the order commoditize, mixed, amplify, durable. If raw commoditize and amplify are equal, preserve their equality with the floor-or-ceiling allocation having the smallest squared rounding error and a total of 100. Displayed net = displayed commoditize minus displayed amplify. Raw values are retained.","sensitivity":"Range of raw net over all combinations of task weights 0.5 or 2, plus each single-task alternative classification at baseline weights. The two perturbations are evaluated separately. This is a scenario range, not a confidence interval or exhaustive bound.","limitations":"Task selection and classifications are AI-assisted editorial judgments. They have not been independently validated by occupation specialists or calibrated against observed work time or productivity. Scores are not probabilities of replacement, pay forecasts, headcount estimates or assessments of people. Similar net values can conceal very different work.","review":{"type":"AI-assisted editorial review","date":"2026-10-24","independentDomainValidation":false,"scope":"Profile boundaries, explicit task assumptions, rationale consistency and arithmetic. No tool-performance experiment was conducted for these profiles."},"sourceIds":["ilo-tasks","metr-context"]},"sources":{"sfia-profiles":{"title":"SFIA 9 illustrative skills profiles","url":"https://sfia-online.org/en/tools-and-resources/standard-industry-skills-profiles/sfia_9_illustrative_skills_profiles.pdf","scope":"Illustrative professional responsibilities; related context, not formal occupation equivalence.","accessedOn":"2026-10-24"},"sfia-ai":{"title":"SFIA illustrative AI professional role archetypes","url":"https://sfia-online.org/en/tools-and-resources/ai-skills-framework/illustrative-levelled-role-archetypes-for-cwa-18398-ai-professional-role-profiles-mapped-to-sfia","scope":"Related AI responsibilities; this catalogue remains an editorial synthesis.","accessedOn":"2026-10-24"},"ilo-tasks":{"title":"ILO: Generative AI and Jobs — task-level exposure methodology (2025)","url":"https://www.ilo.org/publications/generative-ai-and-jobs-refined-global-index-occupational-exposure","scope":"Methodological context only. ILO did not assess or validate the scores in this catalogue.","accessedOn":"2026-10-24"},"metr-context":{"title":"METR: Developer productivity experiment update (February 2026)","url":"https://metr.org/blog/2026-02-24-uplift-update/","scope":"Evidence that measured productivity depends on context and study design; not calibration for these scores.","accessedOn":"2026-10-24"},"onet-11":{"title":"O*NET occupational family: Management","url":"https://www.onetonline.org/find/family?f=11","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-13":{"title":"O*NET occupational family: Business and Financial Operations","url":"https://www.onetonline.org/find/family?f=13","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-15":{"title":"O*NET occupational family: Computer and Mathematical","url":"https://www.onetonline.org/find/family?f=15","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-17":{"title":"O*NET occupational family: Architecture and Engineering","url":"https://www.onetonline.org/find/family?f=17","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-25":{"title":"O*NET occupational family: Educational Instruction and Library","url":"https://www.onetonline.org/find/family?f=25","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-27":{"title":"O*NET occupational family: Arts, Design and Media","url":"https://www.onetonline.org/find/family?f=27","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-41":{"title":"O*NET occupational family: Sales and Related","url":"https://www.onetonline.org/find/family?f=41","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-43":{"title":"O*NET occupational family: Office and Administrative Support","url":"https://www.onetonline.org/find/family?f=43","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-49":{"title":"O*NET occupational family: Installation, Maintenance and Repair","url":"https://www.onetonline.org/find/family?f=49","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-51":{"title":"O*NET occupational family: Production","url":"https://www.onetonline.org/find/family?f=51","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-53":{"title":"O*NET occupational family: Transportation and Material Moving","url":"https://www.onetonline.org/find/family?f=53","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"}},"note":"Task selection and classifications are AI-assisted editorial judgments. They have not been independently validated by occupation specialists or calibrated against observed work time or productivity. Scores are not probabilities of replacement, pay forecasts, headcount estimates or assessments of people. Similar net values can conceal very different work.","grouping":{"method":"Editorial work families shared with the Role Dictionary. Each role has one primary family; real jobs may combine several profiles.","families":[{"id":"SW","label":"Software Development & Testing","n":16},{"id":"CL","label":"Cloud, Platform & IT Operations","n":14},{"id":"SEC","label":"Cybersecurity & Privacy","n":8},{"id":"DATA","label":"Data Engineering & Analytics","n":11},{"id":"AI","label":"AI & Machine Learning","n":6},{"id":"ENT","label":"Enterprise Applications & Business Analysis","n":6},{"id":"PROD","label":"Product, Project & Change Management","n":8},{"id":"SALES","label":"Sales & Customer Service","n":10},{"id":"MKT","label":"Marketing, Design & Content","n":12},{"id":"HR","label":"People, Learning & Education","n":10},{"id":"FIN","label":"Finance & Accounting","n":6},{"id":"OPS","label":"Business Operations & Administration","n":6},{"id":"LOG","label":"Supply Chain & Logistics","n":4},{"id":"ELEC","label":"Electrical & Industrial Automation","n":4},{"id":"MECH","label":"Mechanical & Manufacturing Engineering","n":5},{"id":"BUILT","label":"Construction & Energy Engineering","n":2},{"id":"QUAL","label":"Quality, Safety & Compliance","n":6},{"id":"EMB","label":"Embedded Systems & Electronics","n":3}]},"roles":[]},"newsroom":{"schemaVersion":"1.1.0","generatedAt":"2026-11-23T18:47:38.499Z","topics":[{"decisionQuestion":"Which tasks have become newly feasible, cheaper, more reliable, or more autonomous?","id":"ai_capability_frontier","label":"AI Capability Frontier"},{"decisionQuestion":"How are tasks, role boundaries, accountability, and human-machine collaboration changing?","id":"work_and_role_change","label":"Work and Role Change"},{"decisionQuestion":"Which capabilities are gaining or losing demand, and where is the evidence visible?","id":"skills_demand_and_labour_market","label":"Skills Demand and Labour Market"},{"decisionQuestion":"How are skills data, inference, assessment, mobility, learning, and workforce-planning systems changing?","id":"skills_systems_and_hr_tech","label":"Skills Systems and HR Tech"},{"decisionQuestion":"Which rules, classifications, standards, and decision rights change what organisations must do?","id":"policy_standards_and_governance","label":"Policy, Standards and Governance"}],"articles":[]},"summary":{"skillCount":473,"sectionCount":15,"ontologyCount":467,"prerequisiteCount":344,"atlasEditorialDate":"2026-11-02","sectionSkillCounts":{"mathematical-statistical-foundations":15,"classical-machine-learning-modeling":40,"deep-learning-foundation-model-architectures":40,"natural-language-processing-computer-vision":41,"model-training-fine-tuning-alignment":21,"prompt-engineering-model-interaction":21,"retrieval-augmented-generation-knowledge-systems":35,"agentic-ai-systems":42,"llmops-model-serving-inference-optimization":41,"ai-evaluation-observability":26,"ai-safety-security-governance-ethics":26,"data-engineering-pipelines":43,"software-engineering-for-ai":36,"cloud-ai-platform-infrastructure":24,"ai-product-collaboration-professional-practice":22},"atlasFacts":{"skills":473,"sections":15,"ontologyRelations":467,"prerequisiteRelations":344,"prerequisites":{"hard":173,"medium":153,"soft":18,"other":0}},"transformerPrerequisites":[{"skill":"Transformer Architecture","skill_id":"transformer-architecture","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Self-attention, layer normalization, residual connections, softmax — all are DL building blocks assembled in the Transformer"},{"skill":"Transformer Architecture","skill_id":"transformer-architecture","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"Q·Kᵀ/√d is a scaled dot product of matrices; multi-head attention is parallel matrix projections — Transformers ARE linear algebra in action"}],"glossaryTermCount":421,"glossaryMaturityCounts":[59,69,215,58,20],"roleCount":137,"exposureFacts":{"roles":137,"assessed":137,"unassessed":0,"exposed":55,"amplified":39,"neutral":43},"exposureLeadersExposed":[{"role":"Accounting Administrator","net":50},{"role":"Document Controller","net":34},{"role":"IT Support Specialist","net":33},{"role":"Office Administrator","net":33},{"role":"Communications & Events Coordinator","net":33}],"exposureLeadersAmplified":[{"role":"Machine Learning Engineer","net":-16},{"role":"Software Architect","net":-16},{"role":"Network Engineer","net":-16},{"role":"Site Reliability Engineer","net":-16},{"role":"Cloud Infrastructure Engineer","net":-16}],"newsroomArticleCount":360,"newsroomTopicCounts":{"ai_capability_frontier":171,"work_and_role_change":157,"skills_demand_and_labour_market":98,"skills_systems_and_hr_tech":152,"policy_standards_and_governance":188}},"partialSlices":["atlas","glossary","roles","exposure","newsroom"]}