{"atlas":{"skills":[{"id":"deep-learning","name":"Deep Learning","category":"Deep Learning & Training Paradigms","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Deep learning fits neural networks with multiple learned transformations to build representations and predictions. The skill combines architecture, objective, data and optimization with careful evaluation. It means understanding how a network learns and fails, rather than assuming that greater depth or parameter count produces a better model for a given task.","type":"concept","editorial":{"definition":"A neural network composes parameterized operations and nonlinearities, transforming an input into features and outputs. Training uses a loss and gradients, usually computed by backpropagation, to update parameters. Convolutions, recurrence and attention encode different structures, while regularization and normalization influence fitting. Learned representations can reduce the need for manually specifying every useful feature, but the data and objective still determine what is encouraged. Deep learning includes supervised, self-supervised and generative approaches. The competence is reasoning about how architecture and learning signal match a task, including the distinction between minimizing training loss and generalizing to relevant unseen data.","practice":"Establish a simple baseline and define training examples, target and evaluation boundary. Select an architecture suited to input structure and available resources, then verify shapes, loss and gradient flow on a small case. Monitor training and validation trajectories, tune capacity and regularization and inspect difficult slices. Preserve preprocessing, model configuration and checkpoints. The result is a reproducible model with evidence of task-level quality and resource requirements, plus an explanation of remaining failure modes and the conditions under which retraining or additional evaluation is needed.","example":"In an illustrative image-recognition project, an engineer starts from a pretrained convolutional encoder instead of training a large model from scratch. They compare a frozen representation with partial fine-tuning and evaluate on images from a separate acquisition source. Training accuracy rises rapidly, but errors under different lighting remain. Inspecting those cases leads to changes in data coverage and validation, showing that model depth alone is not the main unresolved issue.","limits":"Networks can overfit, learn shortcuts and remain confident on unfamiliar inputs. Training instability, data leakage and poorly specified losses can produce misleading results. More data or compute cannot automatically repair annotation errors or missing populations. Explanations and saliency methods require careful interpretation. Deep learning differs from the broader field of machine learning and from any one architecture. Evaluate generalization, robustness and operational cost, and distinguish empirical improvements on a task from claims about universal capability.","sources":[{"title":"PyTorch: Learn the Basics","url":"https://docs.pytorch.org/tutorials/beginner/basics/intro.html","note":"Neural modules, gradient-based fitting and evaluation workflow."},{"title":"Dive into Deep Learning: Convolutional Neural Networks","url":"https://d2l.ai/chapter_convolutional-neural-networks/index.html","note":"Learned representations and architecture-dependent input structure."}],"updatedAt":"2026-10-23"}},{"id":"transformer-architecture","name":"Transformer Architecture","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"The Transformer architecture models relationships using attention alongside learned transformations and positional information. It underpins encoder, decoder and encoder–decoder systems for many tasks. The skill is understanding attention masks, representation flow and runtime costs, so the selected architecture and input format match what information is available when a prediction is made.","type":"concept","editorial":{"definition":"Attention forms weighted combinations of value representations using relationships between queries and keys. Multiple heads learn different projection spaces, while feed-forward blocks, residual connections and normalization transform and stabilize representations. Positional information gives the model access to order that attention alone does not encode. Encoders can attend across an input, causal decoders restrict attention to preceding positions and encoder–decoder models connect an input representation to generated output. These variants have different task and leakage implications. KV caching reuses prior key and value computations during suitable autoregressive inference, but is an execution mechanism rather than the defining concept of a Transformer.","practice":"Choose encoder, causal decoder or encoder–decoder structure from the task. Verify masks, positional handling, padding and token alignment before training or inference. Inspect context-length and memory behavior and compare attention implementations only with behavioral checks. For generation, understand cache state and how decoding settings interact with the model. The deliverable should document architecture and input contracts with evaluation on relevant sequences, including evidence that future or padded information is not unintentionally available and that runtime optimization preserves the intended prediction behavior.","example":"For an illustrative language-understanding classifier, an engineer uses a bidirectional encoder over complete messages. A separate next-token experiment instead applies a causal mask, preventing access to future tokens. The engineer checks both tasks on short synthetic sequences where information flow is easy to inspect. During autoregressive inference, caching reduces repeated computation, but cached and uncached outputs are compared under controlled settings before the optimization is accepted.","limits":"Attention weights are not automatically faithful explanations or causal contributions. Context size and memory grow with architecture and implementation, and position handling may weaken on lengths unlike training. Incorrect masks can produce excellent but leaked results. Transformer architecture is distinct from a particular pretrained language model and does not imply generation, reasoning or multimodal support by itself. Check information flow and the full input-processing contract, and assess optimized attention or caching under the exact workload rather than relying on architectural labels.","sources":[{"title":"Attention Is All You Need","url":"https://arxiv.org/abs/1706.03762","note":"Multi-head attention, positional encoding and encoder–decoder architecture."}],"updatedAt":"2026-10-23"}},{"id":"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"}},{"id":"synthetic-data-generation","name":"Synthetic Data Generation","category":"Structured Generation & Decoding","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Synthetic data generation creates examples using a model or a programmed process rather than collecting each example directly from the target setting. In language-model applications, it can produce demonstrations, test cases or training records, but usefulness depends on validation and coverage rather than the volume generated.","type":"concept","editorial":{"definition":"A generator receives a specification, seed examples, source material or a sampling procedure and produces candidate records. Those records may be labeled by construction, reviewed by people, checked against executable rules, or evaluated with another model. Synthetic data is a property of how data was created, not a training method in itself. The same generated records can support supervised training, preference comparisons or evaluation. Grounding generation in real documents can preserve domain facts, while deliberately varying situations can explore rare cases that ordinary sampling would miss.","practice":"Work begins with a target distribution and a reason that existing data is insufficient. The practitioner designs generation instructions, records provenance, filters duplicates and invalid labels, and audits a sample before using the result. Training and evaluation records need separate construction paths to avoid circular success. Useful deliverables include a generation recipe, acceptance rules, a coverage table and a comparison against a model trained without the synthetic addition. Sensitive seed material also needs review before it is propagated into generated examples.","example":"A team building a document classifier has many ordinary purchase orders but few examples of canceled orders. It generates fictional orders with explicit cancellation language and varied layouts, checks that required fields and labels agree, and asks reviewers to inspect unusual cases. The resulting examples supplement the real training set. A held-out collection of genuine documents then tests whether the classifier learned cancellation evidence or merely the generator's preferred wording and formatting.","limits":"Generated data can amplify the generator's mistakes, hide distribution gaps and create misleading diversity through superficial rewording. A second model agreeing with a label is not independent ground truth. Repeated training on model-produced material can also change the distribution in undesirable ways. Synthetic records should be labeled as such, evaluated on realistic external data and checked for memorized source content. More examples are useful only when they add reliable information relevant to the intended task.","sources":[{"title":"Self-Instruct: Aligning Language Models with Self-Generated Instructions","url":"https://arxiv.org/abs/2212.10560","note":"Describes generating and filtering instruction data for language-model adaptation."},{"title":"The Curse of Recursion: Training on Generated Data Makes Models Forget","url":"https://arxiv.org/abs/2305.17493","note":"Examines distributional risks from recursively using model-generated training data."}],"updatedAt":"2026-10-10"}},{"id":"training-data-curation","name":"Training Data Curation","category":"Dataset Curation","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Training data curation selects and prepares examples that teach a model the intended task or behavior. For supervised fine-tuning, it aligns inputs, target responses and training loss with the desired deployment, while controlling duplicates, inconsistent instructions and examples that teach behavior the application should not reproduce.","type":"concept","editorial":{"definition":"Fine-tuning learns from the examples and objective presented to it, so formatting and content choices directly influence the behavior being reinforced. Conversational datasets distinguish roles and turns; loss masking can determine which tokens contribute to training. A fluent response is not necessarily a good target if it contains unsupported claims or violates the intended policy. Curation therefore examines task coverage, response quality and consistency as well as file validity. It differs from evaluation data engineering because these examples are consumed by training and should not also serve as independent evidence of the model's final performance.","practice":"The practitioner specifies target behaviors, reviews candidate examples and normalizes them into the format expected by the trainer. They check role boundaries, truncation, duplicate clusters and which tokens receive loss. Useful artifacts include selection rules, a dataset version and quality audits across task categories. Validation examples are kept separate from training, and the team records excluded behaviors or gaps. When synthetic examples are used, they inspect factual and stylistic errors rather than assuming a stronger generator provides correct supervision automatically.","example":"A team fine-tunes an assistant to extract product attributes from technical descriptions. Some examples contain helpful explanations mixed into the target JSON, while others invent unavailable attributes. Reviewers replace these with valid task outputs and explicit missing-value handling. They also check that long descriptions do not truncate away the response. A separate evaluation set measures performance on new product families and deliberately incomplete descriptions.","limits":"Better-looking examples can still reduce useful diversity or overrepresent an annotator's preferences. Training on repeated templates may produce brittle behavior, and source overlap can contaminate evaluation. Curation cannot compensate for every limitation of the base model or training objective. The quality check links dataset changes to held-out behavior and retains enough provenance to investigate regressions, rather than relying only on average response length or apparent fluency.","sources":[{"title":"Hugging Face TRL: SFT Trainer","url":"https://huggingface.co/docs/trl/sft_trainer","note":"Official dataset formats, conversational training and supervised 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":"Direct Preference Optimization","subject_id":"direct-preference-optimization","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Distributed Training","subject_id":"distributed-training","relation":"is part of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Fine-Tuning Evaluation","subject_id":"fine-tuning-evaluation","relation":"is part of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Hugging Face PEFT","subject_id":"hugging-face-peft","relation":"is an instance of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"LLM Fine-Tuning","subject_id":"llm-fine-tuning","relation":"is subcategory of","object":"Model Fine-Tuning","object_id":"model-fine-tuning"},{"subject":"LoRA / QLoRA","subject_id":"lora-qlora","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"RLHF","subject_id":"rlhf","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Supervised Fine-Tuning (SFT)","subject_id":"supervised-fine-tuning-sft","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Synthetic Data Generation","subject_id":"synthetic-data-generation","relation":"is part of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Training Data Curation","subject_id":"training-data-curation","relation":"is part of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Unsloth","subject_id":"unsloth","relation":"is an instance of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Instruction Tuning","subject_id":"instruction-tuning","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"}],"prerequisites":[{"skill":"LLM Fine-Tuning","skill_id":"llm-fine-tuning","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"SFT is supervised training of a neural network — you need DL fundamentals (loss functions, learning rate, overfitting) to do it well"},{"skill":"LLM Fine-Tuning","skill_id":"llm-fine-tuning","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"SFT trains a Transformer model — understanding the architecture is essential for diagnosing training issues"},{"skill":"LLM Fine-Tuning","skill_id":"llm-fine-tuning","prerequisite":"Training Data Curation","prerequisite_id":"training-data-curation","strength":"hard","rationale":"SFT quality is determined by data quality — dataset curation is the gating factor for fine-tuning success"}],"fieldNotes":{},"fieldNotesVersion":"2026-10-10"},"glossary":{"version":"2026-06-26+editorial-glossary-2026-01","count":5,"categories":["Agentownosc","Debata","Inne","Karpathy","Kultura","LLMOps","Produkty","Regulacje","Safety","Trening"],"entries":[{"id":"dpo","idx":2,"term":"Direct Preference Optimization (DPO)","category":"Trening","round":"R1","year":"2023-05-29","author":"Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn introduced DPO.","description":"Direct Preference Optimization (DPO) is a post-training method that adjusts a language model from pairs of preferred and rejected responses. It rewrites the reward-maximization objective used in preference learning as a classification-style loss over those pairs, while regularizing against a reference policy. Unlike the classic reinforcement-learning-from-human-feedback pipeline, basic DPO does not train a separate explicit reward model and then optimize it with PPO.","speculative":false,"maturity":4,"maturity_basis":"Maturity is rated 4. DPO has a reproducible primary formulation, maintained implementation support in a widely used training library, and a substantial independent survey covering many extensions. The method is established rather than experimental shorthand. It remains below 5 because results are sensitive to data and hyperparameters, variants make the label less uniform, and evidence does not establish predictable superiority across every preference-learning task.","pl_status":"🔤","pl_term":"DPO","pl_comment":"Akronim; rozwinięcie \"bezpośrednia optymalizacja preferencji\" pojawia się rzadko","relation_count":5,"references":[["Direct Preference Optimization: Your Language Model is Secretly a Reward Model","https://arxiv.org/abs/2305.18290","paper"],["DPO Trainer","https://huggingface.co/docs/trl/en/dpo_trainer","independent_implementation"],["A Comprehensive Survey of Direct Preference Optimization: Datasets, Theories, Variants, and Applications","https://arxiv.org/abs/2410.15595","paper"]],"skill_id":"direct-preference-optimization","editorial":{"id":"dpo","identity":{"canonicalName":"Direct Preference Optimization (DPO)","aliases":["Direct Preference Optimization","DPO","DPO training"],"category":"Trening","lifecycle":"established","firstSeenDate":"2023-05-29","firstSeenNote":"Rafailov and colleagues submitted the paper that introduced Direct Preference Optimization on 29 May 2023. Later trainer documentation and surveys are evidence of implementation and continued research, not earlier origin claims.","originAttribution":"Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn introduced DPO.","maturity":4},"content":{"definition":{"text":"Direct Preference Optimization (DPO) is a post-training method that adjusts a language model from pairs of preferred and rejected responses. It rewrites the reward-maximization objective used in preference learning as a classification-style loss over those pairs, while regularizing against a reference policy. Unlike the classic reinforcement-learning-from-human-feedback pipeline, basic DPO does not train a separate explicit reward model and then optimize it with PPO.","sourceIds":["s1","s2","s3"]},"originContext":{"text":"Rafailov and colleagues introduced DPO in a paper submitted in May 2023. They derived a mapping between reward functions and optimal policies that permits preference optimization with a simple loss and reported competitive results on their evaluated tasks. DPO subsequently became a named family of alignment methods: Hugging Face TRL exposes a maintained DPOTrainer, while a later survey organizes theoretical analyses, variants, applications, and limitations.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"DPO can make preference-based post-training operationally simpler because one training stage replaces the explicit reward-model-plus-reinforcement-learning sequence. That reduces pipeline complexity, but it does not make alignment automatic. Teams still need representative preference data, a defensible reference policy, evaluation against regressions, and monitoring for reward hacking or narrow optimization. The chosen loss, data distribution, annotator process, and model family can materially change behavior and safety outcomes.","sourceIds":["s1","s2","s3"]},"usageExample":{"text":"Suppose reviewers compare two answers to each support question and mark the safer, more useful answer. A DPO dataset stores the prompt, chosen response, and rejected response. A trainer then increases the relative likelihood of the chosen response while constraining movement from the reference model. If the team instead fits a scalar reward model from those comparisons and optimizes that score with PPO, it is using the classic RLHF pipeline rather than basic DPO.","sourceIds":["s1","s2"]},"maturityRationale":{"text":"Maturity is rated 4. DPO has a reproducible primary formulation, maintained implementation support in a widely used training library, and a substantial independent survey covering many extensions. The method is established rather than experimental shorthand. It remains below 5 because results are sensitive to data and hyperparameters, variants make the label less uniform, and evidence does not establish predictable superiority across every preference-learning task.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"DPO learns from the preferences it is given; biased, noisy, or strategically chosen comparisons can produce undesirable policies. Simpler optimization does not remove distribution shift, overfitting, evaluation leakage, or the possibility that improvements on one preference set reduce capabilities elsewhere. Implementations also offer alternative losses and reference-free settings, so a result described as DPO should document the exact objective, beta, data construction, reference model, and evaluation protocol.","sourceIds":["s2","s3"]}},"sources":[{"id":"s1","title":"Direct Preference Optimization: Your Language Model is Secretly a Reward Model","url":"https://arxiv.org/abs/2305.18290","publisher":"Stanford University / arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2023-05-29","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s2","title":"DPO Trainer","url":"https://huggingface.co/docs/trl/en/dpo_trainer","publisher":"Hugging Face","quality":"A","role":"independent","kind":"independent_implementation","publishedAt":"2026","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s3","title":"A Comprehensive Survey of Direct Preference Optimization: Datasets, Theories, Variants, and Applications","url":"https://arxiv.org/abs/2410.15595","publisher":"Independent research collaboration / arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2024-10-21","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"}],"relations":{"relatedTermIds":["rlhf","rlvr","post-training","reward-hacking","open-character-training"],"relatedSkillIds":["direct-preference-optimization","reward-modeling","llm-fine-tuning"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/direct-preference-optimization"]},"seo":{"title":"Direct Preference Optimization (DPO): Guide","description":"Learn how Direct Preference Optimization trains language models from chosen and rejected responses, how it differs from classic RLHF, and where it can fail."},"updatedAt":"2026-09-07","indexable":true}},{"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":"post-training","idx":17,"term":"Post-training","category":"Trening","round":"R1","year":"2019-04-03","author":"No single person is credited with coining post-training. Xu and colleagues documented a language-model use in 2019, Ke and colleagues described Continual PostTraining in 2022, and later work broadened the term to multi-stage instruction and preference training.","description":"Post-training is the set of weight-updating stages applied after a foundation model's broad pretraining. For language models it commonly includes supervised instruction tuning, preference optimization such as DPO or RLHF, reinforcement learning with verifiable rewards, and targeted safety or capability training. It is a phase of model development, not one fixed algorithm, and it is distinct from prompting or retrieval performed only at inference time.","speculative":false,"maturity":3,"maturity_basis":"Maturity is rated 3. Multiple independent organizations use the term, and Tulu 3 provides an open implementation and evaluation record for a multi-stage recipe. The label is established but not standardized: organizations draw its boundary differently, individual methods evolve quickly, and public evidence rarely reveals the complete proprietary pipeline. Those variations make a stronger maturity claim premature.","pl_status":"🆕","pl_term":"post-trening","pl_comment":"Naturalna kalka, używana","relation_count":5,"references":[["GPT-4","https://openai.com/index/gpt-4-research/","source_announcement"],["Tulu 3: Pushing Frontiers in Open Language Model Post-Training","https://arxiv.org/abs/2411.15124","paper"],["Machine Learning Glossary: post-trained model","https://developers.google.com/machine-learning/glossary#post-trained_model","official_docs"],["Continual Training of Language Models for Few-Shot Learning","https://arxiv.org/abs/2210.05549","paper"],["BERT Post-Training for Review Reading Comprehension and Aspect-based Sentiment Analysis","https://arxiv.org/abs/1904.02232","paper"]],"skill_id":"model-training","editorial":{"id":"post-training","identity":{"canonicalName":"Post-training","aliases":["LLM post-training","language model post-training","post-training phase"],"category":"Trening","lifecycle":"established","firstSeenDate":"2019-04-03","firstSeenNote":"Xu and colleagues used BERT post-training for domain adaptation in a paper submitted on 3 April 2019. This is the earliest verified language-model use in the reviewed evidence, not a coinage claim.","originAttribution":"No single person is credited with coining post-training. Xu and colleagues documented a language-model use in 2019, Ke and colleagues described Continual PostTraining in 2022, and later work broadened the term to multi-stage instruction and preference training.","maturity":3},"content":{"definition":{"text":"Post-training is the set of weight-updating stages applied after a foundation model's broad pretraining. For language models it commonly includes supervised instruction tuning, preference optimization such as DPO or RLHF, reinforcement learning with verifiable rewards, and targeted safety or capability training. It is a phase of model development, not one fixed algorithm, and it is distinct from prompting or retrieval performed only at inference time.","sourceIds":["s1","s2","s3"]},"originContext":{"text":"Xu and colleagues used BERT post-training in 2019 for domain adaptation before task fine-tuning. Ke and colleagues used posttraining in 2022 for continual adaptation to unlabeled domain corpora. OpenAI's 2023 GPT-4 materials then contrasted pretraining with a behavior-shaping post-training process, while Tulu 3 in 2024 published a reproducible multi-stage recipe spanning supervised fine-tuning, DPO, and RLVR. These uses document an expanding scope without establishing a single originator.","sourceIds":["s5","s4","s1","s2"]},"whyItMatters":{"text":"Pretraining produces a model that predicts likely continuations; post-training can make that base model follow instructions, prefer useful responses, acquire specialized behaviors, or comply more reliably with a product's policies. The phase therefore strongly affects the behavior users experience. It also concentrates difficult choices about training data, reward signals, evaluators, regressions, and trade-offs between helpfulness, safety, calibration, and retained capabilities.","sourceIds":["s1","s2","s3"]},"usageExample":{"text":"A team may start with a pretrained language model, run supervised fine-tuning on demonstrations, optimize it on chosen-versus-rejected answers, and finally use rule-checkable tasks for reinforcement learning. Those stages together form a post-training recipe. Serving the resulting model with a longer prompt or a retrieval system changes its inputs at runtime and is not, by itself, post-training.","sourceIds":["s2","s3"]},"maturityRationale":{"text":"Maturity is rated 3. Multiple independent organizations use the term, and Tulu 3 provides an open implementation and evaluation record for a multi-stage recipe. The label is established but not standardized: organizations draw its boundary differently, individual methods evolve quickly, and public evidence rarely reveals the complete proprietary pipeline. Those variations make a stronger maturity claim premature.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"Post-training does not guarantee alignment, factuality, or durable capability gains. Outcomes depend on the base model, data coverage, reward design, sampling policy, and evaluation protocol. A method can improve one benchmark while harming calibration or another behavior, and a published recipe may not transfer to a different model family. Reports should name the exact stages and datasets instead of using post-training as an unexplained catch-all.","sourceIds":["s1","s2"]}},"sources":[{"id":"s1","title":"GPT-4","url":"https://openai.com/index/gpt-4-research/","publisher":"OpenAI","quality":"A","role":"primary","kind":"source_announcement","publishedAt":"2023-03-14","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"},{"id":"s2","title":"Tulu 3: Pushing Frontiers in Open Language Model Post-Training","url":"https://arxiv.org/abs/2411.15124","publisher":"Allen Institute for AI / arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2024-11-22","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"},{"id":"s3","title":"Machine Learning Glossary: post-trained model","url":"https://developers.google.com/machine-learning/glossary#post-trained_model","publisher":"Google for Developers","quality":"A","role":"independent","kind":"official_docs","publishedAt":"2026","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"},{"id":"s4","title":"Continual Training of Language Models for Few-Shot Learning","url":"https://arxiv.org/abs/2210.05549","publisher":"EMNLP / arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2022-10-11","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"},{"id":"s5","title":"BERT Post-Training for Review Reading Comprehension and Aspect-based Sentiment Analysis","url":"https://arxiv.org/abs/1904.02232","publisher":"NAACL / arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2019-04-03","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"}],"relations":{"relatedTermIds":["rlhf","dpo","rlvr","distillation","mid-training"],"relatedSkillIds":["model-training","llm-fine-tuning","supervised-fine-tuning-sft"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/model-training"]},"seo":{"title":"Post-training for Language Models: Guide","description":"Learn what post-training does after pretraining, which methods it can include, how it shapes model behavior, and why evaluation still matters."},"updatedAt":"2026-09-03","indexable":true}},{"id":"open-character-training","idx":329,"term":"Open Character Training","category":"Trening","round":"R3","year":"2025-11-03","author":"Sharan Maiya, Henning Bartsch, Nathan Lambert and Evan Hubinger introduced the named Open Character Training pipeline.","description":"Open Character Training (OCT) is a named open-weight post-training pipeline for making an assistant express a selected persona without an inference-time character prompt. It starts from a short first-person constitution, distils constitution-conditioned teacher responses into a student with direct preference optimization (DPO), then applies supervised fine-tuning (SFT) to synthetic self-reflections and self-interactions generated from the intermediate model.","speculative":true,"maturity":3,"maturity_basis":"Maturity is 3. OCT has a dated specification, open code and artifacts, an independent workshop study that uses it as a named experimental pipeline, and independent reimplementations. It is not rated higher because the originating work remains publicly verifiable as an arXiv preprint, independent evaluation is narrow, and no standard or broad production adoption was found.","pl_status":null,"pl_term":null,"pl_comment":"The inherited field contains only a missing-translation placeholder. Preserve the English proper name and acronym until a Polish-language reviewer approves a localization.","relation_count":5,"references":[["Open Character Training: Shaping the Persona of AI Assistants through Constitutional AI","https://arxiv.org/abs/2511.01689","paper"],["Open Character Training source repository","https://github.com/maiush/OpenCharacterTraining","repository"],["Claude's Character","https://www.anthropic.com/research/claude-character","source_announcement"],["EigenBench: A Comparative Behavioral Measure of Value Alignment, version 4","https://arxiv.org/abs/2509.01938","paper"],["Side Effects of Character Training: Quantifying Cross-Constitution Drift in LLMs","https://www.sauravpanigrahi.com/artifact/side-effects-character-training.pdf","paper"],["Open Character Training: Replication and Extension","https://github.com/moehlrt/open-character-training","independent_implementation"],["Training language models to be warm can reduce accuracy and increase sycophancy","https://www.nature.com/articles/s41586-026-10410-0","paper"],["OpenCharacter: Training Customizable Role-Playing LLMs with Large-Scale Synthetic Personas","https://arxiv.org/abs/2501.15427","paper"]],"skill_id":"model-training","editorial":{"id":"open-character-training","identity":{"canonicalName":"Open Character Training","aliases":["OCT"],"category":"Trening","lifecycle":"established","firstSeenDate":"2025-11-03","firstSeenNote":"Sharan Maiya and collaborators submitted the first public Open Character Training preprint to arXiv on 3 November 2025 and released its implementation, data and adapters.","originAttribution":"Sharan Maiya, Henning Bartsch, Nathan Lambert and Evan Hubinger introduced the named Open Character Training pipeline.","maturity":3},"content":{"definition":{"text":"Open Character Training (OCT) is a named open-weight post-training pipeline for making an assistant express a selected persona without an inference-time character prompt. It starts from a short first-person constitution, distils constitution-conditioned teacher responses into a student with direct preference optimization (DPO), then applies supervised fine-tuning (SFT) to synthetic self-reflections and self-interactions generated from the intermediate model.","sourceIds":["s1","s2"]},"originContext":{"text":"Anthropic publicly described the broader practice of character training in June 2024 for Claude 3. Maiya, Bartsch, Lambert and Hubinger introduced OCT on 3 November 2025 as an open, reproducible implementation with eleven constitutions across Llama, Qwen and Gemma models. They released training code, data and LoRA adapters. The proper name identifies this recipe; it does not cover every persona-training method.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"OCT turns an otherwise opaque industrial practice into a testable baseline: researchers can inspect constitutions, rerun stages and compare weight-level persona shaping with prompting or activation steering. A peer-reviewed EigenBench paper uses an OCT-trained model as a validation target. Independent work at the ICML 2026 Pluralistic Alignment workshop then used OCT models and checkpoints to measure cross-constitution drift, showing why evaluation cannot stop at the target trait. A separate implementation reproduces and extends the recipe on another training stack.","sourceIds":["s2","s8","s4","s5"]},"usageExample":{"text":"A team might write a constitution for candour, generate matched teacher and student responses, train a DPO adapter, then continue with self-reflection and self-interaction SFT. A responsible evaluation would compare the base, DPO and final checkpoints on candour, factual accuracy, sycophancy, unrelated traits and adversarial prompts. It would report the exact constitution, model, data, judge and seeds rather than treating a single persona score as proof of alignment.","sourceIds":["s1","s4","s6"]},"distinctions":[{"termId":"constitutional-ai","explanation":{"text":"Constitutional AI is the broader family of methods that uses written principles to supervise model behavior. OCT adapts that idea to first-person character assertions and adds a specific DPO-plus-introspective-SFT pipeline.","sourceIds":["s1","s3"]}},{"termId":"dpo","explanation":{"text":"DPO is one optimization stage within OCT. Using DPO alone does not constitute the full OCT recipe, which also requires a character constitution, synthetic-data generation and introspective SFT.","sourceIds":["s1","s2"]}},{"termId":"feature-steering","explanation":{"text":"Feature steering changes activations at inference time. OCT changes weights through fine-tuning; the originating paper compares the two but does not make them interchangeable.","sourceIds":["s1"]}}],"maturityRationale":{"text":"Maturity is 3. OCT has a dated specification, open code and artifacts, an independent workshop study that uses it as a named experimental pipeline, and independent reimplementations. It is not rated higher because the originating work remains publicly verifiable as an arXiv preprint, independent evaluation is narrow, and no standard or broad production adoption was found.","sourceIds":["s1","s2","s8","s4","s5"]},"limitations":{"text":"The original results rely heavily on synthetic data, model-based judges and small open-weight models. Its five capability benchmarks do not establish general capability preservation, and the authors' deliberately misaligned persona did lose performance. Independent OCT evaluation uses one main base model and reports collateral trait shifts, while peer-reviewed Nature work finds that a different warmth-SFT setup can increase error and sycophancy; that result motivates broader auditing but is not a direct OCT replication. `OpenCharacter`, despite its similar name, is an unrelated role-playing SFT system.","sourceIds":["s1","s4","s6","s7"]}},"sources":[{"id":"s1","title":"Open Character Training: Shaping the Persona of AI Assistants through Constitutional AI","url":"https://arxiv.org/abs/2511.01689","publisher":"Maiya et al. / arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2025-11-03","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s2","title":"Open Character Training source repository","url":"https://github.com/maiush/OpenCharacterTraining","publisher":"Open Character Training authors","quality":"A","role":"primary","kind":"repository","publishedAt":"2025","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s3","title":"Claude's Character","url":"https://www.anthropic.com/research/claude-character","publisher":"Anthropic","quality":"A","role":"background","kind":"source_announcement","publishedAt":"2024-06-08","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s8","title":"EigenBench: A Comparative Behavioral Measure of Value Alignment, version 4","url":"https://arxiv.org/abs/2509.01938","publisher":"Chang et al. / arXiv; published at ICLR 2026","quality":"B","role":"independent","kind":"paper","publishedAt":"2026-03-01","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s4","title":"Side Effects of Character Training: Quantifying Cross-Constitution Drift in LLMs","url":"https://www.sauravpanigrahi.com/artifact/side-effects-character-training.pdf","publisher":"ICML 2026 Workshop on Pluralistic Alignment","quality":"B","role":"independent","kind":"paper","publishedAt":"2026","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s5","title":"Open Character Training: Replication and Extension","url":"https://github.com/moehlrt/open-character-training","publisher":"Moritz Ehlert","quality":"B","role":"independent","kind":"independent_implementation","publishedAt":"2026","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s6","title":"Training language models to be warm can reduce accuracy and increase sycophancy","url":"https://www.nature.com/articles/s41586-026-10410-0","publisher":"Nature","quality":"B","role":"independent","kind":"paper","publishedAt":"2026-04-29","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s7","title":"OpenCharacter: Training Customizable Role-Playing LLMs with Large-Scale Synthetic Personas","url":"https://arxiv.org/abs/2501.15427","publisher":"Wang et al. / arXiv","quality":"A","role":"background","kind":"paper","publishedAt":"2025-01-26","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"}],"relations":{"relatedTermIds":["constitutional-ai","dpo","post-training","feature-steering","sycophancy"],"relatedSkillIds":["model-training","direct-preference-optimization","llm-fine-tuning","supervised-fine-tuning-sft","fine-tuning-evaluation"],"inboundPaths":["/glossary","/glossary/term/dpo","/atlas/genai-2026/skill/llm-fine-tuning"]},"seo":{"title":"Open Character Training (OCT) Explained","description":"How Open Character Training combines constitutions, DPO and introspective SFT, how it differs from prompting, and what independent tests reveal."},"updatedAt":"2026-09-07","indexable":true}},{"id":"machine-unlearning","idx":429,"term":"Machine Unlearning","category":"Safety","round":"R4","year":"2019-12-09","author":"Lucas Bourtoule et al. (University of Toronto & Vector Institute, IEEE S&P 2021); adapted to LLMs by Ronen Eldan & Mark Russinovich (Microsoft Research, 2023) and Center for AI Safety (WMDP/RMU, 2024).","description":"Machine unlearning is the collection of algorithmic methods designed to selectively remove the influence of specific training examples, personal data, copyrighted material, or hazardous capabilities from a trained model's weights without retraining the model from scratch. In large language models, approximate unlearning techniques—such as gradient ascent, representation misdirection, or targeted preference optimization—aim to make the model behave as if the target data were never seen. However, empirical audits show that many unlearning methods merely suppress surface outputs rather than erasing internal representations, leaving knowledge recoverable via adversarial probing or fine-tuning.","speculative":false,"maturity":3,"maturity_basis":"Machine unlearning merits maturity 3: it is backed by NeurIPS/ICML/IEEE S&P benchmarks (TOFU, WMDP, MUSE) and open-source toolkits, with well-documented empirical boundaries distinguishing exact from approximate unlearning.","pl_status":null,"pl_term":null,"pl_comment":"Keep the canonical English technical term pending specialist Polish localization review.","relation_count":3,"references":[["Machine Unlearning (SISA Training)","https://arxiv.org/abs/1912.03817","paper"],["The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning","https://arxiv.org/abs/2403.03218","paper"],["Eight Methods to Evaluate Robust Unlearning in LLMs","https://arxiv.org/abs/2402.16835","paper"]],"skill_id":"ai-data-security","editorial":{"id":"machine-unlearning","identity":{"canonicalName":"Machine Unlearning","aliases":["LLM Unlearning","Approximate Machine Unlearning","Knowledge Unlearning in LLMs"],"category":"Safety","lifecycle":"established","firstSeenDate":"2019-12-09","firstSeenNote":"Bourtoule et al. formalized Machine Unlearning (SISA training) on 9 December 2019 (IEEE S&P 2021); Eldan & Russinovich (2023), the WMDP/RMU benchmark (2024), and Lynch et al. (2024) adapted and audited approximate unlearning in LLMs.","originAttribution":"Lucas Bourtoule et al. (University of Toronto & Vector Institute, IEEE S&P 2021); adapted to LLMs by Ronen Eldan & Mark Russinovich (Microsoft Research, 2023) and Center for AI Safety (WMDP/RMU, 2024).","maturity":3},"content":{"definition":{"text":"Machine unlearning is the collection of algorithmic methods designed to selectively remove the influence of specific training examples, personal data, copyrighted material, or hazardous capabilities from a trained model's weights without retraining the model from scratch. In large language models, approximate unlearning techniques—such as gradient ascent, representation misdirection, or targeted preference optimization—aim to make the model behave as if the target data were never seen. However, empirical audits show that many unlearning methods merely suppress surface outputs rather than erasing internal representations, leaving knowledge recoverable via adversarial probing or fine-tuning.","sourceIds":["s1","s2"]},"originContext":{"text":"Exact machine unlearning was formalized by Bourtoule et al. in December 2019 (IEEE S&P 2021) via SISA (Sharded, Isolated, Sliced, and Aggregated) training to satisfy GDPR right-to-be-forgotten requests in classical ML. Because retraining or sharding a trillion-parameter LLM is economically infeasible, researchers developed post-hoc approximate LLM unlearning: Eldan and Russinovich’s \"Who’s Harry Potter?\" study (2023), Maini et al.’s TOFU benchmark (2024), and Li et al.’s Representation Misdirection for Unlearning (RMU) on the WMDP biosecurity/cybersecurity benchmark (ICML 2024). Subsequently, red-team audits by Lynch et al. and Łucki et al. (2024) showed that unlearned knowledge could be recovered within a few fine-tuning steps or via latent-space probes.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"Model developers face dual pressures: removing memorized PII or copyrighted books after pretraining, and removing dual-use CBRN or cyber-offense knowledge before releasing open-weight checkpoints. Understanding the difference between true information erasure and shallow refusal suppression is critical so governance teams do not treat approximate unlearning as an irreversible security guarantee, especially for open-weight models.","sourceIds":["s1","s2"]},"usageExample":{"text":"Before releasing an open-weight model, a safety team runs Representation Misdirection for Unlearning (RMU) on a forget set of hazardous virology protocols while regularizing against a benign biology retain set. To audit whether the knowledge was genuinely removed or merely masked, evaluators run benign fine-tuning attacks, few-shot relearning, and linear probes on intermediate layer activations.","sourceIds":["s1","s3"]},"maturityRationale":{"text":"Machine unlearning merits maturity 3: it is backed by NeurIPS/ICML/IEEE S&P benchmarks (TOFU, WMDP, MUSE) and open-source toolkits, with well-documented empirical boundaries distinguishing exact from approximate unlearning.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"For open-weight LLMs, current approximate unlearning methods do not provide cryptographic or information-theoretic erasure guarantees: fine-tuning on a handful of loosely related examples, quantizing weights, or applying activation steering frequently restores the supposedly forgotten facts.","sourceIds":["s2","s3"]}},"sources":[{"id":"s1","title":"Machine Unlearning (SISA Training)","url":"https://arxiv.org/abs/1912.03817","publisher":"Bourtoule et al. / IEEE Symposium on Security and Privacy 2021 (arXiv)","quality":"A","role":"primary","kind":"paper","publishedAt":"2019-12-09","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s2","title":"The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning","url":"https://arxiv.org/abs/2403.03218","publisher":"Li et al. / Center for AI Safety & ICML 2024 (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2024-03-05","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s3","title":"Eight Methods to Evaluate Robust Unlearning in LLMs","url":"https://arxiv.org/abs/2402.16835","publisher":"Lynch et al. (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2024-02-26","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"}],"relations":{"relatedTermIds":["jailbreaking","capability-elicitation","eu-ai-act"],"relatedSkillIds":["ai-data-security","eu-ai-act-compliance","llm-fine-tuning","ai-risk-management"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/ai-data-security","/atlas/genai-2026/skill/eu-ai-act-compliance"]},"seo":{"title":"Machine Unlearning in Large Language Models","description":"Learn how machine unlearning attempts to remove personal data, copyright text, or hazardous capabilities from LLM weights—and why it often fails audits."},"updatedAt":"2026-10-19","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"]}