{"atlas":{"skills":[{"id":"linear-algebra","name":"Linear Algebra","category":"Mathematical Foundations","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Linear algebra describes vectors, matrices and transformations between spaces. It is the language of feature representations, neural-network layers, least-squares fitting and dimensionality reduction. The skill includes reasoning about shape, rank and geometry, and selecting numerically appropriate computations rather than treating matrix operations as opaque library calls.","type":"concept","editorial":{"definition":"A vector can represent an observation or a set of parameters; a matrix represents a linear transformation or a collection of observations. Dot products connect geometry to similarity and weighted prediction. Linear systems, orthogonality, eigenvectors and singular-value decomposition explain fitting, projections and low-rank approximations. Rank describes independent directions of information, while conditioning describes sensitivity to perturbations. In machine learning, the same algebra appears in a dense neural layer, a covariance matrix or a factorized recommender. Understanding the dimensions and assumptions of each object is essential because a valid matrix multiplication can still represent the wrong statistical operation.","practice":"Track what each axis means before reshaping or multiplying arrays. Choose a solver suited to the matrix structure and avoid explicitly forming an inverse when solving a system is sufficient. Check rank, conditioning and the consequences of scaling features. Use decompositions to diagnose redundant variables or construct a compact representation, and verify the result through residuals or reconstruction error. A useful deliverable is a calculation whose geometry, dimensions and numerical behavior can be explained, together with checks that detect silent broadcasting and near-singular inputs.","example":"In an illustrative sensor project, several measurements move almost together. An analyst centers the data, examines singular values and projects observations onto a smaller set of directions. Reconstructing held-out measurements reveals which variation the projection loses. If a downstream classifier deteriorates, the analyst inspects whether a low-variance direction carried useful label information. The algebra provides a compact representation; deciding which variation is expendable remains a modeling decision.","limits":"Near-singular matrices can amplify numerical error, and finite precision matters even when an exact symbolic solution exists. Orthogonality depends on the chosen inner product, and large singular values do not automatically imply causal or predictive importance. A transpose can make dimensions compatible while changing the meaning of a calculation. Linear algebra alone does not establish statistical assumptions. Check residuals, scale and interpretation rather than accepting a result merely because the numerical library returned an array without an exception.","sources":[{"title":"MIT OpenCourseWare: Linear Algebra","url":"https://ocw.mit.edu/courses/18-06-linear-algebra-spring-2010/","note":"Vector spaces, projections, eigenvalues and matrix decompositions."},{"title":"NumPy: Linear algebra","url":"https://numpy.org/doc/stable/reference/routines.linalg.html","note":"Solvers, decompositions, matrix rank and numerical linear-algebra operations."}],"updatedAt":"2026-10-10"}},{"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":"direct-preference-optimization","name":"Direct Preference Optimization","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Direct Preference Optimization trains a language model from comparisons between preferred and rejected responses to the same prompt. The skill is constructing meaningful preference pairs and optimizing their relative likelihood against a reference policy, then checking whether the resulting behavior improves on independent tasks and judgments.","type":"concept","editorial":{"definition":"Basic DPO derives a preference loss from a reward maximization objective with a constraint on departure from a reference model. Rather than fitting an explicit scalar reward model and running a separate reinforcement learning loop, it adjusts the policy using the difference between chosen and rejected response log probabilities, normalized by the reference policy. The comparison is conditional on the same prompt. The reference checkpoint and the beta parameter affect the tradeoff represented by the objective. DPO is a specific formulation; KTO, ORPO and other preference methods use different assumptions or losses and should be documented separately.","practice":"Design annotation criteria that distinguish correctness, helpfulness and style, and collect pairs with a clear preference rather than arbitrary winners. Audit prompt equivalence, truncation and chat formatting before computing losses. Split by prompt families and source documents so paraphrases do not leak into evaluation. Record the reference checkpoint, objective, beta and any adapter configuration. Inspect chosen and rejected likelihoods alongside held-out preference accuracy. Evaluate generated responses with separate factuality and capability tests; a larger training margin alone is insufficient evidence of useful alignment.","example":"An illustrative documentation assistant often gives confident answers when a question lacks essential context. Reviewers compare a guessed answer with a concise clarification request for each ambiguous prompt. The team trains DPO on those comparisons and tests new product areas whose documents were excluded from training. Reviewers then inspect whether the assistant asks an appropriate question when needed while still answering complete requests, because indiscriminate clarification would be a regression.","limits":"Preference labels can reward verbosity, familiarity or annotator bias rather than the intended behavior. Offline comparisons may poorly cover responses that the updated model later generates. Training can suppress rejected answers without improving the absolute quality of chosen ones. Reference regularization does not guarantee truthfulness or broad safety. Check length effects, preference disagreements and capability regressions, and report the precise loss rather than using DPO as a label for every direct preference method.","sources":[{"title":"Direct Preference Optimization: Your Language Model is Secretly a Reward Model","url":"https://arxiv.org/abs/2305.18290","note":"Original derivation of the reference-normalized preference objective and distinction from explicit reward modeling."},{"title":"Hugging Face TRL: DPO Trainer","url":"https://huggingface.co/docs/trl/en/dpo_trainer","note":"Preference dataset formats, reference model configuration, loss variants and diagnostic metrics."}],"updatedAt":"2026-10-10"}},{"id":"rlhf","name":"RLHF","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Reinforcement Learning from Human Feedback uses human judgments to shape a model's behavior through a learned reward signal. Practitioners design comparisons, train and test the reward model, and optimize a policy while controlling unwanted drift. The competence includes evaluating behavior independently of the score that training maximizes.","type":"concept","editorial":{"definition":"In a common language model pipeline, supervised demonstrations first establish useful response behavior. Annotators then compare candidate answers, and a reward model learns to assign scores that reflect those comparisons. A reinforcement learning algorithm updates the generating policy to obtain higher predicted reward, often with a penalty for divergence from a reference policy. PPO is one possible optimizer, rather than part of the definition. The broader method also applies to nonlanguage policies whose trajectories people evaluate. Human feedback expresses preferences under a particular rubric and sampling process; it does not directly reveal a universal or complete reward function.","practice":"Specify who supplies feedback and what tradeoffs the rubric asks them to make. Sample prompts and candidate answers that expose meaningful failures, preserve annotation disagreements and reserve comparisons for reward model validation. Monitor policy reward, divergence, response length and optimization stability, with a stopping rule based on independent evaluation. Hold out related conversations and tasks as groups. The useful result is a documented behavior change supported by fresh human comparisons and task checks, including cases where optimizing the learned reward harms another requirement.","example":"For an illustrative summarization assistant, reviewers prefer summaries that preserve an important caveat while omitting repetitive background. Their comparisons train a reward model. During policy optimization, the developer notices that highly scored summaries become longer, so a separate evaluation asks readers whether each summary covers the caveat within the requested length. The team selects a checkpoint using those judgments and source fidelity, rather than selecting the run with the highest reward.","limits":"A policy can exploit weaknesses in its reward model, and preference agreement on familiar examples may not transfer to new topics. Annotator population, instructions and candidate sampling all influence what is learned. Reward scores from different training runs are not automatically comparable. RLHF can improve measured preferences while leaving factual errors or competing objectives unresolved. Direct preference optimization and verifiable rewards are neighboring approaches with different learning signals, and should not be silently treated as the same pipeline.","sources":[{"title":"Deep reinforcement learning from human preferences","url":"https://arxiv.org/abs/1706.03741","note":"Preference comparisons as a learned reinforcement learning reward for policy training."},{"title":"Training language models to follow instructions with human feedback","url":"https://arxiv.org/abs/2203.02155","note":"Language model demonstration, ranking, reward modeling and policy optimization pipeline."}],"updatedAt":"2026-10-10"}},{"id":"reinforcement-learning-from-verifiable-rewards","name":"Reinforcement Learning from Verifiable Rewards","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Reinforcement Learning from Verifiable Rewards improves a generating policy using outcomes that a program can check, such as a correct mathematical answer or passing tests. The skill is designing reliable verifiers and a useful task distribution, then determining whether optimization teaches transferable problem solving or merely exploits the checks.","type":"concept","editorial":{"definition":"The model samples completions for tasks whose results can be evaluated without a learned human preference model. A verifier returns a reward based on properties such as answer equivalence, executable tests or valid output structure. Policy optimization increases the probability of rewarded completions; different reinforcement learning algorithms can perform this update. Outcome verification checks the final result and does not necessarily establish that an explanation is sound. Format rewards may supplement correctness rewards but represent a separate objective. The approach is most natural when evaluation is inexpensive, reproducible and difficult for the model to game, though these conditions need testing.","practice":"Build and version the verifier before scaling policy training. Inspect parsing, numerical tolerances, test coverage, timeouts and adversarial outputs that might receive credit incorrectly. Separate problem generators, templates and solutions across training and evaluation. Sample tasks at a difficulty that produces informative variation rather than uniformly zero or maximum reward. Track reward distributions and evaluate on independently checked problems. The deliverable includes a trained policy, a reproducible verification harness and evidence distinguishing actual task success from improvements caused by formatting or a weak checker.","example":"An illustrative coding exercise asks a model to implement a parser. The reward comes from unit tests in a sandbox. A developer adds cases for malformed input and verifies that a solution cannot read expected outputs from the harness. Training tasks and held-out parser specifications use different generators. The resulting policy is assessed on hidden tests and inspected for clear failure handling, because passing the training suite does not prove that it implements the specification.","limits":"Verification can be incomplete: tests miss behaviors, answer parsers accept ambiguous strings and numerical comparisons mishandle units. Sparse rewards make exploration difficult, while permissive checks invite shortcuts. Success on automatically checkable tasks does not establish quality on subjective assistance or open-ended factual claims. Correct answers also need not imply faithful reasoning traces. Treat verifier reliability and independent task accuracy as separate quality measures, and reassess them when the policy discovers new output strategies.","sources":[{"title":"DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","url":"https://arxiv.org/abs/2501.12948","note":"Rule-based correctness and format rewards in reasoning-oriented reinforcement learning."},{"title":"Hugging Face TRL: GRPO Trainer","url":"https://huggingface.co/docs/trl/en/grpo_trainer","note":"Custom reward functions, generated completion groups and policy training diagnostics."}],"updatedAt":"2026-10-10"}},{"id":"reward-modeling","name":"Reward Modeling","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Reward modeling learns a scoring function from judgments about the quality of model outputs or actions. The competence is turning a defensible evaluation rubric into training data and a calibrated comparison model, then testing how reliably that proxy behaves on candidates outside the examples used to fit it.","type":"concept","editorial":{"definition":"A reward model takes a prompt and candidate response, or a state and trajectory, and produces a scalar or structured assessment. In pairwise language model setups, its parameters are trained so a preferred response receives a higher score than a rejected response. Other formulations use ratings, rankings or process-level judgments. Scores summarize learned preferences rather than objective correctness unless the data specifically supports that interpretation. A reward model may select candidates, evaluate experiments or supply a reinforcement learning objective. These uses expose it to different distributions, particularly when a policy actively searches for outputs that maximize its score.","practice":"Write a rubric, choose label granularity and gather comparisons with varied quality gaps. Check inter-annotator agreement and audit whether response length or formatting predicts the labels. Split related prompts and candidate sources together to avoid leakage. Evaluate pairwise accuracy and disagreement by task and response style; inspect score changes on controlled perturbations. Test generated candidates from policies that differ from the training generator. The result is a versioned scorer with a defined validity range and explicit evidence about its errors, suitable for a particular decision rather than an unrestricted quality oracle.","example":"An illustrative answer-selection system produces several explanations of a technical concept. Reviewers label pairs for factual accuracy and clarity. The fitted reward model chooses a candidate, but a challenge set adds polished answers containing a subtle false claim. The developer compares its rankings with fresh expert judgments and inspects whether the scorer values polish over correctness. Those findings determine whether it can automate selection or should only flag candidates for review.","limits":"High held-out comparison accuracy can hide systematic bias on rare but consequential cases. Scalar rewards collapse competing objectives, and their scale is usually meaningful only within the model's training setup. Optimization can amplify weaknesses that ordinary evaluation never encounters. A learned reward is distinct from a deterministic verifier and from direct policy preference losses. Validate under the intended selection or training pressure, preserve independent evaluators and avoid interpreting a high score as a probability that an answer is true.","sources":[{"title":"Hugging Face TRL: Reward Modeling","url":"https://huggingface.co/docs/trl/en/reward_trainer","note":"Pairwise reward datasets, trainer behavior and reward diagnostics."},{"title":"Training language models to follow instructions with human feedback","url":"https://arxiv.org/abs/2203.02155","note":"Role of learned preference rewards and limitations of optimizing the proxy."}],"updatedAt":"2026-10-10"}},{"id":"catastrophic-forgetting","name":"Catastrophic Forgetting","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Catastrophic forgetting is a sharp loss of previously learned capability when a model trains on new data or tasks. The skill is recognizing interference, measuring retained competence and choosing adaptation methods that balance learning the new requirement with preserving behaviors that remain important to the application.","type":"concept","editorial":{"definition":"Neural network parameters are shared across tasks, so updates that reduce a new task's loss can disrupt representations or decision boundaries needed for earlier tasks. This differs from a change in the evaluation population: forgetting compares capability on the same earlier requirement before and after adaptation. Mitigation families include replaying old examples, constraining changes to important parameters, separating task-specific components and balancing data mixtures. Elastic Weight Consolidation illustrates regularization based on parameter importance. No single mechanism defines all forgetting, and the acceptable balance depends on whether older tasks, domains, languages or safety behaviors must still be supported.","practice":"Establish a baseline on old and new tasks before sequential training. Keep representative retention sets separate from replay data, and track performance after each adaptation stage. Compare targeted replay, smaller updates, regularization and isolated adapters when they fit the model. Group evaluation examples by original source to prevent a remembered template from overstating retention. Report the new capability gain alongside losses elsewhere. A useful deliverable is an adaptation strategy and checkpoint selection rule that makes the retention tradeoff explicit, with rollback criteria for critical behaviors.","example":"An illustrative multilingual classifier is adapted to specialist English support tickets. The developer measures its original French and Polish tasks after each training stage. New-ticket accuracy improves while earlier language performance declines. They compare a mixed-language replay set with an isolated specialist adapter and evaluate both on untouched tickets from each language. The selected approach supports the new domain while meeting the project's minimum retained capability, rather than optimizing English performance alone.","limits":"Replay requires access to suitable older data and may preserve its biases. Importance estimates and parameter constraints are approximations, while separate adapters add routing and maintenance decisions. Retention tests can overlook rare skills or reward superficial similarity to old answers. Domain shift and forgetting can coexist, so diagnose them separately. Forgetting is a measured failure mode, not a guarantee that any particular fine-tuning recipe will fail; verify before and after behavior under the same evaluation protocol.","sources":[{"title":"Overcoming catastrophic forgetting in neural networks","url":"https://arxiv.org/abs/1612.00796","note":"Sequential task interference and parameter-importance regularization as one mitigation."},{"title":"Don’t Stop Pretraining: Adapt Language Models to Domains and Tasks","url":"https://arxiv.org/abs/2004.10964","note":"Domain adaptation context for distinguishing new-domain gains from retention requirements."}],"updatedAt":"2026-10-10"}},{"id":"fine-tuning-evaluation","name":"Fine-Tuning Evaluation","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Fine-tuning evaluation determines whether an adapted model improves the intended task while retaining other required behavior. The skill combines clean comparison data, task-specific measurements and inspection of generated failures. It supports checkpoint and release decisions rather than treating a falling training loss as evidence of a successful adaptation.","type":"concept","editorial":{"definition":"Evaluation compares the adapted model with the original checkpoint and meaningful alternatives under controlled inputs and decoding settings. Training loss measures fit to training targets; held-out loss estimates similar-distribution prediction quality; application tests examine whether outputs serve the actual task. These quantities answer different questions. A complete design may assess correctness, format compliance, robustness, retention, latency and resource requirements. Train, development and test sets need boundaries based on the unit that can leak, such as conversation, document, customer or problem family. Human or model-based judgments require explicit rubrics and their own checks for consistency.","practice":"Define acceptance criteria before training and reserve a final test set for the release decision. Deduplicate examples across splits, track dataset versions and inspect whether synthetic training answers reproduce evaluation material. Use the development set for checkpoint selection and tuning, then run the fixed final protocol once decisions are settled. Compare against prompt-only or retrieval baselines where relevant. Break results down by difficult cases and retained tasks, and inspect representative errors. The output should identify the supported improvement and remaining failures with enough detail for another person to reproduce the comparison.","example":"An illustrative model is tuned to extract maintenance fields from notes. The developer holds out complete machines and reporting periods, checks exact field accuracy and measures unsupported values. They compare the tuned model with the base model using a structured prompt. A checkpoint with lower validation loss invents more missing serial numbers, so the release decision favors one that meets field correctness and abstention criteria. The final report includes malformed-note examples and operating cost.","limits":"A benchmark can become a development set through repeated tuning, even when its file remains labeled test. Aggregate scores hide minority languages, long inputs and rare high-impact failures. Automated judges can share biases with the trained model, while reference overlap metrics miss factual errors. Evaluation estimates behavior within its coverage and cannot prove universal reliability. Keep training diagnostics, application acceptance criteria and independent retention tests separate, and disclose when a comparison lacks enough examples for a stable conclusion.","sources":[{"title":"Hugging Face Evaluate","url":"https://huggingface.co/docs/evaluate/en/index","note":"Evaluation modules and reproducible measurement tooling."},{"title":"Hugging Face Transformers: Fine-tuning","url":"https://huggingface.co/docs/transformers/en/training","note":"Training, evaluation datasets and checkpoint configuration in model adaptation."}],"updatedAt":"2026-10-10"}},{"id":"hugging-face-peft","name":"Hugging Face PEFT","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Hugging Face PEFT is a library for adapting pretrained models while training a selected subset of parameters or added components. The competence is choosing a suitable adaptation method, configuring its target modules and saving a reproducible adapter that can be loaded with the correct base model and processing setup.","type":"tool","editorial":{"definition":"Parameter-efficient fine-tuning reduces the number of trainable parameters compared with updating an entire model. PEFT provides implementations and interfaces for methods such as low-rank adapters and prompt-based tuning. Their mechanisms differ: an adapter can modify internal transformations, while learned prompt parameters affect the model through its input representation. A saved adapter typically contains adaptation weights and configuration rather than a complete independent model. Its behavior therefore depends on the base checkpoint, task head, tokenizer or processor and supported architecture. Parameter efficiency describes what is trained, and is separate from weight quantization or the choice of training objective.","practice":"Select a method based on task requirements, architecture support and the memory available for training and deployment. Inspect module names, verify which parameters are trainable and test forward behavior before a long run. Preserve base revision, adapter configuration, processing artifacts and any additional saved modules. Evaluate against the unadapted model and a modest full-tuning baseline when feasible. Load the saved adapter in a fresh process and test representative inputs. The result should be a portable adaptation package with an explicit base dependency and evidence that its deployment behavior matches the evaluated training checkpoint.","example":"For an illustrative classifier, an engineer applies low-rank adapters to an encoder and saves the updated classification head with them. A clean loading test initially gives inconsistent labels because the head was omitted. After fixing the packaging configuration, the developer loads the same base revision and adapter and reproduces held-out predictions. They document the modules being adapted so a later checkpoint with different internal names does not silently receive an incompatible configuration.","limits":"A small adapter file does not imply negligible total inference memory because the base model is still required. Method and architecture support vary, and some combinations with quantization or merging have constraints. Too few trainable parameters can restrict adaptation, while excessive rank can weaken the expected savings. Adapters can still overfit or alter important behavior. Check packaging and version compatibility, and evaluate the complete loaded system rather than relying on a trainable-parameter count as a quality measure.","sources":[{"title":"Hugging Face PEFT","url":"https://huggingface.co/docs/peft/en/index","note":"Library purpose, parameter-efficient method families and adapter integration."},{"title":"LoRA: Low-Rank Adaptation of Large Language Models","url":"https://arxiv.org/abs/2106.09685","note":"Mechanism of a supported low-rank adaptation method."}],"updatedAt":"2026-10-10"}},{"id":"hugging-face-trl","name":"Hugging Face TRL","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Hugging Face TRL provides training components for supervised and preference-based language model post-training. The skill is matching a trainer to the intended learning signal, formatting data correctly and interpreting its diagnostics. Library familiarity includes understanding the objective and integration constraints behind a short training script.","type":"tool","editorial":{"definition":"TRL offers trainers for distinct post-training procedures, including supervised fine-tuning, direct preference optimization, reward modeling and group-relative policy optimization. Each expects a particular dataset structure and applies a particular loss or reward pipeline. Conversational records may require a model-specific chat template, and generated policy training also involves sampling settings and reward functions. TRL can integrate with model and adapter tooling, but those integrations do not make every combination valid. The library is an implementation layer: selecting a trainer does not resolve the scientific choice of objective, the meaning of labels or the evaluation needed for an application.","practice":"Read the selected trainer's expected data format, configuration and logged metrics for the installed version. Validate a small batch, inspect rendered conversations and check which tokens contribute to the loss. For preference training, audit chosen and rejected pairs; for reinforcement learning, test reward functions independently. Pin versions and model revisions, record effective batch and generation settings, and keep evaluation data independent of trainer examples. Reproduce saving and loading before scaling. The useful output is a documented post-training experiment whose data, objective and artifact behavior can be inspected beyond whether the trainer completed.","example":"An illustrative team wants an assistant to prefer accurate concise answers. Their dataset contains prompt, preferred answer and rejected answer records, so they select DPOTrainer rather than SFTTrainer. A small debug run reveals that long prompts remove the key distinction during truncation. After changing data handling, they evaluate fresh generated answers with a separate rubric. The run report names the DPO loss and reference policy so another engineer can interpret the result.","limits":"Trainer defaults and supported integrations change across versions. Similar-looking constructor calls can implement materially different objectives, and training metrics can be misread as application success. Incorrect templates, masking or truncation can invalidate otherwise well-formed data. Resource-intensive generation and reference models also affect feasibility. Verify the exact documented trainer behavior, and avoid treating TRL as a single alignment algorithm or assuming that supported code paths automatically yield reliable, safe or useful model behavior.","sources":[{"title":"Hugging Face TRL","url":"https://huggingface.co/docs/trl/en/index","note":"Library scope and available post-training components."},{"title":"Hugging Face TRL: Dataset formats","url":"https://huggingface.co/docs/trl/en/dataset_formats","note":"Data representations and their relationship to training procedures."}],"updatedAt":"2026-10-10"}},{"id":"llm-fine-tuning","name":"LLM Fine-Tuning","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"LLM fine-tuning adapts a pretrained language model by updating its parameters on data chosen for a task, domain or behavior. The skill is defining an objective that benefits from training, preparing compatible examples and evaluating the complete adapted artifact against the base model and simpler alternatives.","type":"concept","editorial":{"definition":"Fine-tuning starts from learned weights rather than training a model from random initialization. Updates may involve the full network, a task head or parameter-efficient components. The objective can predict task labels, imitate target responses, continue language modeling or optimize preferences; these choices imply different data and behavior. The tokenizer, context construction and output format remain part of the model's input contract. Fine-tuning primarily changes learned behavior and representations. It is not a dependable mechanism for inserting frequently changing facts or retrieving authoritative records, and does not replace a retrieval layer when answers require current source evidence.","practice":"Identify the observed failure and compare training with improved prompts, retrieval or deterministic processing. Select a licensed base checkpoint, curate examples that express the target behavior and preserve provenance. Split related documents or conversations together, inspect templates and masking, and choose full or partial parameter updates within resource limits. Monitor held-out task quality and retained capabilities while selecting checkpoints. Package tokenizer, configuration and adaptation weights together and test a fresh load. The result is an evaluated artifact and an explanation of the specific improvement that justifies the additional training and maintenance.","example":"An illustrative team repeatedly converts free-form equipment notes into a stable schema. They train a language model on reviewed note-to-record examples, including missing and contradictory fields. Entire equipment groups are held out. Evaluation compares the tuned model with a strong structured prompt, checking valid output, field accuracy and unsupported values. The final package includes the exact template and schema, because using a different prompt after deployment can change the behavior being assessed.","limits":"Poor demonstrations teach their errors, and small datasets can encourage memorization rather than generalization. Adaptation can reduce language coverage or other previously useful capabilities. A model may reproduce sensitive training material, so data selection and evaluation must account for that possibility. Lower loss does not establish factuality or format reliability. Distinguish broad fine-tuning from instruction tuning, continued pretraining and preference optimization, and document the actual objective instead of presenting them as interchangeable recipes.","sources":[{"title":"Hugging Face Transformers: Fine-tuning","url":"https://huggingface.co/docs/transformers/en/training","note":"Adaptation from pretrained weights, data preparation and training configuration."},{"title":"Hugging Face PEFT","url":"https://huggingface.co/docs/peft/en/index","note":"Alternative to full-parameter updating through selected adaptation parameters."}],"updatedAt":"2026-10-10"}},{"id":"supervised-fine-tuning-sft","name":"Supervised Fine-Tuning (SFT)","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Supervised fine-tuning adapts a pretrained model using examples of the desired prediction or response. Practitioners choose targets, control which outputs contribute to the loss and check whether imitation generalizes to unseen inputs. Instruction-response training is one application of SFT, alongside classification, extraction and other labeled tasks.","type":"concept","editorial":{"definition":"Supervision supplies target outputs rather than only a preference between candidates or a reward for sampled actions. For an autoregressive language model, a common objective minimizes the negative log likelihood of target tokens given the context. Depending on the task, loss may cover a full text sequence, a completion or selected assistant turns. Other pretrained architectures use supervised task losses such as classification. Teacher forcing trains on reference prefixes, whereas deployment generates its own prefixes. SFT therefore teaches patterns represented by demonstrations, with behavior determined by their correctness, coverage and the loss assigned to different parts of each example.","practice":"Define the input-output contract and obtain reviewed targets that match it. Include realistic ambiguous and missing-input cases rather than only ideal answers. Inspect token-level masking, padding, packing and truncation to confirm that the intended target survives preprocessing. Split by underlying source or task family, reserve untouched evaluation examples and monitor overfitting. Measure task success on generated or predicted outputs, with format and factuality checks when appropriate. The deliverable is a model that reproduces the required behavior on unseen cases, accompanied by the exact target construction and loss configuration.","example":"An illustrative extraction model receives a note and must output a JSON object. The training record includes both the prompt and correct object, but the loss is applied to the object tokens. The developer checks examples where a field is absent and expects a null value. Evaluation uses notes from unseen reports and measures field correctness as well as parse validity. This is supervised fine-tuning even though the goal is a narrow extraction task.","limits":"The model can learn an answer's style without learning its correctness, and frequently occurring targets may dominate rarer requirements. Teacher forcing does not expose every error chain that occurs during generation. Incorrect masking can spend capacity predicting prompts, while truncation can remove the supervised answer. SFT does not directly express comparative preferences or guarantee safe behavior. Instruction tuning is a particular data and task formulation within the broader supervised adaptation approach, rather than a synonym for every SFT run.","sources":[{"title":"Hugging Face TRL: SFT Trainer","url":"https://huggingface.co/docs/trl/en/sft_trainer","note":"Supervised data formats, loss masking, packing and training configuration."},{"title":"Hugging Face Transformers: Fine-tuning","url":"https://huggingface.co/docs/transformers/en/training","note":"General pretrained-model adaptation and supervised training context."}],"updatedAt":"2026-10-10"}},{"id":"model-merging","name":"Model Merging","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Model merging combines compatible model weights or task updates into a single artifact. The competence is identifying which components can meaningfully be combined, choosing a merge rule and testing the resulting capabilities and interference. A merged checkpoint needs its own evaluation rather than inheriting the strengths claimed for its inputs.","type":"concept","editorial":{"definition":"Merging differs from an ensemble because inference ordinarily uses one combined parameter set instead of consulting multiple models. Simple averaging interpolates weights; task-vector approaches combine differences from a shared base; other methods address redundant updates or conflicting signs. Compatibility involves architecture, parameter shapes, tokenizers and the relationship between training histories. A common base can make task updates more interpretable, but does not eliminate interference. TIES-Merging illustrates trimming small updates and resolving sign conflicts before combination. Merging can also apply to adapters, subject to the constraints of their representation and loading or conversion path.","practice":"Inspect architecture, licenses, base revisions and processing artifacts before selecting inputs. Choose the merge rule and coefficients on development tasks that represent all intended capabilities. Preserve separate final tests and compare the merged artifact with its base and each source model. Check language coverage, output formatting and regressions rather than using one aggregate score. Record the merge specification and reproduce it from pinned input checkpoints. The deliverable is a loadable model plus evidence of which capabilities survived, which changed and whether one merged artifact actually fits the deployment requirement.","example":"An illustrative project has two adapters from the same base: one for structured reports and one for domain terminology. The engineer compares a simple weighted combination with a method designed to reduce update interference. Held-out tasks include both report formatting and terminology interpretation. The merged model preserves specialized vocabulary but occasionally breaks the report schema, so the developer adjusts the selection criterion and evaluates fresh reports before treating the artifact as suitable for both roles.","limits":"Weights from unrelated architectures cannot be averaged meaningfully just because they serve similar tasks. Even compatible checkpoints may encode conflicting updates, and special-token differences can invalidate a merge. A merge can lose capability or amplify unwanted behavior without an obvious loading error. It does not create an inference ensemble's independent votes or a distillation student's learning process. Validate the complete output artifact and retain provenance of every input, since a compact merge recipe alone does not establish reproducible behavior.","sources":[{"title":"TIES-Merging: Resolving Interference When Merging Models","url":"https://arxiv.org/abs/2306.01708","note":"Task-update interference, trimming and sign-resolution merge mechanism."},{"title":"mergekit","url":"https://github.com/arcee-ai/mergekit","note":"Maintained model-merging implementation, supported merge specifications and artifact workflow."}],"updatedAt":"2026-10-10"}},{"id":"knowledge-distillation","name":"Knowledge Distillation","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Knowledge distillation trains a student model to reproduce useful behavior or predictions from a teacher. Practitioners choose what information to transfer, which inputs expose it and how to measure the student's retained quality. The goal may be a smaller deployable model, a different architecture or a specialized policy.","type":"concept","editorial":{"definition":"A teacher can provide probability distributions, intermediate representations or generated target responses. In classic classification distillation, softened class probabilities reveal relationships between alternatives that a single hard label omits. Temperature controls the softness of those distributions, and the student may combine a teacher-matching loss with ordinary labeled supervision. For language models, sequence-level distillation can train on teacher-generated answers, while token-level methods compare predictive distributions. These are different transfer mechanisms. The student learns through training on sampled inputs; it does not receive a literal compressed copy of every teacher parameter or necessarily inherit all of the teacher's capabilities.","practice":"Define the deployment constraint and choose a student capable of the required inputs and outputs. Build a transfer set that covers difficult cases, verify teacher targets and keep the final evaluation independent of both target generation and student tuning. Select the matching objective and any mixture with trusted labels. Evaluate the student against the teacher and a student trained without distillation, measuring task quality, latency and memory in the actual runtime. Preserve teacher provenance and generation settings. The result should identify the capabilities transferred successfully and the cases where the smaller model still needs escalation.","example":"An illustrative helpdesk classifier must run locally with limited memory. A larger teacher supplies class distributions for reviewed and unlabeled tickets. The student trains on these distributions plus trusted labels. Evaluation groups tickets by conversation and includes rare request types. The engineer finds that broad categories transfer well but subtle billing distinctions do not, and adds targeted labeled examples. Deployment testing checks the student's actual runtime rather than inferring speed from its parameter count.","limits":"Distillation transfers teacher mistakes and depends heavily on the input distribution. A student with insufficient capacity may imitate surface patterns while losing nuanced behavior. Synthetic outputs can introduce unsupported claims, and evaluating on teacher-generated references can favor imitation over correctness. Access to teacher probabilities, usage permissions and model interfaces can constrain the method. Distillation differs from quantization and weight merging because it learns a new model; compare quality and operating cost after that learning process, not merely model size.","sources":[{"title":"Distilling the Knowledge in a Neural Network","url":"https://arxiv.org/abs/1503.02531","note":"Soft targets, temperature and teacher-to-student training formulation."},{"title":"Hugging Face TRL: Distillation Trainer","url":"https://huggingface.co/docs/trl/en/distillation_trainer","note":"Implementation context for language model distillation objectives."}],"updatedAt":"2026-10-10"}},{"id":"model-quantization","name":"Model Quantization","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Model quantization represents model quantities with fewer bits to reduce storage or computation requirements. The skill is choosing a numerical format and supported execution path, calibrating where necessary and measuring the resulting quality and resource tradeoff. A smaller weight file alone does not establish faster or reliable inference.","type":"concept","editorial":{"definition":"Quantization maps values from a higher-precision representation to a more limited set using scales, offsets or other encoding parameters. A scheme may quantize weights, activations or both, with parameters shared across a tensor, channel or group. Post-training quantization converts an existing model, sometimes using representative calibration data; quantization-aware training incorporates the effect during optimization. Algorithms differ in how they control approximation error and handle unusually large values. Low-bit storage also requires compatible kernels or dequantization during execution. Quantization changes numerical representation and is distinct from LoRA, which changes the set of trainable adaptation parameters.","practice":"Start with an evaluated higher-precision baseline and identify whether memory, throughput or deployment support is the constraint. Select a method supported by the target hardware and model architecture. For calibration-based schemes, use representative inputs without borrowing the final test set. Record bit width, grouping, calibration construction and excluded modules. Check task quality, long-input behavior and retained capabilities, then measure peak memory and latency at realistic batch sizes. Save the quantization configuration with the artifact. The useful result is a verified runtime configuration with an explicit accuracy-cost tradeoff, rather than a compression ratio presented as sufficient validation.","example":"An illustrative assistant needs to fit on one workstation accelerator. The engineer compares a lower-bit weight representation with the baseline using the same questions and decoding settings. A held-out suite includes code generation and long instructions. The compressed model fits memory, but one format slows short requests because conversion overhead dominates. Another compatible kernel performs better in the workload. The deployment decision uses actual request measurements and error inspection together.","limits":"Outliers and accumulated rounding error can damage particular layers or tasks, even when average loss changes little. Hardware support, batch size and memory bandwidth determine whether reduced precision improves speed. Calibration data can miss important input ranges. Quantizing weights does not automatically reduce activation or attention-cache memory. Adapter training over quantized weights is a combined procedure, not proof that quantization itself performs adaptation. Validate artifacts after conversion and loading, including configuration and kernel compatibility.","sources":[{"title":"Hugging Face Transformers: Quantization overview","url":"https://huggingface.co/docs/transformers/en/quantization/overview","note":"Supported quantization families, calibration and hardware-dependent execution."},{"title":"GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers","url":"https://arxiv.org/abs/2210.17323","note":"A specific post-training weight quantization method and error-control approach."}],"updatedAt":"2026-10-10"}},{"id":"lora-qlora","name":"LoRA / QLoRA","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"LoRA adapts a model through trainable low-rank weight updates; QLoRA combines that adaptation with a quantized frozen base. The competence is selecting adapter targets and capacity, controlling memory use and verifying the complete loaded model. Low-rank adaptation and reduced-precision storage solve different parts of the training problem.","type":"concept","editorial":{"definition":"LoRA represents an update to a weight matrix as a product of two smaller trainable matrices while the original weight remains frozen. The rank controls the update's representational capacity, and scaling influences its contribution to the layer. Target-module choices determine which computations can adapt. QLoRA retains this adapter-training idea while storing the frozen base in a low-bit format and computing through dequantized values. Its published recipe includes NormalFloat quantization and memory-management techniques. Quantized base weights are not simply trained like ordinary full-precision weights. The canonical label groups related techniques, but a reproducible run must state whether it uses ordinary LoRA or a particular quantized-base configuration.","practice":"Inspect the architecture and choose target modules based on the task rather than copying names from another model. Check trainable parameters, rank, scaling and saved task heads. For QLoRA, confirm the quantization backend, compute dtype and device support, and test a small backward pass. Keep evaluation sources outside adapter training and compare with the base on target and retained tasks. Measure training peak memory and deployment behavior separately. Save base revision, adapter and quantization settings, then reproduce a fresh load and test any merge or export path that deployment requires.","example":"An illustrative team adapts a model to produce consistent laboratory report fields. Limited accelerator memory leads them to test QLoRA. They verify that only the adapter parameters update and inspect samples where a required field is absent. Held-out reports determine whether increasing rank improves field accuracy or merely fits familiar templates. The final loader reconstructs the exact quantized base and adapter, because loading the adapter onto a different revision can change the measured behavior.","limits":"Low rank restricts the available update and may be insufficient for some adaptations. A low trainable-parameter count still leaves base weights, activations and optimizer state to account for. Quantized computation can add approximation and compatibility constraints. Adapter merging and re-quantization require separate validation; they need not reproduce the original loading path exactly. LoRA is not a quantization algorithm, and QLoRA is not a guarantee of quality equivalence to full tuning. Evaluate their chosen configuration on the actual task.","sources":[{"title":"LoRA: Low-Rank Adaptation of Large Language Models","url":"https://arxiv.org/abs/2106.09685","note":"Frozen base weights and trainable low-rank matrix updates."},{"title":"QLoRA: Efficient Finetuning of Quantized LLMs","url":"https://arxiv.org/abs/2305.14314","note":"Quantized-base adapter training and its published numerical and memory techniques."}],"updatedAt":"2026-10-10"}},{"id":"continual-pre-training","name":"Continual Pre-Training","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Continual pre-training extends a pretrained model's representation learning on additional corpora, often to adapt its language or domain coverage. Practitioners curate the new distribution, preserve important earlier capabilities and measure downstream effects. This skill concerns further language-model learning rather than directly teaching a conversation format or response preference.","type":"concept","editorial":{"definition":"The model resumes an objective such as next-token prediction or masked-token prediction from an existing checkpoint. Domain-adaptive pretraining uses broad text from a target field, while task-adaptive pretraining uses text closer to a particular application. Both can alter vocabulary usage and representations without requiring explicit answer labels. Corpus selection, tokenizer compatibility, sequence packing and the mixture with general text shape the resulting distribution. Continual pre-training is also part of broader sequential learning, where later updates can interfere with earlier knowledge. It differs from instruction tuning because the supervision ordinarily comes from the corpus itself rather than a set of instruction-response demonstrations.","practice":"Establish a downstream need and inspect whether the existing model already handles it. Curate permitted corpora, remove duplicates and low-quality boilerplate, and exclude evaluation documents and close variants. Decide how much general material to retain and whether tokenizer changes are justified by evidence. Monitor held-out language-model loss in the new and earlier domains, then evaluate tasks that represent actual use. Check retained languages and behaviors after each stage. The deliverable is a new pretrained checkpoint with documented corpus composition, update budget and independent evidence that further representation learning benefits the intended application.","example":"An illustrative model must interpret technical maintenance prose with unusual abbreviations. The team continues pretraining on reviewed manuals and historical descriptive notes, holding out entire manual families. They then fine-tune a small extraction task using the same labels for the original and adapted checkpoints. Better domain loss is treated as an intermediate observation; the deciding test is whether the adapted representation improves extraction on unseen equipment without degrading general-language instructions.","limits":"Additional text can reinforce noise, outdated statements or sensitive material. A narrow corpus can reduce broader capability, and repeated documents can dominate learning. Lower in-domain perplexity does not guarantee better downstream performance or accurate factual recall. Tokenizer changes introduce compatibility and initialization decisions that require separate evaluation. Continued pretraining does not make a model's factual content current in a controlled way; retrieval and explicit source handling remain useful when individual facts change frequently.","sources":[{"title":"Don’t Stop Pretraining: Adapt Language Models to Domains and Tasks","url":"https://arxiv.org/abs/2004.10964","note":"Domain-adaptive and task-adaptive pretraining with downstream evaluation."},{"title":"Overcoming catastrophic forgetting in neural networks","url":"https://arxiv.org/abs/1612.00796","note":"Sequential learning interference relevant to retaining earlier capabilities."}],"updatedAt":"2026-10-10"}},{"id":"deepspeed","name":"DeepSpeed","category":"Training Infrastructure","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"DeepSpeed is a training systems library that helps execute large neural-network workloads across available hardware. The competence is configuring memory and communication strategies, integrating the training engine correctly and validating recovery and performance. Its optimizations change how training runs, while the model objective and data quality remain separate responsibilities.","type":"tool","editorial":{"definition":"DeepSpeed wraps model execution, backward computation and optimizer steps with distributed and memory-management features. ZeRO partitions training state across data-parallel workers: its stages progressively shard optimizer states, gradients and model parameters. Offloading can move selected state to other memory tiers, trading accelerator capacity against transfer and processing overhead. Configuration also governs precision, batch sizes and related execution behavior. These mechanisms reduce redundancy or redistribute work rather than altering the task's learning objective. Competence includes recognizing which state dominates memory and how sharding, communication and checkpoint formats affect the complete run, not only enabling a named optimization stage.","practice":"Profile memory and step time before choosing a ZeRO stage or offload strategy. Reconcile microbatch size, accumulation and world size with the intended effective batch. Verify precision support, loss scaling and optimizer ownership in the integration. Run a small distributed smoke test and compare loss behavior with a known baseline. Test checkpoint saving, resumption and export with the planned worker count and deployment loader. The useful result is a reproducible configuration that meets memory constraints with measured throughput and a demonstrated recovery path, including evidence that data is neither skipped nor duplicated unexpectedly.","example":"An illustrative language-model adaptation run exceeds accelerator memory because optimizer state occupies a large share. The engineer first tests state sharding, then compares a more aggressive stage when parameters become the constraint. Offloading fits the run but slows each step, so the choice depends on total experiment time. A deliberately interrupted small run verifies that the restored checkpoint continues with the expected optimizer and scheduler state before the team launches the expensive workload.","limits":"Higher sharding stages can add communication overhead, and offloading depends on host memory and transfer capacity. A model that fits may still train inefficiently. Integration mistakes can create inconsistent effective batches or incorrect update schedules. Sharded checkpoints may need a supported consolidation or loading path. DeepSpeed does not establish model quality, dataset integrity or convergence by itself. Record versions and hardware topology, inspect numerical behavior and compare measured end-to-end performance before attributing gains to configuration changes.","sources":[{"title":"DeepSpeed: Getting Started","url":"https://www.deepspeed.ai/getting-started/","note":"Training engine integration, configuration and checkpoint workflow."},{"title":"DeepSpeed: Zero Redundancy Optimizer","url":"https://www.deepspeed.ai/tutorials/zero/","note":"ZeRO stages, state partitioning and offload configuration."}],"updatedAt":"2026-10-10"}},{"id":"distributed-training","name":"Distributed Training","category":"Training Infrastructure","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Distributed training coordinates model learning across multiple devices or machines. Practitioners decide how to partition data, parameters and computation, then verify that synchronized updates implement the intended objective. The skill includes communication costs, numerical behavior, failure recovery and reproducible comparisons with a smaller trusted training setup.","type":"concept","editorial":{"definition":"Data parallelism gives workers different batches and combines their gradients while maintaining a shared model. Sharded data parallelism distributes parameter, gradient or optimizer state to reduce per-device memory. Tensor parallelism partitions operations within layers, and pipeline parallelism assigns different layers to stages that process microbatches. These approaches can be combined, but impose different communication and scheduling requirements. A distributed process group coordinates collectives such as reductions and gathers. Effective batch size depends on local batches, accumulation and participating workers, while averaging conventions determine the scale of the resulting update. Distributed execution is a systems choice rather than a new learning objective.","practice":"Measure model-state memory, compute time and network capacity to choose a partitioning strategy. Establish a correct single-device reference, then test a small distributed run with controlled data and randomness. Ensure samplers, accumulation, gradient scaling and scheduler steps agree across workers. Profile time spent computing, communicating and waiting for input. Validate full checkpoint recovery and test how partial failures terminate or resume the job. The deliverable should show correct update semantics and useful scaling for the workload, with resource and recovery assumptions explicit enough to reproduce the experiment.","example":"An illustrative classifier expands from one device to several. The engineer distributes disjoint training batches and reduces gradients through data parallelism. They compare an update with an equivalent combined batch on the reference implementation to catch an incorrect loss normalization. Throughput then plateaus because input decoding is slow, so optimizing the data loader helps more than adding workers. A restart test checks that sampler state and checkpoint restoration do not repeat an unintended segment of data.","limits":"Communication, imbalance and input bottlenecks can erase expected scaling gains. Numerical reduction order and mixed precision can alter results, and bitwise reproducibility is not always attainable. More workers can change optimization if effective batch or scheduling is left uncontrolled. Sharding complicates checkpoint loading and inspection. Distinguish data distribution from model partitioning, and assess total run cost rather than reporting device count as evidence of efficiency. A successful launch alone does not establish correct synchronized learning.","sources":[{"title":"PyTorch: Distributed Data Parallel theory","url":"https://docs.pytorch.org/tutorials/beginner/ddp_series_theory.html","note":"Replicated models, distributed inputs and gradient synchronization."},{"title":"PyTorch: Getting Started with Fully Sharded Data Parallel","url":"https://docs.pytorch.org/tutorials/intermediate/FSDP_tutorial.html","note":"Sharded model-state execution and training integration."}],"updatedAt":"2026-10-10"}},{"id":"grpo","name":"GRPO","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Group Relative Policy Optimization updates a generating policy using rewards compared within groups of sampled responses. The skill is constructing informative prompt groups, implementing reliable rewards and controlling policy changes. GRPO can support verifiable or learned rewards; its optimizer is distinct from the source of the reward signal.","type":"concept","editorial":{"definition":"GRPO samples multiple completions for a prompt and uses their rewards to estimate relative advantages, commonly by centering and scaling scores within the group. It avoids a separately trained value model in the original formulation, using the group as its baseline instead. A clipped policy objective limits updates relative to the sampling policy, and formulations may include a penalty for divergence from a reference. Group size, generation settings and reward variability affect the learning signal. Modern implementations offer normalization and loss variants, so the exact objective needs documentation. GRPO does not define whether correctness, human preference or another property supplies the reward.","practice":"Test reward functions independently and select prompts where sampled completions exhibit meaningful quality differences. Choose group size and generation limits within the available inference and training budget. Inspect zero-variance groups, reward distributions, completion lengths, clipping and divergence. Keep problem families and solution sources separate from evaluation. Record the implementation's loss and normalization settings, then assess independently verified task accuracy rather than average reward alone. The useful result is a policy improvement with a reproducible sampling and optimization recipe and evidence that the relative signal corresponds to the intended behavior.","example":"An illustrative arithmetic policy generates several solutions for each exercise. A verifier rewards final answers only when parsed values match the expected result. Some easy prompts produce all-correct groups and some difficult prompts all-wrong groups, so the developer inspects how little comparative signal they supply. Training uses a more informative mixture. Evaluation on independently generated exercises checks answer correctness and whether the policy has learned parser-specific tricks rather than transferable arithmetic.","limits":"Relative normalization can interact with prompt difficulty and reward variance, while group sampling adds substantial generation cost. Identical rewards within a group provide weak or absent differentiation. A flawed verifier or biased reward model still produces flawed optimization. Length effects and normalization choices can influence which responses receive pressure. GRPO is neither a guarantee of reasoning nor a synonym for reinforcement learning from verifiable rewards. Evaluate the reward source, policy objective and task behavior as separate components.","sources":[{"title":"DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models","url":"https://arxiv.org/abs/2402.03300","note":"Original group-relative policy optimization formulation."},{"title":"Hugging Face TRL: GRPO Trainer","url":"https://huggingface.co/docs/trl/en/grpo_trainer","note":"Sampling groups, reward functions, normalization choices and training diagnostics."}],"updatedAt":"2026-10-10"}},{"id":"unsloth","name":"Unsloth","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Unsloth supplies tooling and optimized execution paths for language model adaptation and related training workflows. The competence is selecting a supported model and hardware configuration, preparing compatible data and checking that training and export preserve the intended behavior. Performance claims need verification on the actual workload and installed version.","type":"tool","editorial":{"definition":"Unsloth integrates model loading, adapter setup and training workflows with optimizations intended to reduce memory use or execution time. Its documented guides cover tasks such as supervised fine-tuning, low-rank adaptation and reinforcement learning, with support dependent on model family and environment. Optimized kernels and memory strategies are implementation choices, while SFT, LoRA and reward-based training retain their own conceptual definitions. The input contract still includes tokenizer or processor, conversation template and loss masking. Exported adapters or converted models also depend on their target runtime. Competence therefore combines familiarity with the library's supported path and independent understanding of the underlying training procedure.","practice":"Check the current guide for the chosen model, accelerator, precision and quantization combination. Pin dependencies and start with a small reproducible dataset. Inspect rendered conversations, label masks and trainable modules before scaling. Measure memory and step time against a comparable baseline with the same effective batch and sequence length. Reserve evaluation prompts outside training examples, and test the saved adapter or exported model in the deployment loader. The deliverable is a documented configuration and working artifact whose task quality and resource use are demonstrated, rather than an unverified speed claim copied from a general benchmark.","example":"An illustrative developer uses Unsloth to adapt a small assistant to write structured issue summaries. A short trial checks template formatting and completion-only loss. They compare peak memory with a conventional adapter-training setup using identical data and sequence lengths. After training, they export the artifact and rerun unseen issue examples in the target runtime. A formatting discrepancy exposes a missing chat-template setting, which is fixed before the model is considered ready.","limits":"Supported architectures, installation requirements and export routes can change. Results from one model or hardware configuration need not transfer to another. An optimization can reduce memory while shifting time to preprocessing or generation, so end-to-end measurement matters. Incorrect templates or labels remain harmful even when the training code runs efficiently. Unsloth is a toolchain, not a distinct alignment objective. Validate quality and a fresh deployment load after each material version or conversion change.","sources":[{"title":"Unsloth Documentation","url":"https://unsloth.ai/docs","note":"Official scope, installation and training workflow documentation."},{"title":"Unsloth: Fine-tuning LLMs Guide","url":"https://unsloth.ai/docs/get-started/fine-tuning-llms-guide","note":"Data preparation, model configuration and fine-tuning workflow."}],"updatedAt":"2026-10-10"}},{"id":"federated-learning","name":"Federated Learning","category":"Training Infrastructure","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Federated learning trains a shared model from data held by separate participants without routinely collecting all raw examples in one place. The competence is designing local updates, aggregation and evaluation under heterogeneous data and unreliable participation. Keeping data local is an architectural property, not a complete privacy guarantee.","type":"concept","editorial":{"definition":"A coordinator distributes model parameters to selected participants, each trains locally, and an aggregation rule combines returned updates. Federated averaging weights local model contributions according to an agreed procedure, commonly related to local data volume. Participants may be devices or organizations and can have different data distributions, compute capacity and availability. Multiple local steps reduce communication but can increase divergence between participants. The system must account for who contributes and how updates are validated. Secure aggregation and differential privacy are additional mechanisms with separate assumptions; the ordinary federated training protocol does not automatically prevent sensitive information from appearing in transmitted updates.","practice":"Define participants, participation rules and the trust model before choosing a protocol. Measure data heterogeneity and compare local-only, centralized reference where permitted and federated baselines. Configure local steps, weighting and communication rounds, and test dropped or delayed participants. Keep evaluation users or organizations separate from training participants where the generalization question requires it. Evaluate each participant group as well as the aggregate. The result includes an aggregation procedure, privacy and robustness controls appropriate to the threat model, and evidence that the shared model serves participants beyond those dominating the update volume.","example":"In an illustrative collaboration, several laboratories hold differently distributed sensor observations. Each trains a shared classifier locally and returns an update. Evaluation shows that an aggregation favoring large laboratories performs poorly on a smaller site's operating conditions. The team inspects per-site results, changes the participation and weighting policy and tests a previously unseen laboratory. They also assess update exposure separately, because no raw-data transfer alone does not establish confidentiality.","limits":"Nonidentical data, uneven participation and stale updates can slow convergence or disadvantage small groups. Malicious or faulty updates can corrupt aggregation, and ordinary updates may leak information. Privacy protections introduce their own utility and system costs. A centralized test set can conceal participant-specific failures, while local tests may not be comparable. Federated learning differs from distributed training over centrally managed data and from secure multiparty computation. State the actual trust and privacy mechanisms and evaluate both shared and participant-level utility.","sources":[{"title":"Communication-Efficient Learning of Deep Networks from Decentralized Data","url":"https://arxiv.org/abs/1602.05629","note":"Federated averaging, local updates and decentralized heterogeneous data."},{"title":"Advances and Open Problems in Federated Learning","url":"https://arxiv.org/abs/1912.04977","note":"Research account of heterogeneity, privacy, robustness and deployment constraints."}],"updatedAt":"2026-10-10"}},{"id":"instruction-tuning","name":"Instruction Tuning","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Instruction tuning trains a model on examples that express a task in natural language and show a suitable response. Practitioners design task diversity, instructions and demonstrations so behavior generalizes beyond memorized templates. It is a particular supervised fine-tuning formulation, with instruction following as the capability being developed and evaluated.","type":"concept","aliases":["Instruction-Tuning","Instruction Fine-Tuning"],"editorial":{"definition":"Each example specifies what the model should do, often with additional input, and supplies a target answer. A mixture can include classification, transformation, explanation and generation tasks expressed through different instructions. The supervised objective teaches the model to condition its response on the requested operation and constraints. Task breadth and instruction variation matter because merely repeating one prompt can teach a narrow mapping rather than general instruction following. Multi-turn examples add conversation roles and context dependencies. Instruction tuning differs from continual pretraining on raw text and from preference optimization, which compares candidate responses instead of simply imitating a demonstrated answer.","practice":"Define the desired instruction behaviors, then select diverse, reviewed tasks and consistent response conventions. Include constraints such as requested format, missing information and conflicting context where they matter. Audit synthetic demonstrations for factual errors and duplicated evaluation tasks. Split by task families and source material, inspect chat templates and target masking, and balance frequent tasks against less common requirements. Evaluate unseen instruction phrasings and tasks alongside retained knowledge and language coverage. The deliverable is an adapted model with evidence of broader instruction conditioning, plus a documented dataset mixture and response rubric.","example":"An illustrative assistant learns to transform short workplace notes into either a summary, action list or structured record according to the request. Training varies wording and includes examples where there are no actions. Evaluation holds out note sources and new instruction phrasings. The developer checks that changing only the requested operation changes the answer appropriately, rather than always returning the most frequent training format. New task families provide a harder test of generalization.","limits":"Demonstrations can contain unsupported facts or encode an overly uniform style. Apparent instruction following may depend on templates, language or task overlap. Models can follow some constraints while ignoring others, especially with long or conflicting contexts. Supervised imitation does not settle how competing instructions should be prioritized in every situation. Instruction tuning is narrower than SFT as a general method and does not directly optimize comparative preferences. Evaluate the specific requested behavior and novel tasks, not just similarity to reference answers.","sources":[{"title":"Finetuned Language Models Are Zero-Shot Learners","url":"https://arxiv.org/abs/2109.01652","note":"Instruction-formatted task mixtures and generalization to unseen tasks."},{"title":"Hugging Face TRL: SFT Trainer","url":"https://huggingface.co/docs/trl/en/sft_trainer","note":"Implementation of supervised instruction-response training and target loss configuration."}],"updatedAt":"2026-10-10"}}],"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":"LoRA / QLoRA","subject_id":"lora-qlora","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"LoRA / QLoRA","subject_id":"lora-qlora","relation":"is subcategory of","object":"Transfer Learning","object_id":"transfer-learning"}],"prerequisites":[{"skill":"LoRA / QLoRA","skill_id":"lora-qlora","prerequisite":"LLM Fine-Tuning","prerequisite_id":"llm-fine-tuning","strength":"hard","rationale":"LoRA/QLoRA are parameter-efficient alternatives to full SFT — you must understand what full fine-tuning does before learning to approximate it cheaply"},{"skill":"LoRA / QLoRA","skill_id":"lora-qlora","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"medium","rationale":"LoRA factorizes weight updates into low-rank matrices (W = BA where B,A are low-rank) — linear algebra explains why this works"}],"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":"lora-qlora","idx":14,"term":"LoRA and QLoRA","category":"Trening","round":"R1","year":"2021-06-17","author":"Edward J. Hu and colleagues introduced LoRA; Tim Dettmers and colleagues introduced QLoRA. Hugging Face PEFT provides an independently maintained implementation interface for LoRA-family adapters.","description":"Low-Rank Adaptation (LoRA) is a parameter-efficient fine-tuning method that freezes a pretrained model's original weights and learns small low-rank update matrices in selected layers. QLoRA combines LoRA with a frozen, quantized base model and backpropagates gradients through that representation into the adapters. Hugging Face PEFT exposes LoRA through a maintained configuration and adapter API. QLoRA is therefore a specific memory-saving training recipe built on LoRA, not a synonym for every quantized model or adapter method.","speculative":false,"maturity":4,"maturity_basis":"LoRA and QLoRA merit maturity 4 as established techniques. Independent research groups published detailed methods and experiments, QLoRA explicitly builds on LoRA, and Hugging Face PEFT documents a maintained implementation with configurable targeting, adapter loading, merging, and multiple LoRA variants. That is concrete adoption evidence beyond the originating papers. The rating describes concept and implementation maturity, not uniform performance across every model; a maturity 5 rating would require stronger cross-stack predictability and long-term compatibility evidence.","pl_status":"🔤","pl_term":"LoRA / QLoRA","pl_comment":"Akronim techniczny","relation_count":4,"references":[["LoRA: Low-Rank Adaptation of Large Language Models","https://arxiv.org/abs/2106.09685","paper"],["QLoRA: Efficient Finetuning of Quantized LLMs","https://arxiv.org/abs/2305.14314","paper"],["PEFT LoRA package reference","https://huggingface.co/docs/peft/main/package_reference/lora","independent_implementation"]],"skill_id":"lora-qlora","editorial":{"id":"lora-qlora","identity":{"canonicalName":"LoRA and QLoRA","aliases":["Low-Rank Adaptation","Quantized Low-Rank Adaptation","low-rank fine-tuning","PEFT LoRA"],"category":"Trening","lifecycle":"established","firstSeenDate":"2021-06-17","firstSeenNote":"The LoRA paper was submitted on 17 June 2021; QLoRA extended the approach with a quantized frozen base model in 2023. Later library documentation is evidence of implementation and adoption, not an origin claim.","originAttribution":"Edward J. Hu and colleagues introduced LoRA; Tim Dettmers and colleagues introduced QLoRA. Hugging Face PEFT provides an independently maintained implementation interface for LoRA-family adapters.","maturity":4},"content":{"definition":{"text":"Low-Rank Adaptation (LoRA) is a parameter-efficient fine-tuning method that freezes a pretrained model's original weights and learns small low-rank update matrices in selected layers. QLoRA combines LoRA with a frozen, quantized base model and backpropagates gradients through that representation into the adapters. Hugging Face PEFT exposes LoRA through a maintained configuration and adapter API. QLoRA is therefore a specific memory-saving training recipe built on LoRA, not a synonym for every quantized model or adapter method.","sourceIds":["s1","s2","s3"]},"originContext":{"text":"Hu and colleagues introduced LoRA in 2021 as a way to adapt large models without storing or updating a full set of task-specific parameters. Their experiments inserted trainable rank-decomposition matrices while keeping pretrained weights fixed. In 2023, Dettmers and colleagues presented QLoRA, which trained LoRA adapters through a frozen 4-bit quantized language model and added NormalFloat 4, double quantization, and paged optimizers. Hugging Face subsequently incorporated configurable LoRA-family support into PEFT, including QLoRA-style targeting of all linear layers.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"These methods reduce the trainable-state and memory burden of adapting a large model. The LoRA paper reported far fewer trainable parameters and lower GPU memory use than full fine-tuning in its evaluated settings, while QLoRA reported fine-tuning a 65-billion-parameter model on one 48 GB GPU. A supported library implementation makes the methods usable through repeatable adapter configurations. The savings concern adaptation and adapter weights; they do not erase the cost of obtaining, loading, evaluating, or serving the base model.","sourceIds":["s1","s2","s3"]},"usageExample":{"text":"A team adapting one language model for two tasks can keep one frozen base checkpoint and train a separate LoRA adapter for each task. In Hugging Face PEFT, a LoraConfig selects the rank, scaling, dropout, and target modules; QLoRA-style training can target all linear layers while using a quantized base representation. An implementation may later load adapters dynamically or merge compatible LoRA weights. Quantizing a model only for serving, without training low-rank adapters, is not QLoRA.","sourceIds":["s1","s2","s3"]},"maturityRationale":{"text":"LoRA and QLoRA merit maturity 4 as established techniques. Independent research groups published detailed methods and experiments, QLoRA explicitly builds on LoRA, and Hugging Face PEFT documents a maintained implementation with configurable targeting, adapter loading, merging, and multiple LoRA variants. That is concrete adoption evidence beyond the originating papers. The rating describes concept and implementation maturity, not uniform performance across every model; a maturity 5 rating would require stronger cross-stack predictability and long-term compatibility evidence.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"Parameter efficiency does not guarantee that an adapted model matches full fine-tuning on every task. Results depend on target layers, rank, data quality, optimization, quantization choices, and the base model. QLoRA's memory and quality findings are experimental results from specified model families and hardware, not universal guarantees. Library support also evolves, so teams should pin compatible versions and test merging and quantization behavior. A combined entry should preserve the methods' distinct definitions and avoid treating all PEFT approaches as LoRA.","sourceIds":["s1","s2","s3"]}},"sources":[{"id":"s1","title":"LoRA: Low-Rank Adaptation of Large Language Models","url":"https://arxiv.org/abs/2106.09685","publisher":"Microsoft Research / arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2021-06-17","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s2","title":"QLoRA: Efficient Finetuning of Quantized LLMs","url":"https://arxiv.org/abs/2305.14314","publisher":"University of Washington / arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2023-05-23","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s3","title":"PEFT LoRA package reference","url":"https://huggingface.co/docs/peft/main/package_reference/lora","publisher":"Hugging Face","quality":"A","role":"independent","kind":"independent_implementation","publishedAt":"2026","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"}],"relations":{"relatedTermIds":["post-training","continuous-pre-training-cpt","model-merging-mergekit-era","distillation"],"relatedSkillIds":["lora-qlora","hugging-face-peft","llm-fine-tuning"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/lora-qlora"]},"seo":{"title":"LoRA and QLoRA: Methods, PEFT Use and Limits","description":"Compare LoRA and QLoRA, how low-rank adapters and 4-bit base weights reduce training memory, and how Hugging Face PEFT implements them."},"updatedAt":"2026-08-27","indexable":true}},{"id":"multi-lora-serving","idx":420,"term":"Multi-LoRA Serving","category":"LLMOps","round":"R4","year":"2023-10-30","author":"Lequn Chen et al. (UW / Punica, MLSys 2024) and Ying Sheng et al. (UC Berkeley & Stanford / S-LoRA, MLSys 2024).","description":"Multi-LoRA serving is an inference architecture that hosts a single frozen base model in GPU memory while dynamically loading, batching, and executing dozens or hundreds of distinct Low-Rank Adaptation (LoRA) adapters across concurrent requests. Using specialized CUDA kernels (such as Segmented Gather Matrix-Vector Multiplication in Punica and S-LoRA) and unified paging for both KV caches and adapter weights, it allows multi-tenant customization at near-single-model memory cost. It solves the memory-duplication bottleneck of deploying separate fine-tuned models, though unmerged adapter routing still introduces measurable latency overhead compared with a single fused model.","speculative":false,"maturity":3,"maturity_basis":"Multi-LoRA serving merits maturity 3: it is validated in peer-reviewed systems conferences (MLSys 2024) and deployed in open-source engines (vLLM, LoRAX, SGLang, TensorRT-LLM) and commercial multi-tenant inference clouds.","pl_status":null,"pl_term":null,"pl_comment":"Keep the canonical English technical term pending specialist Polish localization review.","relation_count":3,"references":[["Punica: Multi-Tenant LoRA Serving","https://arxiv.org/abs/2310.18547","paper"],["S-LoRA: Serving Thousands of Concurrent LoRA Adapters","https://arxiv.org/abs/2311.03285","paper"],["vLLM Automatic Multi-LoRA Serving Documentation","https://docs.vllm.ai/en/latest/features/lora.html","official_docs"]],"skill_id":"lora-qlora","editorial":{"id":"multi-lora-serving","identity":{"canonicalName":"Multi-LoRA Serving","aliases":["Multi-Adapter Serving","S-LoRA","Punica Multi-Tenant LoRA"],"category":"LLMOps","lifecycle":"established","firstSeenDate":"2023-10-30","firstSeenNote":"Chen et al. published Punica on 30 October 2023 (MLSys 2024) and Sheng et al. published S-LoRA on 6 November 2023 (MLSys 2024), establishing batched multi-adapter LLM serving.","originAttribution":"Lequn Chen et al. (UW / Punica, MLSys 2024) and Ying Sheng et al. (UC Berkeley & Stanford / S-LoRA, MLSys 2024).","maturity":3},"content":{"definition":{"text":"Multi-LoRA serving is an inference architecture that hosts a single frozen base model in GPU memory while dynamically loading, batching, and executing dozens or hundreds of distinct Low-Rank Adaptation (LoRA) adapters across concurrent requests. Using specialized CUDA kernels (such as Segmented Gather Matrix-Vector Multiplication in Punica and S-LoRA) and unified paging for both KV caches and adapter weights, it allows multi-tenant customization at near-single-model memory cost. It solves the memory-duplication bottleneck of deploying separate fine-tuned models, though unmerged adapter routing still introduces measurable latency overhead compared with a single fused model.","sourceIds":["s1","s2"]},"originContext":{"text":"Parameter-efficient fine-tuning via LoRA made it cheap to train task-specific or customer-specific adapters, but merging each adapter into the base weights for deployment required a dedicated multi-GPU replica per adapter. In late 2023 (published at MLSys 2024), researchers at the University of Washington introduced Punica with the Segmented Gather Matrix-Vector Multiplication (SGMV) CUDA kernel, while researchers at UC Berkeley and Stanford introduced S-LoRA with Unified Paging for variable-rank adapter weights and KV caches. These mechanisms were subsequently integrated into vLLM, LoRAX, NVIDIA TensorRT-LLM, and commercial serverless fine-tuning platforms.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"Without multi-LoRA batching, serving 100 specialized domain adapters on a 70B base model would either require 100 separate GPU deployments or serialize requests by swapping weights in and out of HBM. Multi-LoRA serving batches the base-model matrix multiplications across all concurrent requests in a single pass and computes only the lightweight low-rank delta (`B(Ax)`) per request via gather-scatter kernels, turning multi-tenant fine-tuning into a shared-infrastructure workload.","sourceIds":["s1","s2"]},"usageExample":{"text":"An enterprise SaaS platform maintains one shared Llama-3-70B base model in GPU HBM alongside 250 tenant-specific LoRA adapters stored in host RAM and NVMe. When a continuous batch contains 32 requests targeting 12 different tenants, vLLM executes the heavy base-model linear projections once for all 32 sequences and invokes Punica/S-LoRA kernels to apply each request’s respective rank-16 adapter weights on the fly.","sourceIds":["s1","s3"]},"maturityRationale":{"text":"Multi-LoRA serving merits maturity 3: it is validated in peer-reviewed systems conferences (MLSys 2024) and deployed in open-source engines (vLLM, LoRAX, SGLang, TensorRT-LLM) and commercial multi-tenant inference clouds.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"Applying unmerged adapters at runtime adds an extra kernel launch and memory-gather step at every adapted linear layer, typically adding 10% to 30% latency compared with merging a single adapter directly into the base weights. High adapter churn across thousands of cold adapters can also bottleneck PCIe host-to-device bandwidth if prefetching fails.","sourceIds":["s2","s3"]}},"sources":[{"id":"s1","title":"Punica: Multi-Tenant LoRA Serving","url":"https://arxiv.org/abs/2310.18547","publisher":"Chen et al. / University of Washington & MLSys 2024 (arXiv)","quality":"A","role":"primary","kind":"paper","publishedAt":"2023-10-30","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s2","title":"S-LoRA: Serving Thousands of Concurrent LoRA Adapters","url":"https://arxiv.org/abs/2311.03285","publisher":"Sheng et al. / UC Berkeley, Stanford & MLSys 2024 (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2023-11-06","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s3","title":"vLLM Automatic Multi-LoRA Serving Documentation","url":"https://docs.vllm.ai/en/latest/features/lora.html","publisher":"vLLM Project","quality":"B","role":"independent","kind":"official_docs","publishedAt":"2024-03-10","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"}],"relations":{"relatedTermIds":["paged-attention","post-training","model-merging-mergekit-era"],"relatedSkillIds":["lora-qlora","llm-inference-serving","inference-optimization","hugging-face-peft","vllm"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/lora-qlora","/atlas/genai-2026/skill/llm-inference-serving"]},"seo":{"title":"Multi-LoRA Serving: vLLM, LoRAX, S-LoRA & Punica Guide","description":"How Multi-LoRA serving hosts hundreds of fine-tuned adapters on one base LLM via SGMV kernels and unified paging across vLLM, LoRAX, S-LoRA and Punica."},"updatedAt":"2026-11-20","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"]}