# LLM शब्दावली

> भाषा मॉडल के शब्दों की सरल परिभाषाएँ और विस्तृत पाठों के लिंक।

- URL: https://dmxsf.com/hi/glossary/
- कुल 476 शब्द

## 4

### 4-bit NormalFloat (NF4)

QLoRA का 4-bit data type: 16 मान standard normal distribution के quantiles से लिए जाते हैं, [-1, 1] में फिर पैमाना बदला जाता है और सही शून्य शामिल होता है, जो लगभग सामान्य वितरित weights के अनुकूल है। 64 weights का हर block एक scale साझा करता है; QLoRA उन scales को भी दूसरी बार quantize करता है (double quantization) और ओवरहेड और घटाता है।

- पूरा पाठ पढ़ें: [LoRA fine-tuning ka practical guide](https://dmxsf.com/hi/wiki/post-training/lora-finetuning/)
- यह भी देखें: [QLoRA](https://dmxsf.com/hi/glossary/#qlora), [Quantization](https://dmxsf.com/hi/glossary/#quantization), [LoRA](https://dmxsf.com/hi/glossary/#lora)

### 4D parallelism

प्रशिक्षण को एक साथ चार dimensions में बाँटना: tensor (TP), context (CP), pipeline (PP) और data parallelism (DP, प्रायः FSDP)। Llama 3 क्रम [TP, CP, PP, DP] रखता है: सर्वाधिक bandwidth और न्यूनतम latency चाहने वाला dimension सबसे भीतर, एक सर्वर के भीतर, और सबसे सहनशील data parallelism बाहर। 16,384 H100s पर 405B ने TP=8, CP=1, PP=16, DP=128 और 41% MFU रखा।

- शोधपत्र विश्लेषण: [The Llama 3 Herd of Models: data, scale and the engineering recipe of a 405B dense model](https://dmxsf.com/hi/blog/the-llama-3-herd-of-models/)
- यह भी देखें: [Tensor parallelism](https://dmxsf.com/hi/glossary/#tensor-parallelism), [Context parallelism](https://dmxsf.com/hi/glossary/#context-parallelism), [Pipeline parallelism](https://dmxsf.com/hi/glossary/#pipeline-parallelism), [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism), [Model FLOPs utilization](https://dmxsf.com/hi/glossary/#mfu)

## A

### Ablation

मॉडल के घटक को हटाकर या बदलकर आचरण का बदलाव देखना, ताकि घटक ज़रूरी है या नहीं तय हो। Interpretability में बदलाव प्रायः शून्य (जो मॉडल को distribution से बाहर धकेल सकता है), कई inputs पर घटक का औसत आउटपुट, या दूसरे input पर उसका आउटपुट (patching) होता है। तीन विकल्प घटकों को भिन्न rank कर सकते हैं, इसलिऔ कौन-सा उपयोग हुआ बताओ।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Activation patching](https://dmxsf.com/hi/glossary/#activation-patching), [Circuit](https://dmxsf.com/hi/glossary/#circuit)

### Abstention

मॉडल का अनिश्चित होने पर अनुमान लगाने के बजाय उत्तर देने से इनकार, जैसे कहना कि उसे नहीं पता। द्विआधारी अंकन में (सही उत्तर पर 1 अंक, ग़लत या इनकार पर 0), अंदाज़े की अपेक्षित स्कोर इनकार से कभी नीचे नहीं, इसलिऔ इनकार कभी इनाम नहीं पाता; उसे सिखाने के लिऔ मूल्यांकन को ग़लत उत्तरों पर दंड लगाना होगा या स्पष्ट भरोसा दहलीज़ सेट करनी होगी।

- पूरा पाठ पढ़ें: [Hallucination aur calibration: model vajah se pakka galat kaise bolta hai](https://dmxsf.com/hi/wiki/safety/hallucination-and-calibration/)
- यह भी देखें: [Hallucination](https://dmxsf.com/hi/glossary/#hallucination), [Calibration](https://dmxsf.com/hi/glossary/#calibration)

### Acceptance rate

Speculative decoding में लक्ष्य मॉडल के draft मॉडल के प्रस्तावित token स्वीकार करने की प्रायिकता। दिए prefix पर वह tokens पर min(p, q) का योग है, यानी 1 घटा लक्ष्य distribution p और draft distribution q के बीच total variation दूरी; स्थितियों पर औसत को α लिखते हैं। गति के लिऔ α को draft लागत coefficient c से ऊपर होना चाहिए।

- पूरा पाठ पढ़ें: [Speculative decoding](https://dmxsf.com/hi/wiki/inference/speculative-decoding/)
- शोधपत्र विश्लेषण: [Fast Inference from Transformers via Speculative Decoding](https://dmxsf.com/hi/blog/speculative-decoding-fast-inference-from-transformers/)
- यह भी देखें: [Speculative decoding](https://dmxsf.com/hi/glossary/#speculative-decoding), [Draft model](https://dmxsf.com/hi/glossary/#draft-model)

### Action chunking

Policy एक साथ T_p भविष्य की क्रियाएँ भविष्यवानी करती है, केवल पहली T_a (T_a ≤ T_p) चलाती है, फिर नए observation से फिर भविष्यवानी करती है। एक chunk एक ही sample से आता है, इसलिए कई वैध तरीकों के बीच संगत रहता है, और पुनर्योजना policy को सक्रिय रखती है। छोटा T_a modes के बीच झिझक पैदा करता है; बड़ा प्रतिक्रिया धीमा कर देता है।

- शोधपत्र विश्लेषण: [Diffusion Policy: Generating Robot Action Sequences by Conditional Denoising](https://dmxsf.com/hi/blog/diffusion-policy-visuomotor-policy-learning-via-action-diffusion/)
- यह भी देखें: [Diffusion Policy](https://dmxsf.com/hi/glossary/#diffusion-policy), [Behavior cloning](https://dmxsf.com/hi/glossary/#behavior-cloning)

### Action expert

Vision-language-action model में weights का अलग सेट जो robot state और noisy action tokens सँभालता है और vision-language backbone से केवल self-attention के भीतर सूचना आदान-प्रदान करता है। π0 में यह 3B PaliGemma के पास लगभग 300M parameters का नया initialized model है। Tokens प्रकार के अनुसार एक या दूसरे weights-सेट को जाते हैं, कोई सीखा router नहीं, sparse MoE से भिन्न।

- शोधपत्र विश्लेषण: [π0: A Flow-Matching Action Expert on PaliGemma for Controlling Many Robots with Action Chunks](https://dmxsf.com/hi/blog/pi0-a-vision-language-action-flow-model-for-general-robot-control/)
- यह भी देखें: [Vision-language-action model](https://dmxsf.com/hi/glossary/#vla), [Flow matching](https://dmxsf.com/hi/glossary/#flow-matching), [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe)

### Action tokenization

Robot की सतत क्रियाओं को अलग tokens में बदलना ताकि भाषा मॉडल उन्हें टेक्स्ट की तरह बना सके। RT-2 हर सतत dimension को 256 bins में बाँटता है और समाप्ति कमांड सहित क्रिया 8 पूर्णांकों की होती है, हर एक vocabulary का token; decoding केवल इन्हीं 256 tokens में से sample करता है और हर bin को उसके केंद्र-मान पर ले जाता है। कीमत: सटीकता खोती है और decoding धीमा होता है।

- शोधपत्र विश्लेषण: [RT-2: Transferring Web Knowledge to Robot Control with a Vision-Language-Action Model](https://dmxsf.com/hi/blog/rt-2-vision-language-action-models-transfer-web-knowledge-to-robotic-control/)
- यह भी देखें: [Vision-language-action model](https://dmxsf.com/hi/glossary/#vla), [Tokenizer](https://dmxsf.com/hi/glossary/#tokenizer), [Constrained decoding](https://dmxsf.com/hi/glossary/#constrained-decoding)

### Activation checkpointing

Forward pass में कुछ ही layers की activations सँजोना और backward pass में बाकी फिर गणना करना; अतिरिक्त forward गणना के बदले स्मृति बचती है।

- अन्य नाम: Gradient checkpointing
- पूरा पाठ पढ़ें: [प्रशिक्षण की गणना व मेमोरी का लेखा: FLOPs, MFU व मेमोरी बजट](https://dmxsf.com/hi/wiki/pretraining/compute-and-memory/)
- यह भी देखें: [Activations](https://dmxsf.com/hi/glossary/#activations), [Hardware FLOPs utilization](https://dmxsf.com/hi/glossary/#hfu), [ZeRO](https://dmxsf.com/hi/glossary/#zero)

### Activation patching

एक run की activation को दूसरे run के मान से बदलकर नापना कि आउटपुट का कितना हिस्सा लौटता है, ताकि तय हो कि वहाँ की सूचना आचरण का कारण है या नहीं। सामान्य विधि: साफ़ run की activation को बिगड़े prompt के एक layer और स्थिति पर patch करना। नतीजे corruption विधि और metric पर निर्भर होते हैं (Zhang और Nanda, 2023)।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Ablation](https://dmxsf.com/hi/glossary/#ablation), [Circuit](https://dmxsf.com/hi/glossary/#circuit), [Logit lens](https://dmxsf.com/hi/glossary/#logit-lens)

### Activations

Forward pass में बने बीच के tensors जिन्हें gradients गणना के लिए backward pass को अब भी चाहिए। उनकी स्मृति batch size, sequence लंबाई और गहराई के साथ बढ़ती है: Llama 2 7B के 4,096 tokens के लिए बिना recomputation लगभग 18.75 GiB।

- पूरा पाठ पढ़ें: [प्रशिक्षण की गणना व मेमोरी का लेखा: FLOPs, MFU व मेमोरी बजट](https://dmxsf.com/hi/wiki/pretraining/compute-and-memory/)
- यह भी देखें: [Activation checkpointing](https://dmxsf.com/hi/glossary/#activation-checkpointing), [ZeRO](https://dmxsf.com/hi/glossary/#zero)

### Active parameters

Mixture-of-experts मॉडल के वे parameters जो एक token की गणना में वास्तव में भाग लेते हैं; यही प्रति token compute तय करते हैं। स्मृति के उलट सभी experts रखने पड़ते हैं और कुल के अनुसार चलती है। DeepSeek-V3 में कुल लगभग 671B और सक्रिय लगभग 37B parameters।

- पूरा पाठ पढ़ें: [Mixture of Experts (MoE): routing, load balancing व sparse activation](https://dmxsf.com/hi/wiki/architecture/mixture-of-experts/)
- यह भी देखें: [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe), [FLOPs](https://dmxsf.com/hi/glossary/#flops)

### AdamW

अलग weight decay वाला Adam optimizer: हर parameter के gradient के प्रथम और द्वितीय moment आकलन रखता है और weight decay को gradient चरण से अलग लगाता है। LLM प्रशिक्षण का डिफ़ॉल्ट optimizer।

- पूरा पाठ पढ़ें: [ऑप्टिमाइज़र और प्रशिक्षण स्थिरता: AdamW, LR schedule, mixed precision](https://dmxsf.com/hi/wiki/foundations/optimizers-and-training-stability/)
- शोधपत्र विश्लेषण: [Decoupled Weight Decay Regularization](https://dmxsf.com/hi/blog/decoupled-weight-decay-regularization-adamw/)
- यह भी देखें: [Learning-rate schedule](https://dmxsf.com/hi/glossary/#lr-schedule), [Gradient clipping](https://dmxsf.com/hi/glossary/#gradient-clipping)

### Adaptive retrieval

मॉडल को तय करने देना कि खोज करे या नहीं और कब रुके, प्रति प्रश्न एक बार खोजने के बजाय। FLARE जब बने token की प्रायिकता दहलीज़ से गिरे तो खोजता है; Self-RAG मॉडल को retrieve और critic reflection tokens देना सिखाता है, ताकि वह खोज का समय चुने और अंशों को स्कोर दे। मॉडलों के खुद tools इस्तेमाल करने की प्रवृत्ति का हिस्सा, Toolformer जैसा।

- अन्य नाम: Active retrieval
- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Iterative retrieval](https://dmxsf.com/hi/glossary/#iterative-retrieval), [Modular RAG](https://dmxsf.com/hi/glossary/#modular-rag), [Toolformer](https://dmxsf.com/hi/glossary/#toolformer), [Agent](https://dmxsf.com/hi/glossary/#agent)

### Additive attention

Bahdanau et al. (2014) का machine translation के लिए attention: हर decoding चरण पर छोटा feed-forward network हर encoder state को स्कोर देता है, softmax स्कोर normalize करता है, और भारित योग उस चरण के लिए बना context vector देता है, ताकि पूरा वाक्य एक नियत vector में समाना न पड़े।

- अन्य नाम: Bahdanau attention
- पूरा पाठ पढ़ें: [RNN से attention तक: Transformer क्यों उभरा](https://dmxsf.com/hi/wiki/architecture/from-rnn-to-attention/)
- यह भी देखें: [Sequence-to-sequence model](https://dmxsf.com/hi/glossary/#seq2seq), [Self-attention](https://dmxsf.com/hi/glossary/#self-attention), [Query, key और value](https://dmxsf.com/hi/glossary/#qkv)

### Adjusted base frequency (ABF)

RoPE की base frequency को डिफ़ॉल्ट 10,000 से बहुत बड़े मान पर बढ़ाना, जिससे हर dimension धीमे घूमता है, फिर लंबे टेक्स्ट पर pre-training जारी रखना। Xiong et al. (2023) ने Llama 2 के लिए प्रस्तावित किया (10,000 से 500,000); Qwen3 अपने long-context चरण में 1,000,000 रखता है। सभी आवृत्तियों को s से भाग देने वाली position interpolation से भिन्न, यह निम्न आवृत्तियों को बहुत और उच्च को थोड़ा बदलता है।

- पूरा पाठ पढ़ें: [Long context: स्थिति extrapolation, प्रशिक्षण नुस्खा व लागत](https://dmxsf.com/hi/wiki/architecture/long-context/)
- शोधपत्र विश्लेषण: [Qwen3 Technical Report](https://dmxsf.com/hi/blog/qwen3-technical-report/)
- यह भी देखें: [Rotary position embedding](https://dmxsf.com/hi/glossary/#rope), [Position interpolation](https://dmxsf.com/hi/glossary/#position-interpolation), [YaRN](https://dmxsf.com/hi/glossary/#yarn)

### Advanced RAG

Gao et al. के survey का दूसरा RAG दृष्टांत। अब भी शृंखला है, retrieval के पहले और बाद एक परत जुड़ती है: पहले बेहतर indexing (sliding windows, महीन segmentation, metadata) और बेहतर queries (फिर लिखना, विस्तार); बाद में reranking और context compression, जो सबसे संबंधित सामग्री को prompt के किनारों पर रखकर बाकी गिरा देती है। उद्देश्य retrieval गुणवत्ता है।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Naive RAG](https://dmxsf.com/hi/glossary/#naive-rag), [Modular RAG](https://dmxsf.com/hi/glossary/#modular-rag), [Query rewriting](https://dmxsf.com/hi/glossary/#query-rewriting), [Reranking](https://dmxsf.com/hi/glossary/#reranking), [Chunking](https://dmxsf.com/hi/glossary/#chunking)

### Advantage

क्रिया उस state के औसत से कितनी बेहतर है: A(s,a) = Q(s,a) − V(s)। Policy gradient इसे भार बनाता है: धनात्मक हो तो क्रिया को ऊपर धकेलो, ऋणात्मक हो तो नीचे। व्यवहार में नमूनों से आकलित: reward घटा baseline, GAE, या GRPO का group-मानकीकृत reward।

- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- यह भी देखें: [Policy gradient](https://dmxsf.com/hi/glossary/#policy-gradient), [Baseline (policy gradient)](https://dmxsf.com/hi/glossary/#rl-baseline), [Generalized advantage estimation](https://dmxsf.com/hi/glossary/#gae), [Value function](https://dmxsf.com/hi/glossary/#value-function), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo)

### Agent

ऐसा system जिसके केंद्र में LLM है और जो लक्ष्य पाने के लिऔ योजना बनाता, tools कॉल करता, नतीजे देखता और क्रियाएँ दोहरे चक्र में ढालता है।

- पूरा पाठ पढ़ें: [Agents aur tool calling: function calling se ReAct workflows tak](https://dmxsf.com/hi/wiki/applications/agents-and-tool-calling/)
- यह भी देखें: [LLM workflow](https://dmxsf.com/hi/glossary/#llm-workflow), [ReAct](https://dmxsf.com/hi/glossary/#react), [Function calling](https://dmxsf.com/hi/glossary/#function-calling), [Model Context Protocol](https://dmxsf.com/hi/glossary/#mcp)

### Agent harness

मॉडल को लपेटने वाली engineering layer: यह तय करती है कि मॉडल कौन-सा context देखे, tool कॉल कैसे चलें और कब रुकें। Harness बदलना model parameters नहीं छूता फिर भी benchmark स्कोर ध्यान देने योग्य खिसका सकता है, इसलिऔ यह system का हिस्सा है और मूल्यांकन protocol के हिस्से के रूप में दर्ज होना चाहिए।

- पूरा पाठ पढ़ें: [Agent evaluation: system ko naapo, model ko nahi](https://dmxsf.com/hi/wiki/applications/agent-evaluation/)
- यह भी देखें: [Agent](https://dmxsf.com/hi/glossary/#agent), [τ-bench](https://dmxsf.com/hi/glossary/#tau-bench), [pass^k](https://dmxsf.com/hi/glossary/#pass-hat-k)

### Agent की दीर्घकालिक स्मृति (Agent long-term memory)

वह पुष्ट जानकारी जो एक application sessions के पार सँजोता और निकालता है, प्रायः scope, स्रोत, version और समाप्ति के नियमों के साथ, ताकि defaults या कार्य की निरंतरता बनी रहे।

- पूरा पाठ पढ़ें: [Agent context engineering aur long-term memory: window, versions, state](https://dmxsf.com/hi/wiki/applications/context-and-memory/)
- यह भी देखें: [Context engineering](https://dmxsf.com/hi/glossary/#context-engineering), [Agent](https://dmxsf.com/hi/glossary/#agent)

### Agent trajectory

एक कार्य के विचार, क्रियाएँ और observations क्रम से दर्ज। यही agent मूल्यांकन की मूल इकाई है (केवल अंतिम उत्तर नहीं, प्रक्रिया अंकित करना), असफलता विश्लेषण की, और supervised fine-tuning डेटा की: ReAct paper PaLM-8B और 62B को सही उत्तर पर समाप्त हुई 3,000 trajectories पर फ़ाइन-ट्यून करता है।

- अन्य नाम: Trajectory
- पूरा पाठ पढ़ें: [Agents aur tool calling: function calling se ReAct workflows tak](https://dmxsf.com/hi/wiki/applications/agents-and-tool-calling/)
- शोधपत्र विश्लेषण: [ReAct: Treating Thought as an Action So a Language Model Can Reason and Act in One Trace](https://dmxsf.com/hi/blog/react-reasoning-and-acting/)
- यह भी देखें: [Agent](https://dmxsf.com/hi/glossary/#agent), [ReAct](https://dmxsf.com/hi/glossary/#react), [Function calling](https://dmxsf.com/hi/glossary/#function-calling)

### Aha moment

DeepSeek-R1 paper का नाम एक बीच के R1-Zero version के तर्क के बीच लिखे रुको, रुको। यहीं मेरा aha moment है जैसे वाक्य को, जिसके बाद वह अपना तरीका फिर सोचता है; paper इसे स्व-विकास के प्रमाण के रूप में दिखाता है। कारण विवादित है: बाद के शोधों ने पाया कि DeepSeek-V3-Base पहले से ही किसी reinforcement learning से पहले ऐसे आत्म-चिंतन वाक्य लिखता है।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning](https://dmxsf.com/hi/blog/deepseek-r1-reasoning-via-reinforcement-learning/)
- यह भी देखें: [R1-Zero](https://dmxsf.com/hi/glossary/#r1-zero), [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model), [Emergent abilities](https://dmxsf.com/hi/glossary/#emergent-abilities)

### Alignment

मॉडल के आचरण को मानव इरादों और मूल्यों से मिलाने वाले शोध और तरीके: सहायक, ईमानदार और निर्दोष।

- पूरा पाठ पढ़ें: [Preference optimization: RLHF se DPO tak](https://dmxsf.com/hi/wiki/post-training/preference-optimization/)
- यह भी देखें: [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [Direct preference optimization](https://dmxsf.com/hi/glossary/#dpo), [Constitutional AI](https://dmxsf.com/hi/glossary/#constitutional-ai)

### Alignment tax

Alignment प्रशिक्षण की संभावित क्षमता-हानि। InstructGPT ने पाया कि PPO से मानव preferences की सीधी अनुकूलन से मॉडल SQuAD, DROP, HellaSwag और फ़्रेंच-से-अंग्रेज़ी अनुवाद जैसे सार्वजनिक datasets पर बदतर हो गया; pretraining gradients को PPO में मिलाना (PPO-ptx) इसे बड़े पैमाने पर घटाता है।

- पूरा पाठ पढ़ें: [Preference optimization: RLHF se DPO tak](https://dmxsf.com/hi/wiki/post-training/preference-optimization/)
- शोधपत्र विश्लेषण: [InstructGPT: Training Language Models to Follow Instructions with Human Feedback](https://dmxsf.com/hi/blog/instructgpt-rlhf/)
- यह भी देखें: [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [PPO-ptx](https://dmxsf.com/hi/glossary/#ppo-ptx)

### All-gather

सामूहिक आधार: n devices के पास हर एक के एक खंड, और संक्रिया के बाद हर device पूरा जुड़ा डेटा रखता है। ZeRO-3 और FSDP forward और backward pass से ठीक पहले इससे एक layer के पूरे weights फिर बनाते हैं, जो उपयोग के बाद मुक्त हो जाते हैं।

- पूरा पाठ पढ़ें: [Collective communication: all-reduce के इतने अलग algorithms क्यों हैं](https://dmxsf.com/hi/wiki/systems/collective-communication/)
- यह भी देखें: [All-reduce](https://dmxsf.com/hi/glossary/#all-reduce), [Reduce-scatter](https://dmxsf.com/hi/glossary/#reduce-scatter), [ZeRO](https://dmxsf.com/hi/glossary/#zero)

### All-reduce

सामूहिक संक्रिया जो हर device को सब devices पर किसी मान (जैसे gradients) का योग देती है। Ring रूप reduce-scatter और फिर all-gather है; हर device लगभग 2(n−1)/n गुना डेटा आकार भेजता है, जो devices की संख्या के साथ लगभग नहीं बढ़ता।

- अन्य नाम: Ring all-reduce
- पूरा पाठ पढ़ें: [Collective communication: all-reduce के इतने अलग algorithms क्यों हैं](https://dmxsf.com/hi/wiki/systems/collective-communication/)
- यह भी देखें: [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism), [ZeRO](https://dmxsf.com/hi/glossary/#zero), [Tensor parallelism](https://dmxsf.com/hi/glossary/#tensor-parallelism)

### All-to-all

सामूहिक आधार जिसमें हर device अपना j-वाँ खंड device j को भेजता और हर दूसरे device से एक खंड पाता है; devices में फैले डेटा का पलटा। MoE की expert parallelism इससे tokens उन devices को भेजती है जहाँ उनके experts हैं और नतीजे वापस लाती है, ताकि traffic routing पर निर्भर हो।

- पूरा पाठ पढ़ें: [Collective communication: all-reduce के इतने अलग algorithms क्यों हैं](https://dmxsf.com/hi/wiki/systems/collective-communication/)
- यह भी देखें: [Expert parallelism](https://dmxsf.com/hi/glossary/#expert-parallelism), [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe), [All-reduce](https://dmxsf.com/hi/glossary/#all-reduce)

### AlphaZero

DeepMind का 2017 का सामान्य self-play reinforcement learning एल्गोरिद्म। चालों के priors और स्थिति का मूल्य देने वाला neural network Monte Carlo tree search से जुड़ता है। यादृच्छिक खेल से और केवल नियम जानकर एक ही hyperparameters-सेट शतरंज, शोगी और गो सीखता है। Network search के चाल-वितरण और खेल परिणाम सीखता है।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [AlphaZero: Only the Rules, Self-Play from Scratch, Mastering Chess, Shogi and Go](https://dmxsf.com/hi/blog/alphazero-mastering-chess-and-shogi-by-self-play/)
- यह भी देखें: [Monte Carlo tree search](https://dmxsf.com/hi/glossary/#mcts), [Reinforcement learning with verifiable rewards](https://dmxsf.com/hi/glossary/#rlvr), [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo)

### Annealing

Pre-training के अंत में learning rate को रेखीय रूप से 0 तक घटाना और डेटा-मिश्रण को code और गणित जैसे ऊँची-गुणवत्ता स्रोतों की ओर खिसकाना, प्रायः checkpoints का भी औसत लेना। Llama 3 ने यह अपने अंतिम 40M tokens पर किया। Paper इसे डेटा मूल्य की सस्ती परीक्षा के रूप में भी लेता है: आधा प्रशिक्षित 8B मॉडल को 30% नए डेटा वाले 40B tokens पर anneal करके देखो कि metrics सुधरें या नहीं।

- शोधपत्र विश्लेषण: [The Llama 3 Herd of Models: data, scale and the engineering recipe of a 405B dense model](https://dmxsf.com/hi/blog/the-llama-3-herd-of-models/)
- यह भी देखें: [Learning-rate schedule](https://dmxsf.com/hi/glossary/#lr-schedule), [Data mixture](https://dmxsf.com/hi/glossary/#data-mixture), [Model averaging](https://dmxsf.com/hi/glossary/#model-averaging)

### Arithmetic intensity

स्मृति से प्रति byte ले जाए गए डेटा पर की गई फ़्लोटिंग-पॉइंट संक्रियाओं की संख्या, FLOPs प्रति byte। Matrix गुणन में batch size के साथ बढ़ती है; elementwise संक्रियाओं और decoding के matrix-vector गुणनों में नीची रहती है, इसीलिऔ वे स्मृति bandwidth से सीमित होते हैं।

- पूरा पाठ पढ़ें: [GPU और Roofline मॉडल: बड़े मॉडल अक्सर मेमोरी bandwidth पर क्यों अटकते हैं](https://dmxsf.com/hi/wiki/systems/gpu-and-roofline/)
- यह भी देखें: [Roofline model](https://dmxsf.com/hi/glossary/#roofline-model), [Memory-bound](https://dmxsf.com/hi/glossary/#memory-bound), [FLOPs](https://dmxsf.com/hi/glossary/#flops)

### Attention Residuals (AttnRes)

Kimi team का मार्च 2026 का residual connection variant। Layer l को embedding और पहले के सभी आउटपुट भार 1 के साथ नहीं बल्कि उनका softmax-भारित योग मिलता है: keys RMS-normalized sources हैं, query प्रति layer एक सीखा pseudo-query vector (शून्य से initialized, ताकि प्रशिक्षण बराबर औसत से शुरू हो), values sources। Attention गहराई पर चलता है, sequence पर नहीं।

- शोधपत्र विश्लेषण: [Attention Residuals: Letting Each Layer Pick What to Read From the Layers Before It](https://dmxsf.com/hi/blog/attention-residuals/)
- यह भी देखें: [Residual connection](https://dmxsf.com/hi/glossary/#residual-connection), [Block Attention Residuals](https://dmxsf.com/hi/glossary/#block-attnres), [PreNorm dilution](https://dmxsf.com/hi/glossary/#prenorm-dilution), [Manifold-constrained hyper-connections](https://dmxsf.com/hi/glossary/#mhc), [RMSNorm](https://dmxsf.com/hi/glossary/#rmsnorm), [Softmax](https://dmxsf.com/hi/glossary/#softmax)

### Attention sink

Autoregressive मॉडलों में पहले कुछ tokens बहुत ऊँचे attention scores खींचते हैं, चाहे उनका अर्थ कम हो। केवल उनकी keys-values और हाल के एक window रखकर finite-window मॉडल धारा में स्थिर generation कर सकता है, जैसा StreamingLLM करता है; window से निकली बातें सदा के लिए चली जाती हैं।

- पूरा पाठ पढ़ें: [Long context: स्थिति extrapolation, प्रशिक्षण नुस्खा व लागत](https://dmxsf.com/hi/wiki/architecture/long-context/)
- शोधपत्र विश्लेषण: [StreamingLLM: Keep the First Few Tokens in the KV Cache and Sliding Windows Stop Breaking](https://dmxsf.com/hi/blog/efficient-streaming-language-models-with-attention-sinks/)
- यह भी देखें: [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Sliding-window attention](https://dmxsf.com/hi/glossary/#sliding-window-attention), [Context window](https://dmxsf.com/hi/glossary/#context-window)

### Attribute inference

लेखक के कभी न कहे व्यक्तिगत गुण, जैसे स्थान, आय या लिंग, एक टेक्स्ट से अनुमानित करना। Staab et al. (2023) पाते हैं कि LLM वास्तविक Reddit टेक्स्ट पर 85% तक top-1 सटीकता मानव लागत के लगभग 1/100 पर पाते हैं। यह record के प्रशिक्षण डेटा में होने पर निर्भर नहीं, इसलिऔ न deduplication न goldfish loss इसे रोकता है।

- पूरा पाठ पढ़ें: [Memorization aur privacy](https://dmxsf.com/hi/wiki/safety/memorization-and-privacy/)
- यह भी देखें: [Membership inference](https://dmxsf.com/hi/glossary/#membership-inference), [Memorization](https://dmxsf.com/hi/glossary/#memorization)

### AUROC (AUROC)

ROC वक्र के नीचे का क्षेत्र: यादृच्छिक चुने धनात्मक उदाहरण को यादृच्छिक चुने ऋणात्मक से ऊँचा स्कोर मिलने की प्रायिकता। 0.5 अंदाज़ा और 1.0 पूर्ण पृथक्करण। यह दहलीज़ पर निर्भर नहीं, इसलिऔ detectors की निष्पक्ष तुलना करता है, पर चुनी दहलीज़ पर झूठी-धनात्मक और झूठी-ऋणात्मक दरें अलग से नापनी पड़ती हैं।

- अन्य नाम: Area under the ROC curve
- पूरा पाठ पढ़ें: [Benchmark contamination: kaise banti hai, kaise pakdein, kaise bachein](https://dmxsf.com/hi/wiki/evaluation/benchmark-contamination/)
- यह भी देखें: [Min-K% Prob](https://dmxsf.com/hi/glossary/#min-k-prob), [Membership inference](https://dmxsf.com/hi/glossary/#membership-inference)

### Autoregressive generation

एक बार में एक token बनाकर उसे अगले चरण के input के रूप में वापस खिलाना। आउटपुट आपस में निर्भर होते हैं, इसलिए inference पूरा अनुच्छेद समानांतर में नहीं बना सकता।

- यह भी देखें: [Next-token prediction](https://dmxsf.com/hi/glossary/#next-token-prediction), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Decoder-only मॉडल](https://dmxsf.com/hi/glossary/#decoder-only)

### AWQ

Activation-aware weight quantization: activation परिमाणों से कुछ महत्वपूर्ण channels पहचानता है और quantization में उनकी रक्षा करता है, जिससे 4 bits पर सटीकता-हानि छोटी रहती है।

- पूरा पाठ पढ़ें: [Model quantization: INT8, INT4, GPTQ aur AWQ ka siddhant aur measurement](https://dmxsf.com/hi/wiki/inference/quantization/)
- यह भी देखें: [Quantization](https://dmxsf.com/hi/glossary/#quantization), [GPTQ](https://dmxsf.com/hi/glossary/#gptq)

## B

### Backpropagation

Chain rule को गणना ग्राफ पर आउटपुट से पीछे की ओर लगाकर एक बार में सभी parameters के लिए loss का gradient निकालना। लागत forward pass के लगभग दोगुनी और forward activations रखने पड़ते हैं, इसीलिऔ activation checkpointing फिर-गणना के बदले स्मृति खरीदता है।

- अन्य नाम: Backprop
- पूरा पाठ पढ़ें: [न्यूरल नेटवर्क की मूल बातें: रैखिक परत से backpropagation तक](https://dmxsf.com/hi/wiki/foundations/neural-network-basics/)
- यह भी देखें: [Activations](https://dmxsf.com/hi/glossary/#activations), [Activation checkpointing](https://dmxsf.com/hi/glossary/#activation-checkpointing), [Multilayer perceptron](https://dmxsf.com/hi/glossary/#mlp)

### Base model

ऐसा मॉडल जो केवल pretrained है, बिना instruction tuning या alignment। टेक्स्ट आगे बढ़ाने में अच्छा है पर निर्देशों का पालन अवश्य नहीं करता।

- अन्य नाम: Foundation model
- यह भी देखें: [Pretraining](https://dmxsf.com/hi/glossary/#pretraining), [Post-training](https://dmxsf.com/hi/glossary/#post-training), [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft)

### Baseline (policy gradient)

वर्तमान क्रिया पर निर्भर न होने वाली राशि जो policy gradient में reward से घटाई जाती है। E[b(s)·∇log π(a|s)] = 0 होने से वह अपेक्षित gradient अपरिवर्तित रखकर variance घटाती है। उदाहरण: batch का औसत reward, value function V(s), group में दूसरे उत्तरों का माध्य। यदि उसमें उत्तर का अपना reward शामिल हो तो वह फेल होती है: group माध्य gradient को (G−1)/G से सिमटा देता है।

- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- यह भी देखें: [Policy gradient](https://dmxsf.com/hi/glossary/#policy-gradient), [Advantage](https://dmxsf.com/hi/glossary/#advantage), [REINFORCE Leave-One-Out](https://dmxsf.com/hi/glossary/#rloo), [Value function](https://dmxsf.com/hi/glossary/#value-function)

### Beam search

हर चरण पर सबसे अच्छे स्कोर वाले k आंशिक sequences रखना, हर एक को बढ़ाना, और सबसे अच्छा पूर्ण sequence लौटाना। अनुवाद और सारांश में सामान्य; खुली बातचीत में दुर्लभ।

- पूरा पाठ पढ़ें: [Decoding aur sampling: temperature, Top-k, Top-p aur beam search](https://dmxsf.com/hi/wiki/inference/decoding-and-sampling/)
- यह भी देखें: [Greedy decoding](https://dmxsf.com/hi/glossary/#greedy-decoding), [Top-p sampling](https://dmxsf.com/hi/glossary/#top-p)

### Behavior cloning (BC)

अनुकरण सीखने का सबसे सीधा रूप: expert के (observation, action) जोड़ों पर policy प्रशिक्षित करके expert की क्रियाएँ दोहराना। यही supervised fine-tuning (SFT) की विधि है, कठिनाइयाँ भी समान: एक observation की कई वैध क्रियाएँ हो सकती हैं (multimodality), और तैनाती पर त्रुटियाँ जुड़ती जाकर प्रशिक्षण distribution से दूर ले जाती हैं।

- पूरा पाठ पढ़ें: [SFT data ka nirman aur quality control](https://dmxsf.com/hi/wiki/post-training/sft-data/)
- शोधपत्र विश्लेषण: [Diffusion Policy: Generating Robot Action Sequences by Conditional Denoising](https://dmxsf.com/hi/blog/diffusion-policy-visuomotor-policy-learning-via-action-diffusion/)
- यह भी देखें: [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft), [Diffusion Policy](https://dmxsf.com/hi/glossary/#diffusion-policy)

### τ-bench

Yao et al. (2024) का agent benchmark: एक भाषा मॉडल उपयोगकर्ता बनता है जबकि agent domain नियमों का पालन करते हुए बहु-मोड़ बातचीत में API tools बुलाता है, और सफलता इससे अंकित होती है कि अंतिम database state अंकित लक्ष्य state के बराबर है या नहीं। दो domains: retail (115 कार्य) और airline (50 कार्य)।

- अन्य नाम: tau-bench
- पूरा पाठ पढ़ें: [Agents aur tool calling: function calling se ReAct workflows tak](https://dmxsf.com/hi/wiki/applications/agents-and-tool-calling/)
- यह भी देखें: [pass^k](https://dmxsf.com/hi/glossary/#pass-hat-k), [Agent](https://dmxsf.com/hi/glossary/#agent), [Benchmark](https://dmxsf.com/hi/glossary/#benchmark)

### Benchmark

प्रश्नों का नियत सेट और अंकन विधि, किसी क्षमता पर मॉडलों की तुलना के लिए, जैसे MMLU, GSM8K और HumanEval।

- पूरा पाठ पढ़ें: [LLM evaluation methodology: benchmarks, contamination aur eval process](https://dmxsf.com/hi/wiki/evaluation/llm-evaluation/)
- यह भी देखें: [MMLU](https://dmxsf.com/hi/glossary/#mmlu), [HumanEval](https://dmxsf.com/hi/glossary/#humaneval), [GSM8K](https://dmxsf.com/hi/glossary/#gsm8k), [MT-Bench](https://dmxsf.com/hi/glossary/#mt-bench), [pass@k](https://dmxsf.com/hi/glossary/#pass-at-k), [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination)

### Benchmark contamination

परीक्षा प्रश्न या उनके उत्तरों का प्रशिक्षण डेटा में रिसना, जिससे स्कोर सूजते हैं और मॉडल की सच्ची सामान्यीकरण क्षमता छिपती है। शब्दशः प्रतिलिपियों के अलावा paraphrases, अनुवाद और web पन्नों व चर्चाओं में बिखरे उत्तर होते हैं जो सही-मेल छूट जाते हैं; जितनी अधिक प्रतिलिपियाँ, स्मृति उतनी पक्की।

- अन्य नाम: Data leakage
- पूरा पाठ पढ़ें: [Benchmark contamination: kaise banti hai, kaise pakdein, kaise bachein](https://dmxsf.com/hi/wiki/evaluation/benchmark-contamination/)
- यह भी देखें: [Benchmark](https://dmxsf.com/hi/glossary/#benchmark), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication), [Decontamination](https://dmxsf.com/hi/glossary/#decontamination), [N-gram overlap](https://dmxsf.com/hi/glossary/#n-gram-overlap), [Min-K% Prob](https://dmxsf.com/hi/glossary/#min-k-prob)

### Benchmark saturation

सबसे प्रबल मॉडलों के स्कोर मूल्यांकन सेट की सीमा पर पहुँच जाते हैं, जिससे वह उन्हें अलग करना बंद कर देता है। सीमा 100% नहीं बल्कि 1−e है, जहाँ e label त्रुटि दर है: 6.49% त्रुटियों वाले चार-विकल्प सेट पर पूर्ण मॉडल 0.935 पाता है। उसके बाद बचे अंतर प्रायः label त्रुटियाँ हैं क्षमता नहीं, इसलिऔ items बदलकर नया version जारी करो।

- पूरा पाठ पढ़ें: [Eval set banana: question sources, label quality aur question information](https://dmxsf.com/hi/wiki/evaluation/building-eval-sets/)
- यह भी देखें: [Benchmark](https://dmxsf.com/hi/glossary/#benchmark), [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination), [Label noise](https://dmxsf.com/hi/glossary/#label-noise)

### BERT

Google का 2018 का pre-trained भाषा मॉडल: बिना label टेक्स्ट पर masked language modeling और next-sentence prediction से प्रशिक्षित Transformer encoder, जो द्विदिशी प्रतिनिधित्व देता है जिन्हें एक नया output layer और fine-tuning classifier या tagger बना देते हैं। BERT-BASE में 12 layers, hidden size 768 और 12 heads (लगभग 110M parameters); BERT-LARGE में 24, 1024 और 16 (लगभग 340M)।

- अन्य नाम: Bidirectional Encoder Representations from Transformers
- पूरा पाठ पढ़ें: [भाषा मॉडलिंग से अगले टोकन की भविष्यवाणी तक](https://dmxsf.com/hi/wiki/foundations/next-token-prediction/)
- शोधपत्र विश्लेषण: [BERT: pre-training a bidirectional Transformer by filling in masked words, then one thin output layer per task](https://dmxsf.com/hi/blog/bert-pre-training-of-deep-bidirectional-transformers/)
- यह भी देखें: [Masked language modeling](https://dmxsf.com/hi/glossary/#masked-language-modeling), [Next-sentence prediction](https://dmxsf.com/hi/glossary/#next-sentence-prediction), [Encoder-only मॉडल](https://dmxsf.com/hi/glossary/#encoder-only), [Fine-tuning](https://dmxsf.com/hi/glossary/#fine-tuning)

### Best-of-N sampling

एक prompt के लिए N candidate उत्तर बनाना, reward model या verifier से स्कोर देना, और सबसे ऊँचा स्कोर वाला रखना। यह मॉडल को अद्यतन नहीं करता और inference compute से गुणवत्ता खरीदने का सबसे सरल तरीका है। Reward model के अति-अनुकूलन का अध्ययन भी इसी से होता है। सतत reward distribution के लिए base model से उसका KL log N − (N−1)/N होता है।

- पूरा पाठ पढ़ें: [Preference optimization: RLHF se DPO tak](https://dmxsf.com/hi/wiki/post-training/preference-optimization/)
- शोधपत्र विश्लेषण: [Learning to Summarize: A Reward Model from Human Preferences, Optimized with PPO](https://dmxsf.com/hi/blog/learning-to-summarize-from-human-feedback/)
- यह भी देखें: [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence), [Process reward model](https://dmxsf.com/hi/glossary/#prm)

### BF16

16-bit फ़्लोटिंग-पॉइंट format bfloat16: FP32 जैसे ही 8 exponent bits पर मात्र 7 mantissa bits। चौड़ा परास इसे प्रशिक्षण में FP16 से कम ओवरफ़्लो-प्रवण बनाता है।

- पूरा पाठ पढ़ें: [सांख्यिक precision: FP16, BF16 व FP8 प्रशिक्षण की तीन प्रकार की विफलताएँ](https://dmxsf.com/hi/wiki/systems/numerical-precision/)
- यह भी देखें: [Mixed-precision training](https://dmxsf.com/hi/glossary/#mixed-precision)

### BLEU (Bilingual Evaluation Understudy · BLEU)

Machine translation का स्वतः metric: अनुवाद और संदर्भों के बीच n-gram precisions (प्रायः 1 से 4) का ज्यामिति माध्य, छोटे आउटपुट के लिए brevity penalty गुणित। यह अर्थ नहीं सतही मेल इनाम देता है, और भिन्न tokenization या लागूकर्ण के स्कोर सीधे तुलनीय नहीं। Transformer paper WMT 2014 नतीजे BLEU में रिपोर्ट करता है।

- शोधपत्र विश्लेषण: [Attention Is All You Need: the Transformer, with self-attention instead of recurrence and convolution](https://dmxsf.com/hi/blog/attention-is-all-you-need/)
- यह भी देखें: [Perplexity](https://dmxsf.com/hi/glossary/#perplexity), [Beam search](https://dmxsf.com/hi/glossary/#beam-search)

### Bits per byte (BPB)

भाषा-मॉडल loss को टेक्स्ट के कच्चे bytes प्रति bits में बदलना: tokens पर base-2 cross-entropy का योग, bytes की संख्या से भाग। भाजक टेक्स्ट ही है, tokenizer से स्वतंत्र, इसलिए भिन्न vocabularies वाले मॉडल तुलनीय होते हैं।

- पूरा पाठ पढ़ें: [बड़े मॉडल की प्रशिक्षण pipeline का पूरा दृश्य](https://dmxsf.com/hi/wiki/pretraining/training-pipeline/)
- यह भी देखें: [Cross-entropy](https://dmxsf.com/hi/glossary/#cross-entropy), [Perplexity](https://dmxsf.com/hi/glossary/#perplexity), [Tokenizer](https://dmxsf.com/hi/glossary/#tokenizer)

### Block Attention Residuals

AttnRes का स्मृति-बचाऊ variant: L sublayers N blocks बनाते हैं (paper लगभग 8)। Block के भीतर आउटपुट साधारण residual से एक block representation में जुड़ते हैं; attention केवल embedding, पहले के block representations और वर्तमान आंशिक योग पर चलता है। रखने और भेजने के vectors O(L) से O(N) पर गिरते हैं; paper 4% से कम प्रशिक्षण और 2% inference ओवरहेड रिपोर्ट करता है।

- अन्य नाम: Block AttnRes
- शोधपत्र विश्लेषण: [Attention Residuals: Letting Each Layer Pick What to Read From the Layers Before It](https://dmxsf.com/hi/blog/attention-residuals/)
- यह भी देखें: [Attention Residuals](https://dmxsf.com/hi/glossary/#attention-residuals), [PreNorm dilution](https://dmxsf.com/hi/glossary/#prenorm-dilution), [Residual connection](https://dmxsf.com/hi/glossary/#residual-connection)

### Block table

PagedAttention में प्रति sequence का मानचित्र जो दर्ज करता है कि हर logical block कौन-सा physical block रखता है और उसमें कितनी स्थितियाँ भरी हैं। तार्किक रूप से लगातार blocks GPU स्मृति में पास होने ज़रूरी नहीं, नया block तभी आता है जब पिछला भर जाए, और पूरे अनुरोध के blocks दूसरों को मुक्त हो जाते हैं।

- शोधपत्र विश्लेषण: [vLLM and PagedAttention: Managing the KV Cache Like Paged Memory](https://dmxsf.com/hi/blog/vllm-pagedattention/)
- यह भी देखें: [PagedAttention](https://dmxsf.com/hi/glossary/#pagedattention), [Copy-on-write](https://dmxsf.com/hi/glossary/#copy-on-write), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache)

### Blockwise causal mask

एक attention mask जो sequence को blocks में बाँटता है: block के भीतर द्विदिशी, blocks के बीच causal, ताकि बाद के blocks पहले वालों को देखें पर उलटा नहीं। π0 तीन blocks रखता है (image और भाषा, state, क्रियाएँ); पहले दो noisy क्रियाओं पर निर्भर नहीं, इसलिए उनकी keys और values 10 flow-matching चरणों तक cache हो सकती हैं। पूर्ण द्विदिशी mask यह cache तोड़ देता।

- शोधपत्र विश्लेषण: [π0: A Flow-Matching Action Expert on PaliGemma for Controlling Many Robots with Action Chunks](https://dmxsf.com/hi/blog/pi0-a-vision-language-action-flow-model-for-general-robot-control/)
- यह भी देखें: [Causal mask](https://dmxsf.com/hi/glossary/#causal-mask), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Prefix caching](https://dmxsf.com/hi/glossary/#prefix-caching)

### BM25 (BM25)

क्लासिक lexical scoring फलन: कोई term जितनी बार document में और corpus में जितना दुर्लभ हो, उतना ऊँचा स्कोर पाता है, term frequency सपाट हो जाती है, और लंबे documents पर हल्का दंड (parameters k1 और b)। प्रशिक्षण नहीं चाहिए और identifiers, कमांड और दुर्लभ शब्दों पर प्रबल है, पर बिना साझा शब्द वाले paraphrases से मेल नहीं खा सकता, इसलिऔ प्रायः vector खोज के साथ मिलाया जाता है।

- अन्य नाम: Okapi BM25
- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- यह भी देखें: [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag), [Reranking](https://dmxsf.com/hi/glossary/#reranking), [Progressive tool discovery](https://dmxsf.com/hi/glossary/#progressive-tool-discovery)

### Bradley-Terry model (Bradley–Terry model)

ऐसा मॉडल जो हर item को शक्ति coefficient देता है और जोड़ी-जीत की प्रायिकताएँ coefficient अंतर को sigmoid से गुज़ारकर भविष्यवानी करता है: i जीतता है ज प्रायिकता 1/(1+exp(−(ξi−ξj))) से। Reward-model preference losses और Chatbot Arena rankings दोनों इसी पर बने हैं।

- पूरा पाठ पढ़ें: [Reward model: insani preference ko optimize yogya score banana](https://dmxsf.com/hi/wiki/post-training/reward-models/)
- यह भी देखें: [Elo rating](https://dmxsf.com/hi/glossary/#elo-rating), [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [Chatbot Arena](https://dmxsf.com/hi/glossary/#chatbot-arena)

### Broadcasting

elementwise संक्रियाओं के लिए shapes को पिछले axes से मिलाना। मेल खाते dimensions और singleton axes संगत होते हैं, जैसे एक bias vector को कई rows में जोड़ना।

- पूरा पाठ पढ़ें: [Python और टेन्सर के आकार: तालिका से रैखिक परत तक](https://dmxsf.com/hi/wiki/foundations/tensors-and-shapes/)
- यह भी देखें: [Tensor shape](https://dmxsf.com/hi/glossary/#tensor-shape)

### Budget forcing

Reasoning लंबाई का decoding नियंत्रण: मॉडल जल्दी रुके तो प्रतीक्षा prompt जोड़ो और बजट पर जवाब ज़बरदस्ती लो, जिससे test-time scaling होता है।

- शोधपत्र विश्लेषण: [s1: Simple test-time scaling](https://dmxsf.com/hi/blog/s1-simple-test-time-scaling/)
- यह भी देखें: [Test-time compute](https://dmxsf.com/hi/glossary/#test-time-compute), [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought)

### Bus bandwidth

NCCL performance tests की metric: algorithm bandwidth (डेटा आकार भाग समय) को ऐसे गुणक से गुणा जो आधार और devices की संख्या पर निर्भर हो, ताकि भिन्न पैमानों के नतीजे हार्डवेयर link गति से सीधे तुलना हो सकें। All-reduce के लिए गुणक 2(n−1)/n है।

- अन्य नाम: busbw
- पूरा पाठ पढ़ें: [Collective communication: all-reduce के इतने अलग algorithms क्यों हैं](https://dmxsf.com/hi/wiki/systems/collective-communication/)
- यह भी देखें: [All-reduce](https://dmxsf.com/hi/glossary/#all-reduce), [Ring all-reduce](https://dmxsf.com/hi/glossary/#ring-all-reduce)

### Byte-pair encoding (BPE)

एक tokenizer एल्गोरिद्म जो एकल अक्षरों (या bytes) से शुरू होकर बार-बार सबसे बार आने वाले आस-पास के symbol-जोड़े को नए symbol में मिलाता जाता है, जब तक vocabulary लक्ष्य आकार तक न पहुँच जाए। GPT-2 से इस्तेमाल हो रहा byte-level BPE बिना unknown शब्द किसी भी टेक्स्ट को encode कर सकता है।

- पूरा पाठ पढ़ें: [शब्द एम्बेडिंग और Tokenizer का सिद्धांत](https://dmxsf.com/hi/wiki/foundations/tokenizer-and-embeddings/)
- यह भी देखें: [Tokenizer](https://dmxsf.com/hi/glossary/#tokenizer), [Vocabulary](https://dmxsf.com/hi/glossary/#vocabulary)

## C

### Calibration

मॉडल के भरोसे और उसकी वास्तविक सटीकता का मेल: जिन उत्तरों पर वह 80% निश्चित है, उनमें लगभग 80% सही हों। Calibrated मॉडल का भरोसा निर्णयों में सीधे उपयोग हो सकता है; भाषा मॉडल प्रायः अति-आत्मविश्वासी हो जाते हैं और post-training प्रायः calibration कमज़ोर करता है।

- पूरा पाठ पढ़ें: [Hallucination aur calibration: model vajah se pakka galat kaise bolta hai](https://dmxsf.com/hi/wiki/safety/hallucination-and-calibration/)
- यह भी देखें: [Expected calibration error](https://dmxsf.com/hi/glossary/#expected-calibration-error), [Temperature scaling](https://dmxsf.com/hi/glossary/#temperature-scaling), [Reliability diagram](https://dmxsf.com/hi/glossary/#reliability-diagram), [Hallucination](https://dmxsf.com/hi/glossary/#hallucination)

### Canary release

ऐसा rollout जो candidate को पहले छोटे पात्र समूह को दिखाता है, फिर पहले से तय गुणवत्ता और भरोसेमंदी के द्वारों से आगे बढ़ाना, रोकना या वापस खींचना तय होता है। Candidate के उत्तर वास्तविक उपयोगकर्ताओं के कामों में पड़ते हैं।

- पूरा पाठ पढ़ें: [LLM production evaluation: offline replay, canary rollout aur rollback](https://dmxsf.com/hi/wiki/evaluation/production-evaluation/)
- यह भी देखें: [Shadow traffic](https://dmxsf.com/hi/glossary/#shadow-traffic), [Confidence interval](https://dmxsf.com/hi/glossary/#confidence-interval)

### Canary string

Dataset में डाली अनोखी यादृच्छिक string जिसके साथ सूचना होती है कि डेटा प्रशिक्षण corpora में न जाए। अगर मॉडल उसे पूरा कर सके या उसे असामान्य ऊँची प्रायिकता दे, तो प्रशिक्षण corpus में डेटा आया। BIG-bench हर task file में एक रखता है। यह केवल मूल file खुरचने वाली pipelines उजागर करती है, paraphrased items या प्रश्नों की दूसरी प्रतियाँ नहीं।

- अन्य नाम: Canary GUID
- पूरा पाठ पढ़ें: [Benchmark contamination: kaise banti hai, kaise pakdein, kaise bachein](https://dmxsf.com/hi/wiki/evaluation/benchmark-contamination/)
- यह भी देखें: [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination), [Decontamination](https://dmxsf.com/hi/glossary/#decontamination), [Exposure](https://dmxsf.com/hi/glossary/#canary-exposure)

### Capacity factor

औसत भार का गुणक जो तय करता है कि MoE मॉडल का एक expert कितने tokens ले सकता है: capacity = ⌈capacity factor × tokens × k ÷ experts⌉। Capacity से अधिक tokens छोड़ दिए जाते हैं और उस layer में केवल residual connection से गुज़रते हैं।

- पूरा पाठ पढ़ें: [Mixture of Experts (MoE): routing, load balancing व sparse activation](https://dmxsf.com/hi/wiki/architecture/mixture-of-experts/)
- शोधपत्र विश्लेषण: [Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity](https://dmxsf.com/hi/blog/switch-transformers-scaling-to-trillion-parameter-models/)
- यह भी देखें: [Expert load balancing](https://dmxsf.com/hi/glossary/#load-balancing), [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe)

### Catastrophic forgetting

नए कार्य या domain के डेटा पर फ़ाइन-ट्यून होने के बाद मॉडल की पुरानी क्षमताओं की तीव्र हानि। बड़ा learning rate, लंबा प्रशिक्षण और अधिक प्रशिक्षण योग्य parameters प्रायः बड़े बदलाव और अधिक भूलने का संकेत हैं। सामान्य उपाय: छोटा learning rate, कम rank, सामान्य डेटा मिलाना, और फ़ाइन-ट्यूनिंग से पहले-बाद सामान्य मूल्यांकन पर नज़र।

- पूरा पाठ पढ़ें: [LoRA fine-tuning ka practical guide](https://dmxsf.com/hi/wiki/post-training/lora-finetuning/)
- यह भी देखें: [Fine-tuning](https://dmxsf.com/hi/glossary/#fine-tuning), [LoRA](https://dmxsf.com/hi/glossary/#lora), [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft)

### Causal encoder-decoder (CED)

DeepSeek-V4.1-Flash अपनी 40 layers को causal encoder (पहली 20) और decoder (अंतिम 20) में बाँटता है, YOCO से प्रेरित। Decoder layers अपनी वैश्विक KV encoder की अंतिम-layer states से project करती हैं, खुद की नहीं, ताकि prefill को केवल पहला आधा चाहिए, जिससे paper के अनुसार prefill compute लगभग आधा हट जाता है। Decoding सभी 40 layers चलाती है: prefill में 8B, decode में 16B सक्रिय parameters।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Compressed Sparse Attention 2](https://dmxsf.com/hi/glossary/#csa2), [SWA Bounded Replay](https://dmxsf.com/hi/glossary/#swa-bounded-replay)

### Causal mask

भविष्य की स्थितियों के attention scores को ऋणात्मक अनंत पर सेट करना, ताकि हर token केवल खुद और पहले के tokens देखे। Decoder मॉडल इसी से पिछले शब्दों से अगला शब्द भविष्यवानी करते हैं।

- पूरा पाठ पढ़ें: [Transformer attention तंत्र की शुरुआत](https://dmxsf.com/hi/wiki/architecture/attention-basics/)
- यह भी देखें: [Self-attention](https://dmxsf.com/hi/glossary/#self-attention), [Decoder-only मॉडल](https://dmxsf.com/hi/glossary/#decoder-only), [Autoregressive generation](https://dmxsf.com/hi/glossary/#autoregressive)

### Chain of thought (CoT)

मॉडल को उत्तर से पहले बीच के तर्क-चरण लिखवाना, जो गणित और तर्क जैसी बहु-चरण समस्याओं में साफ़ सुधार देता है। Wei et al. ने 2022 में प्रस्तावित किया।

- पूरा पाठ पढ़ें: [Prompt engineering: spec se message tak](https://dmxsf.com/hi/wiki/applications/prompt-engineering/)
- शोधपत्र विश्लेषण: [Chain-of-thought prompting: exemplars with intermediate steps let large models solve multi-step problems](https://dmxsf.com/hi/blog/chain-of-thought-prompting/)
- यह भी देखें: [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model), [ReAct](https://dmxsf.com/hi/glossary/#react), [Test-time compute](https://dmxsf.com/hi/glossary/#test-time-compute)

### Chain-of-thought faithfulness

मॉडल का लिखा तर्क सच में उसके उत्तर को धकेलने वाली बातों को झलकाता है या नहीं। Chain-of-thought paper मानता है कि शृंखला मानव सोच की नकल है और network के बारे में कुछ साबित नहीं करती। Turpin et al. (2023): किसी विकल्प को लाभ देने वाला संकेत मॉडल को मोड़ देता है जबकि शृंखला उसे कभी नहीं उल्लेख करती। Lanham et al. (2023): शृंखलाएँ काटकर पाया कि निर्भरता कार्य से बदलती है।

- पूरा पाठ पढ़ें: [Prompt engineering: spec se message tak](https://dmxsf.com/hi/wiki/applications/prompt-engineering/)
- शोधपत्र विश्लेषण: [Chain-of-thought prompting: exemplars with intermediate steps let large models solve multi-step problems](https://dmxsf.com/hi/blog/chain-of-thought-prompting/)
- यह भी देखें: [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought), [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model), [Hallucination](https://dmxsf.com/hi/glossary/#hallucination)

### Chatbot Arena

भीड़ से जुटाई मानव-पसंद का platform: उपयोगकर्ता दो गुमनाम मॉडलों के उत्तरों की तुलना कर मत देते हैं, और Bradley-Terry model मतों को भरोसा अंतरालों के साथ leaderboard में बदलता है। Paper ने उस समय लगभग 240K मत रिपोर्ट किए।

- पूरा पाठ पढ़ें: [LLM-as-a-Judge: model ko judge banana, uske biases aur calibration](https://dmxsf.com/hi/wiki/evaluation/llm-as-judge/)
- यह भी देखें: [Bradley-Terry model](https://dmxsf.com/hi/glossary/#bradley-terry), [Elo rating](https://dmxsf.com/hi/glossary/#elo-rating), [LLM-as-a-judge](https://dmxsf.com/hi/glossary/#llm-as-a-judge)

### Checkpoint

प्रशिक्षण के दौरान सँजोया snapshot: मॉडल weights, optimizer state, चरण गिनती और डेटा स्थिति। केवल weights inference के लिए काफ़ी हैं पर बिना-क्षति पुनरारंभ के लिए नहीं, क्योंकि Adam के moment आकलन शून्य से फिर शुरू होंगे और learning rate तथा डेटा क्रम चरण पर निर्भर हैं।

- पूरा पाठ पढ़ें: [बड़े मॉडल की प्रशिक्षण pipeline का पूरा दृश्य](https://dmxsf.com/hi/wiki/pretraining/training-pipeline/)
- यह भी देखें: [AdamW](https://dmxsf.com/hi/glossary/#adamw), [Pretraining](https://dmxsf.com/hi/glossary/#pretraining)

### Chinchilla-optimal training

DeepMind की 2022 खोज कि दिए compute बजट में parameters और training tokens लगभग अनुपात में बढ़ें, प्रति parameter लगभग 20 tokens। Chinchilla मॉडल (70B parameters, 1.4T tokens) इसी तरह प्रशिक्षित हुआ।

- पूरा पाठ पढ़ें: [Scaling laws: compute, पैरामीटर व data कैसे बाँटें](https://dmxsf.com/hi/wiki/pretraining/scaling-laws/)
- शोधपत्र विश्लेषण: [Chinchilla: Why a 70B Model on 1.4T Tokens Beats the 280B Gopher at the Same Compute](https://dmxsf.com/hi/blog/chinchilla-training-compute-optimal-large-language-models/)
- यह भी देखें: [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law), [FLOPs](https://dmxsf.com/hi/glossary/#flops)

### Chunked prefill

लंबे prompt को chunks में बाँटकर हर चरण एक chunk प्रक्रित करना, जबकि पहले से decoding वाले अनुरोध साथ चलते रहते हैं, ताकि एक लंबे prompt का prefill बाकी हर अनुरोध के आउटपुट को न रोके।

- पूरा पाठ पढ़ें: [Continuous batching aur PagedAttention: service kai requests ek saath kaise](https://dmxsf.com/hi/wiki/inference/continuous-batching/)
- यह भी देखें: [Prefill और decode](https://dmxsf.com/hi/glossary/#prefill-decode), [Continuous batching](https://dmxsf.com/hi/glossary/#continuous-batching), [Time to first token](https://dmxsf.com/hi/glossary/#ttft)

### Chunking

लंबे documents को ऐसे टुकड़ों में काटना जो retrieval के लिऔ अच्छे हों और context में समा जाएँ। Chunk आकार, overlap और काटने की सीमाएँ retrieval गुणवत्ता सीधे बदलती हैं।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- यह भी देखें: [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag), [Reranking](https://dmxsf.com/hi/glossary/#reranking)

### Circuit

Neural network का उपग्राफ, features या घटकों (attention heads, MLP neurons) और उनके बीच संयोजनों से बना, जो साथ मिलकर बयान योग्य गणना करता है। उदाहरण: induction head और Wang et al. (2022) के GPT-2 small में अप्रत्यक्ष वस्तु पहचान के 7 classes के 26 attention heads। Circuits का अंकन faithfulness, completeness और minimality से होता है।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Induction head](https://dmxsf.com/hi/glossary/#induction-head), [Mechanistic interpretability](https://dmxsf.com/hi/glossary/#mechanistic-interpretability), [Indirect object identification](https://dmxsf.com/hi/glossary/#indirect-object-identification)

### Classifier-free guidance (CFG)

Ho और Salimans (2022): प्रशिक्षण में शर्त यादृच्छिक गिराओ (कहो 10% नमूने) ताकि एक network शर्तित और अशर्तित दोनों भविष्यवाणियाँ सीखे; sampling समय पर (1+w) गुना शर्तित भविष्यवानी घटा w गुना अशर्तित तक बाहर बढ़ाओ। बड़ा w शर्त को और पास चलता है पर विविधता घटाता और डेटा से भटकता है; हर चरण एक अतिरिक्त forward pass लेता है।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- यह भी देखें: [Diffusion model](https://dmxsf.com/hi/glossary/#diffusion-model), [Flow matching](https://dmxsf.com/hi/glossary/#flow-matching)

### CLIP

OpenAI का 2021 का contrastive image-text मॉडल: image encoder और text encoder बड़ी संख्या में image-caption जोड़ों पर इस तरह प्रशिक्षित होते हैं कि मेल खाती जोड़ियाँ एक ही vector space में पास रहें।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- शोधपत्र विश्लेषण: [CLIP: Learning Transferable Visual Models From Natural Language Supervision](https://dmxsf.com/hi/blog/clip-learning-transferable-visual-models/)
- यह भी देखें: [Contrastive learning](https://dmxsf.com/hi/glossary/#contrastive-learning), [Vision-language model](https://dmxsf.com/hi/glossary/#vlm)

### Clip-Higher

DAPO की पहली तरकीब: PPO की clipping सीमाओं को अलग करके ऊपरी को 0.2 से 0.28 और निचली 0.2 पर रखना। ऊपरी सीमा गुणक होती है, इसलिऔ कम-प्रायिकता token एक अद्यतन में ज़्यादा नहीं चढ़ सकता (0.01 अधिकतम 0.012)। ढीली सीमा ऐसे exploration tokens को जगह देती है और entropy collapse घटाती है; निचली सीमा रहती है ताकि उनकी प्रायिकता 0 पर न धकेले।

- शोधपत्र विश्लेषण: [DAPO: An Open-Source Reasoning RL System and the Four Tricks That Keep GRPO Stable on Long Chains of Thought](https://dmxsf.com/hi/blog/dapo-open-source-llm-reinforcement-learning-system-at-scale/)
- यह भी देखें: [DAPO](https://dmxsf.com/hi/glossary/#dapo), [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo)

### Closed-book

बिना कोई संदर्भ document देखे उत्तर देना, केवल parameters में याद की गई बातों पर निर्भर। retrieval-augmented मूल्यांकन का सामान्य baseline: अगर documents के साथ स्कोर closed-book स्कोर से नीचे गिरे, तो documents बाधा बन रहे हैं। केवल उत्तर वाला document देने वाली oracle स्थिति ऊपरी सीमा का आकलन है।

- अन्य नाम: Closed-book QA
- शोधपत्र विश्लेषण: [Lost in the Middle: Models Use the Start and End of a Long Context Best](https://dmxsf.com/hi/blog/lost-in-the-middle/)
- यह भी देखें: [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag), [Lost in the middle](https://dmxsf.com/hi/glossary/#lost-in-the-middle)

### Co-fine-tuning

नए कार्य के डेटा पर फ़ाइन-ट्यूनिंग करते समय केवल नया डेटा न रखकर मूल pre-training डेटा भी उन्हीं training batches में मिलाना। RT-2 robot डेटा का sampling भार बढ़ाता है ताकि हर batch में robot डेटा और web image-text डेटा संतुलित रहे (robot डेटा मिश्रण का लगभग 50% या 66%), ताकि क्रियाएँ सीखते समय web से सीखी अवधारणाएँ न भूले।

- शोधपत्र विश्लेषण: [RT-2: Transferring Web Knowledge to Robot Control with a Vision-Language-Action Model](https://dmxsf.com/hi/blog/rt-2-vision-language-action-models-transfer-web-knowledge-to-robotic-control/)
- यह भी देखें: [Catastrophic forgetting](https://dmxsf.com/hi/glossary/#catastrophic-forgetting), [Vision-language-action model](https://dmxsf.com/hi/glossary/#vla), [Fine-tuning](https://dmxsf.com/hi/glossary/#fine-tuning)

### Cohen's kappa

संयोग से आगे की सहमति: κ = (po − pe)/(1 − pe), जहाँ po देखी गई सहमति और pe अपनी-अपनी label आवृत्तियों से यादृच्छिक अंकन की अपेक्षित सहमति। जो judge हमेशा बहुसंख्यक class का अंदाज़ा लगाए वह ऊँची सहमति और κ = 0 ले सकता है।

- पूरा पाठ पढ़ें: [LLM-as-a-Judge: model ko judge banana, uske biases aur calibration](https://dmxsf.com/hi/wiki/evaluation/llm-as-judge/)
- यह भी देखें: [LLM-as-a-judge](https://dmxsf.com/hi/glossary/#llm-as-a-judge), [Inter-annotator agreement](https://dmxsf.com/hi/glossary/#inter-annotator-agreement)

### Cold-start data

बड़े पैमाने के reinforcement learning से पहले base model फ़ाइन-ट्यून करने के लिए उच्च-गुणवत्ता लंबी chain-of-thought उदाहरणों का छोटा सेट। R1 ने कुछ हज़ार लिए: पढ़ने योग्य उदाहरण नियमों से R1-Zero के सही उत्तरों में से चुने, फिर DeepSeek-V3 और मानव annotators से फिर लिखवाए। उद्देश्य RL के लिए और पढ़ने योग्य, अधिक स्थिर आरंभ बिंदु, तर्क सिखाना नहीं।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning](https://dmxsf.com/hi/blog/deepseek-r1-reasoning-via-reinforcement-learning/)
- यह भी देखें: [R1-Zero](https://dmxsf.com/hi/glossary/#r1-zero), [Rejection sampling fine-tuning](https://dmxsf.com/hi/glossary/#rejection-sampling-finetuning), [Distillation](https://dmxsf.com/hi/glossary/#distillation)

### Common Crawl

नॉन-प्रॉफ़िट Common Crawl का 2007 से एकत्र सार्वजनिक web डेटा, आवधिक snapshots के रूप में (जैसे CC-MAIN-2024-10)। C4, Pile-CC, RefinedWeb, Dolma का web भाग और FineWeb सब इसी पर निर्भर। कच्चा डेटा WARC (पूर्ण HTML) या WET (निकाला टेक्स्ट) आता है; WET में बहुत boilerplate रहता है, इसलिए FineWeb WARC से Trafilatura से टेक्स्ट निकालता है, जिससे बेहतर मॉडल प्रशिक्षित होता है।

- शोधपत्र विश्लेषण: [FineWeb: Extracting, Deduplicating and Filtering a 15T-Token Open Web Corpus, One Ablation at a Time](https://dmxsf.com/hi/blog/the-fineweb-datasets-decanting-the-web-for-the-finest-text-data-at-scale/)
- यह भी देखें: [FineWeb](https://dmxsf.com/hi/glossary/#fineweb), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication)

### Compressed Sparse Attention 2 (CSA2)

DeepSeek-V4.1-Flash की attention संरचना। हर layer स्थिर रूप से Full (अपनी मुख्य KV और indexer K गणना करती है और ऊँचे-512 चुनती है), Reindex (नवीनतम Full layer की मुख्य KV और indexer K पुनः उपयोग करती है पर अपने indexer Q से पुनः स्कोर करती है) या Reuse (मुख्य KV और अंतिम चयन पुनः उपयोग, indexer नहीं)। Cache sharing और चयन-पुनः उपयोग अलग: 40 layers में केवल 4 वैश्विक KV बनाती हैं।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [DeepSeek Sparse Attention](https://dmxsf.com/hi/glossary/#dsa), [Lightning indexer](https://dmxsf.com/hi/glossary/#lightning-indexer), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Sliding-window attention](https://dmxsf.com/hi/glossary/#sliding-window-attention), [Hierarchical sparse indexer](https://dmxsf.com/hi/glossary/#hierarchical-sparse-indexer)

### Compute-optimal test-time scaling

हर समस्या के लिऔ अलग test-time रणनीति चुनना (जैसे समानांतर sampling और संशोधन में बँटवारा) ताकि बजट के भीतर सही उत्तर की सबसे बड़ी संभावना रहे। Snell et al. (2024) समस्याओं को मॉडल की pass rate से 5 कठिनाई स्तरों में बाँटते हैं, प्रति बिन सर्वश्रेष्ठ रणनीति चुनते हैं, और MATH पर best-of-N से 4 गुना तक कम compute की रिपोर्ट करते हैं, कठिनाई आकलन छोड़कर।

- शोधपत्र विश्लेषण: [Scaling LLM Test-Time Compute Optimally: Spending Inference Compute by Difficulty Can Beat a Bigger Model](https://dmxsf.com/hi/blog/scaling-llm-test-time-compute-optimally-can-be-more-effective-than-scaling-model-parameters/)
- यह भी देखें: [Test-time compute](https://dmxsf.com/hi/glossary/#test-time-compute), [Best-of-N sampling](https://dmxsf.com/hi/glossary/#best-of-n), [pass@k](https://dmxsf.com/hi/glossary/#pass-at-k)

### Confidence interval

नापी गई संख्या के इर्द-गिर्द संभव परास। n प्रश्नों पर नापी सटीकता p का standard error sqrt(p(1−p)/n) होता है और 95% अंतराल लगभग p ± 1.96 standard errors; 164 प्रश्नों पर 80% के लिए लगभग ±6.1 अंक।

- पूरा पाठ पढ़ें: [Eval statistics: pass@k, confidence intervals aur needed sample size](https://dmxsf.com/hi/wiki/evaluation/eval-statistics/)
- यह भी देखें: [Benchmark](https://dmxsf.com/hi/glossary/#benchmark), [pass@k](https://dmxsf.com/hi/glossary/#pass-at-k)

### Confused deputy

सुरक्षा समस्या जिसमें विशेषाधिकारी program (deputy) बिना विशेषाधिकार वाले पक्ष से छल कर अपने अधिकार उसकी ओर से इस्तेमाल करने को धोखा खाता है। MCP में जब proxy server तीसरे पक्ष के authorization server के साथ static client ID उपयोग करे, हमलावर उपयोगकर्ता की मौजूदा consent cookie का फ़ायदा उठाकर authorization code पा सकता है; बचाव प्रत्येक dynamically registered client के लिऔ अलग consent है।

- पूरा पाठ पढ़ें: [MCP aur tool ecosystem: protocol kaise chalta hai, tools zyada hon to kya](https://dmxsf.com/hi/wiki/applications/mcp-and-tool-ecosystem/)
- यह भी देखें: [Model Context Protocol](https://dmxsf.com/hi/glossary/#mcp), [Prompt injection](https://dmxsf.com/hi/glossary/#prompt-injection)

### Consistency model

Song et al. (2023) का कुछ-चरण generative model: वह ऐसा फलन सीखता है जो ODE राह के किसी भी बिंदु को सीधे राह के सिरे, साफ़ नमूने, पर ले जाए, ताकि एक चरण बनाने के लिए काफ़ी हो और कुछ और चरण compute के बदले गुणवत्ता खरीदें। यह pretrained diffusion model से distill या शुरू से प्रशिक्षित हो सकता है।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- यह भी देखें: [Rectified flow](https://dmxsf.com/hi/glossary/#rectified-flow), [Denoising Diffusion Implicit Models](https://dmxsf.com/hi/glossary/#ddim)

### Constitutional AI

Anthropic की alignment विधि: मॉडल अपने उत्तरों की लिखे सिद्धांतों के अनुसार आलोचना और संशोधन करता है, फिर AI से बने preferences reinforcement learning चलाते हैं, जिससे मानव labels की ज़रूरत घटती है।

- शोधपत्र विश्लेषण: [Constitutional AI: Harmlessness from AI Feedback](https://dmxsf.com/hi/blog/constitutional-ai-harmlessness-from-ai-feedback/)
- यह भी देखें: [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [Alignment](https://dmxsf.com/hi/glossary/#alignment)

### Constrained decoding

हर decoding चरण पर वे tokens निकालना जो आउटपुट को लक्ष्य format (regex, व्याकरण या JSON Schema) के भीतर रखें, बाकी सब tokens के logits ऋणात्मक अनंत सेट करके sample करना, ताकि आउटपुट हमेशा वैध prefix हो। लागूकर्ण प्रायः format को automaton में compile करके vocabulary से जोड़ते हैं।

- अन्य नाम: Grammar-constrained decoding
- पूरा पाठ पढ़ें: [Structured output aur function calling: JSON mode se constrained decoding tak](https://dmxsf.com/hi/wiki/applications/structured-output-and-function-calling/)
- यह भी देखें: [Structured output](https://dmxsf.com/hi/glossary/#structured-output), [JSON Schema](https://dmxsf.com/hi/glossary/#json-schema), [Temperature](https://dmxsf.com/hi/glossary/#temperature)

### Context engineering

मॉडल कॉल के token बजट के भीतर निर्देश, tool परिभाषाएँ, पूरा इतिहास, retrieval और स्मृति को जोड़ना, जिसमें हर मद का स्रोत और उद्देश्य स्पष्ट हो।

- पूरा पाठ पढ़ें: [Agent context engineering aur long-term memory: window, versions, state](https://dmxsf.com/hi/wiki/applications/context-and-memory/)
- यह भी देखें: [Context window](https://dmxsf.com/hi/glossary/#context-window), [Agent harness](https://dmxsf.com/hi/glossary/#agent-harness)

### Context parallelism (CP)

एक लंबे sequence को लंबाई के अनुसार कई devices में बाँटना और attention से पहले उनकी keys-values इकट्ठा करना। Llama 3 sequence को 2×CP chunks में काटकर हर device पर एक head chunk को एक tail chunk से जोड़ता है, ताकि causal mask के अधीन भार संतुलित रहे।

- पूरा पाठ पढ़ें: [Long context: स्थिति extrapolation, प्रशिक्षण नुस्खा व लागत](https://dmxsf.com/hi/wiki/architecture/long-context/)
- यह भी देखें: [Tensor parallelism](https://dmxsf.com/hi/glossary/#tensor-parallelism), [Pipeline parallelism](https://dmxsf.com/hi/glossary/#pipeline-parallelism), [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism)

### Context window

मॉडल एक बार में जितने अधिकतम tokens सँभाल सकता है, जिसमें prompt और आउटपुट दोनों शामिल हैं। इससे बाहर की सामग्री काटनी पड़ती है या retrieval या summarization से सिमटानी पड़ती है।

- अन्य नाम: Context length
- पूरा पाठ पढ़ें: [Long context: स्थिति extrapolation, प्रशिक्षण नुस्खा व लागत](https://dmxsf.com/hi/wiki/architecture/long-context/)
- शोधपत्र विश्लेषण: [Lost in the Middle: Models Use the Start and End of a Long Context Best](https://dmxsf.com/hi/blog/lost-in-the-middle/)
- यह भी देखें: [Token](https://dmxsf.com/hi/glossary/#token), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Rotary position embedding](https://dmxsf.com/hi/glossary/#rope), [Needle in a haystack](https://dmxsf.com/hi/glossary/#needle-in-a-haystack)

### Continuous batching

पूरे batch का अंत इंतज़ार करने के बजाय हर decoding पुनरावृत्ति पर नए अनुरोध जोड़ना और पूरे हुए हटाना, जिससे GPU उपयोग काफ़ी बढ़ता है। Iteration-level scheduling भी कहते हैं।

- पूरा पाठ पढ़ें: [Continuous batching aur PagedAttention: service kai requests ek saath kaise](https://dmxsf.com/hi/wiki/inference/continuous-batching/)
- यह भी देखें: [Throughput](https://dmxsf.com/hi/glossary/#throughput), [PagedAttention](https://dmxsf.com/hi/glossary/#pagedattention)

### Continuous normalizing flow (CNF)

ODE dx/dt = v_t(x) से परिभाषित generative model, जिसका vector field एक neural network है: यह साधारण distribution जैसे standard Gaussian को डेटा distribution में ले जाता है और सही likelihoods देता है। Maximum-likelihood प्रशिक्षण को प्रशिक्षण के दौरान ODE solve करना पड़ता है, जो महँगा है; flow matching यह चरण हटा देता है।

- शोधपत्र विश्लेषण: [Flow Matching: Regress a Fixed Path's Vector Field and Train Continuous Normalizing Flows Without Simulation](https://dmxsf.com/hi/blog/flow-matching-for-generative-modeling/)
- यह भी देखें: [Flow matching](https://dmxsf.com/hi/glossary/#flow-matching)

### Contrastive learning

प्रतिनिधित्व-सीखने की विधि जो मेल खाते नमूनों को पास और न खाते को दूर धकेलती है, जैसे CLIP का image-text contrastive loss।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- यह भी देखें: [CLIP](https://dmxsf.com/hi/glossary/#clip), [Embedding](https://dmxsf.com/hi/glossary/#embedding)

### Copy-on-write

जब कई sequences एक physical block साझा करें, system उसका reference count रखता है; जिस sequence को count एक से ऊपर वाले block में लिखना हो, वह पहले उसे private block में नक़ल करता है, बाकी मूल रखते हैं। vLLM इससे parallel samples, beam search candidates और साझा prefixes में KV cache बाँटता है, जैसा ऑपरेटिंग सिस्टम process fork में करता है।

- अन्य नाम: COW
- शोधपत्र विश्लेषण: [vLLM and PagedAttention: Managing the KV Cache Like Paged Memory](https://dmxsf.com/hi/blog/vllm-pagedattention/)
- यह भी देखें: [Block table](https://dmxsf.com/hi/glossary/#block-table), [Parallel sampling](https://dmxsf.com/hi/glossary/#parallel-sampling), [Beam search](https://dmxsf.com/hi/glossary/#beam-search), [Prefix caching](https://dmxsf.com/hi/glossary/#prefix-caching)

### Counterfactual robustness

चार RAG क्षमताओं में से एक: खींचे documents में ज्ञात त्रुटियाँ हों तो मॉडल को जोखिम पहचानकर भटकना नहीं, चाहे निर्देश चेतावनी दे कि documents ग़लत हो सकते हैं। RGB ऐसे प्रश्न चुनता है जिनके उत्तर मॉडल सीधे दे सकता है और documents में उत्तर बिगाड़ देता है; मॉडल फिर भी अपने ज्ञान से ऊपर खींची सामग्री पर भरोसा करते हैं।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Noise robustness](https://dmxsf.com/hi/glossary/#noise-robustness), [Negative rejection](https://dmxsf.com/hi/glossary/#negative-rejection), [Hallucination](https://dmxsf.com/hi/glossary/#hallucination)

### Credit assignment

Reinforcement learning की मूल समस्या: क्रियाओं की बारी के बाद केवल एक विलंबित reward आता है, और learner को तय करना है कि कौन-सी क्रियाएँ श्रेय या दोष की पात्र हैं। Process rewards संकेत को हर चरण तक महीन कर देते हैं और credit assignment सरल करते हैं, जबकि केवल अंतिम परिणाम देखने वाला reward विरल है और समाधान लंबे होने पर सीखना और कठिन होता है।

- शोधपत्र विश्लेषण: [Let's Verify Step by Step: Scoring Every Reasoning Step Beats Checking Only the Final Answer](https://dmxsf.com/hi/blog/lets-verify-step-by-step/)
- यह भी देखें: [Process reward model](https://dmxsf.com/hi/glossary/#prm), [Outcome reward model](https://dmxsf.com/hi/glossary/#orm), [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo)

### Critical batch size

इस batch size तक बढ़ाने पर compute दक्षता लगभग नहीं गिरती और training चरण घटते हैं; उसके बाद प्रतिफल घटता है। McCandlish et al. (2018) ने पेश किया; Kaplan et al. ने पाया कि यह केवल प्राप्त loss पर निर्भर है, मॉडल आकार पर नहीं, और loss की हर 13% गिरावट पर लगभग दोगुना होता है।

- शोधपत्र विश्लेषण: [Scaling Laws for Neural Language Models](https://dmxsf.com/hi/blog/scaling-laws-for-neural-language-models/)
- यह भी देखें: [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law), [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism)

### Critique और revision (Critique and revision)

मॉडल पहले सिद्धांत के अधीन अपने उत्तर की आलोचना करता है, फिर आलोचना के आलोक में उसे फिर लिखता है; संशोधन और राउंड चल सकते हैं और अंत में fine-tuning डेटा बनते हैं। Constitutional AI का supervised चरण हर red-team prompt पर 4 राउंड चलाता है, हर राउंड 16 में से यादृच्छिक चुना एक सिद्धांत। आलोचनाओं ने छोटे मॉडलों को मदद दी, बड़ों को नहीं।

- शोधपत्र विश्लेषण: [Constitutional AI: Harmlessness from AI Feedback](https://dmxsf.com/hi/blog/constitutional-ai-harmlessness-from-ai-feedback/)
- यह भी देखें: [Constitutional AI](https://dmxsf.com/hi/glossary/#constitutional-ai), [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft), [RLAIF](https://dmxsf.com/hi/glossary/#rlaif)

### Cross-attention

वह अटेंशन जिसमें queries एक sequence से और keys, values दूसरे से आते हैं। Encoder-decoder अनुवाद मॉडल और कुछ multimodal मॉडल इससे decoder को input देखने देते हैं।

- पूरा पाठ पढ़ें: [Transformer attention तंत्र की शुरुआत](https://dmxsf.com/hi/wiki/architecture/attention-basics/)
- यह भी देखें: [Self-attention](https://dmxsf.com/hi/glossary/#self-attention), [Encoder-decoder मॉडल](https://dmxsf.com/hi/glossary/#encoder-decoder), [Vision-language model](https://dmxsf.com/hi/glossary/#vlm)

### Cross-entropy

वह loss जो मॉडल के भविष्यवानी वितरण q की सही वितरण p से दूरी नापता है: H(p, q) = −Σ p log q। भाषा-मॉडल pretraining सही अगले token का cross-entropy घटाती है।

- पूरा पाठ पढ़ें: [सूचना सिद्धांत की समीक्षा: entropy, cross-entropy और KL divergence](https://dmxsf.com/hi/wiki/foundations/information-theory/)
- यह भी देखें: [Perplexity](https://dmxsf.com/hi/glossary/#perplexity), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence), [Next-token prediction](https://dmxsf.com/hi/glossary/#next-token-prediction)

## D

### DAPO (DAPO)

ByteDance Seed और साझेदारों का 2025 में खुला reasoning reinforcement learning एल्गोरिद्म। GRPO के ऊपर चार तरकीबें: अलग-अलग सीमाओं वाला Clip-Higher, सब-सही या सब-ग़लत prompts छानने वाली dynamic sampling, उत्तरों के बजाय tokens पर औसत loss, और लंबे उत्तरों के लिए reward shaping, साथ ही KL penalty हटाना। Qwen2.5-32B base से AIME 2024 पर 50 अंक।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [DAPO: An Open-Source Reasoning RL System and the Four Tricks That Keep GRPO Stable on Long Chains of Thought](https://dmxsf.com/hi/blog/dapo-open-source-llm-reinforcement-learning-system-at-scale/)
- यह भी देखें: [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Clip-Higher](https://dmxsf.com/hi/glossary/#clip-higher), [Dynamic sampling](https://dmxsf.com/hi/glossary/#dynamic-sampling)

### Data ablation

मॉडल, बजट और मूल्यांकन स्थिर रखकर एक बार में डेटा-प्रक्रिया का एक चरण बदलना, हर version का नियंत्रित मॉडल प्रशिक्षित करके downstream स्कोर तुलना करना। FineWeb ने 1.71B Llama-शैली मॉडल, छँटाई ablations के लिए 28B tokens और deduplication के लिए 350B रखे, प्रति version दो मॉडलों का औसत, और कम seed परिवर्तन व लगभग एकदिष्ट curves वाले benchmarks। छोटे पैमाने के परिणाम आगे नहीं चल सकते।

- शोधपत्र विश्लेषण: [FineWeb: Extracting, Deduplicating and Filtering a 15T-Token Open Web Corpus, One Ablation at a Time](https://dmxsf.com/hi/blog/the-fineweb-datasets-decanting-the-web-for-the-finest-text-data-at-scale/)
- यह भी देखें: [FineWeb](https://dmxsf.com/hi/glossary/#fineweb), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication), [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law)

### Data mixture

Pretraining नमूनों में हर स्रोत (web टेक्स्ट, code, गणित, बहुभाषी डेटा आदि) का हिस्सा। मिश्रण हर domain का validation loss बदलता है, इसलिए प्रति domain मूल्यांकन करो; एक औसत समझौते छिपा देता है।

- पूरा पाठ पढ़ें: [बड़े मॉडल की प्रशिक्षण pipeline का पूरा दृश्य](https://dmxsf.com/hi/wiki/pretraining/training-pipeline/)
- यह भी देखें: [Deduplication](https://dmxsf.com/hi/glossary/#deduplication), [Pretraining](https://dmxsf.com/hi/glossary/#pretraining), [Bits per byte](https://dmxsf.com/hi/glossary/#bits-per-byte), [DoReMi](https://dmxsf.com/hi/glossary/#doremi), [Data-constrained scaling](https://dmxsf.com/hi/glossary/#data-constrained-scaling)

### Data parallelism

हर device मॉडल की पूरी प्रति रखता है और भिन्न batch प्रक्रित करता है; gradients backward pass के बाद समक्रमित होते हैं।

- पूरा पाठ पढ़ें: [Distributed training का परिचय: data, tensor व pipeline parallelism](https://dmxsf.com/hi/wiki/pretraining/distributed-training/)
- यह भी देखें: [Tensor parallelism](https://dmxsf.com/hi/glossary/#tensor-parallelism), [Pipeline parallelism](https://dmxsf.com/hi/glossary/#pipeline-parallelism), [ZeRO](https://dmxsf.com/hi/glossary/#zero)

### Data pyramid

GR00T N1 प्रशिक्षण डेटा की संरचना: आधार पर web डेटा और मानव videos, बीच में synthetic डेटा (simulation और neural trajectories), शीर्ष पर वास्तविक teleoperated robot डेटा, हर layer लक्ष्य robot के और पास। बिना क्रियाओं वाली layers को latent-action या inverse-dynamics labels मिलते हैं। Table 7 के घंटों के हिसाब से यह मात्रा का pyramid नहीं: वास्तविक robot डेटा (3,288.8 घंटे) सबसे बड़ा है।

- शोधपत्र विश्लेषण: [GR00T N1: A Data Pyramid and a Dual-System Model for Generalist Humanoid Robots](https://dmxsf.com/hi/blog/gr00t-n1-an-open-foundation-model-for-generalist-humanoid-robots/)
- यह भी देखें: [Open X-Embodiment](https://dmxsf.com/hi/glossary/#open-x-embodiment), [Latent action](https://dmxsf.com/hi/glossary/#latent-action), [Neural trajectory](https://dmxsf.com/hi/glossary/#neural-trajectory)

### Data-constrained scaling

जब उच्च-गुणवत्ता डेटा ख़त्म हो जाए तो दोहराया डेटा कितना काम आता है। Muennighoff et al. (2023) ने effective-data सूत्र D′ = U + U·R*·(1−e^(−R/R*)) फ़िट किया, जहाँ U अनोखे tokens, R दोहराव और R* लगभग 15। लगभग 4 epochs तक दोहराया डेटा ताज़ा डेटा जैसा है; उसके बाद प्रतिफल तेज़ी से गिरता है और सूत्र ताज़ा डेटा की 1+R* प्रतियों पर रुक जाता है।

- अन्य नाम: Effective data
- पूरा पाठ पढ़ें: [Pretraining data engineering: छँटाई, dedup व मिश्रण](https://dmxsf.com/hi/wiki/pretraining/data-engineering/)
- यह भी देखें: [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law), [Data mixture](https://dmxsf.com/hi/glossary/#data-mixture)

### DCLM

DataComp-LM (Li et al., 2024): ऐसा benchmark जो नियत recipe के अधीन केवल डेटा बदलकर pretraining datasets की तुलना करता है, लगभग 240T tokens के Common Crawl pool और 53 downstream मूल्यांकनों के साथ। उसका DCLM-Baseline dataset OpenHermes 2.5 और ELI5 positives पर प्रशिक्षित fastText classifier के अधीन ऊपरी 10% documents रखता है; उस पर 2.6T tokens पर प्रशिक्षित 7B मॉडल MMLU पर 64% पाता है।

- अन्य नाम: DataComp-LM
- पूरा पाठ पढ़ें: [Pretraining data engineering: छँटाई, dedup व मिश्रण](https://dmxsf.com/hi/wiki/pretraining/data-engineering/)
- यह भी देखें: [Model-based filtering](https://dmxsf.com/hi/glossary/#model-based-filtering), [FineWeb](https://dmxsf.com/hi/glossary/#fineweb), [Common Crawl](https://dmxsf.com/hi/glossary/#common-crawl)

### De-tokenizer

पुराने मॉडलों के लिए dataset में छूटे pre-processing को उलटना: विराम से पहले स्पेस, हाइफ़न के लिए @-@ जैसे placeholders, बाँटे contractions। GPT-2 paper ने उलटने योग्य de-tokenizers उपयोग किए, ताकि प्रायिकताएँ मूल टेक्स्ट पर लौटें, और उनसे 2.5 से 5 perplexity के लाभ रिपोर्ट किए। इस पृष्ठ का heuristic वाला उलटने योग्य होना साबित नहीं।

- पूरा पाठ पढ़ें: [भाषा मॉडलिंग से अगले टोकन की भविष्यवाणी तक](https://dmxsf.com/hi/wiki/foundations/next-token-prediction/)
- शोधपत्र विश्लेषण: [GPT-1, GPT-2, GPT-3: From Fine-Tuning to In-Context Learning, Recomputed from the Papers](https://dmxsf.com/hi/blog/gpt-series-evolution/)
- यह भी देखें: [Per-word perplexity](https://dmxsf.com/hi/glossary/#per-word-perplexity), [Perplexity](https://dmxsf.com/hi/glossary/#perplexity), [Tokenizer](https://dmxsf.com/hi/glossary/#tokenizer)

### Dead latent

Sparse autoencoder की ऐसी dictionary प्रविष्टि जो कभी (या लगभग कभी) सक्रिय नहीं होती, क्षमता की बर्बादी। Templeton et al. (2024) के Claude 3 Sonnet पर प्रशिक्षित तीन SAEs में, लगभग 1M, 4M और 34M features के साथ, लगभग 2%, 35% और 65% features dead थीं; Gao et al. (2024) TopK SAE के ऐसे बदलाव पाए जिनमें सबसे बड़े पैमाने पर भी कुछ ही dead latents रहते हैं।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Sparse autoencoder](https://dmxsf.com/hi/glossary/#sparse-autoencoder)

### Decision Transformer (DT)

Offline RL विधि (Chen et al., 2021): trajectories (return-to-go, state, action) tokens की बारी के रूप में बदल दी जाती हैं, और causal GPT supervised loss से हर state token पर क्रिया भविष्यवानी सीखता है; न value function, न policy gradient। परीक्षण पर लक्ष्य return से prompt होता है। बाद के शोध ने पाया कि Transformer नहीं, return शर्त ही सबसे मायने रखती है, और यह यादृच्छिक स्थितियों में फेल होता है।

- शोधपत्र विश्लेषण: [Decision Transformer: Reinforcement Learning as Conditional Sequence Modeling](https://dmxsf.com/hi/blog/decision-transformer-reinforcement-learning-via-sequence-modeling/)
- यह भी देखें: [Returns-to-go](https://dmxsf.com/hi/glossary/#returns-to-go), [Return-conditioned supervised learning](https://dmxsf.com/hi/glossary/#rcsl), [Behavior cloning](https://dmxsf.com/hi/glossary/#behavior-cloning), [Causal mask](https://dmxsf.com/hi/glossary/#causal-mask)

### Decoder-only मॉडल (Decoder-only model)

वह architecture जो causal mask के साथ केवल decoder layers का ढेर रखता है और autoregressively बनाता है। GPT, Llama, Qwen और DeepSeek सब decoder-only हैं।

- पूरा पाठ पढ़ें: [आधुनिक मॉडल architecture: GPT-2 से Llama, Qwen व DeepSeek तक](https://dmxsf.com/hi/wiki/architecture/modern-llm-architecture/)
- यह भी देखें: [Encoder-decoder मॉडल](https://dmxsf.com/hi/glossary/#encoder-decoder), [Causal mask](https://dmxsf.com/hi/glossary/#causal-mask), [Autoregressive generation](https://dmxsf.com/hi/glossary/#autoregressive)

### Decontamination

मूल्यांकन सेट से टकराने वाली हर चीज़ हटाना: प्रशिक्षण से पहले benchmark items के साथ लंबा खंड साझा करने वाले documents हटाना, या स्कोर केवल बिना-टकराव साफ़ उपसमुच्चय पर रिपोर्ट करना। सामान्य औज़ार n-gram overlap है, जो शब्दशः प्रतिलिपियाँ ही पकड़ता है; paraphrase या अनूदित रिसावों के लिए मॉडल-आधारित पहचान या प्रशिक्षण cutoff के बाद लिखे items चाहिए।

- पूरा पाठ पढ़ें: [Benchmark contamination: kaise banti hai, kaise pakdein, kaise bachein](https://dmxsf.com/hi/wiki/evaluation/benchmark-contamination/)
- यह भी देखें: [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination), [N-gram overlap](https://dmxsf.com/hi/glossary/#n-gram-overlap), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication)

### Decoupled RoPE

MLA जिस तरह निम्न-rank key-value compression के साथ संगत रहता है। RoPE स्थिति पर निर्भर है, इसलिए उसे up-projected keys पर लगाने से key up-projection का query में समा जाना रुक जाता। एक छोटा अतिरिक्त खंड (प्रति head एक query और सब heads का साझा एक key) RoPE ले जाता है और बिना-स्थिति वाले सामग्री भाग के साथ जोड़ा जाता है; साझा key भी cache होती है।

- पूरा पाठ पढ़ें: [कुशल attention: MQA, GQA, MLA व FlashAttention](https://dmxsf.com/hi/wiki/architecture/efficient-attention/)
- शोधपत्र विश्लेषण: [DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model](https://dmxsf.com/hi/blog/deepseek-v2-strong-economical-efficient-mixture-of-experts/)
- यह भी देखें: [Multi-head latent attention](https://dmxsf.com/hi/glossary/#mla), [Rotary position embedding](https://dmxsf.com/hi/glossary/#rope)

### Deduplication

Training corpus से प्रतिलिपियाँ और लगभग-प्रतिलिपियाँ हटाना (प्रायः MinHash से), जिससे memorization और benchmark leakage घटते हैं और प्रशिक्षण दक्षता बढ़ती है।

- पूरा पाठ पढ़ें: [Pretraining data engineering: छँटाई, dedup व मिश्रण](https://dmxsf.com/hi/wiki/pretraining/data-engineering/)
- शोधपत्र विश्लेषण: [FineWeb: Extracting, Deduplicating and Filtering a 15T-Token Open Web Corpus, One Ablation at a Time](https://dmxsf.com/hi/blog/the-fineweb-datasets-decanting-the-web-for-the-finest-text-data-at-scale/)
- यह भी देखें: [Pretraining](https://dmxsf.com/hi/glossary/#pretraining), [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination), [MinHash](https://dmxsf.com/hi/glossary/#minhash), [Locality-sensitive hashing](https://dmxsf.com/hi/glossary/#locality-sensitive-hashing), [Suffix array](https://dmxsf.com/hi/glossary/#suffix-array), [Memorization](https://dmxsf.com/hi/glossary/#memorization)

### Deep Q-network (DQN)

Q-learning जिसमें convolutional network क्रिया-मूल्य फलन Q(s, a) का अनुमान लगाता है: input पिछले 4 frames, आउटपुट हर क्रिया का एक Q मान, और experience replay व reward clipping प्रशिक्षण स्थिर करते हैं। DeepMind का 2013 पेपर इसे उच्च-विमीय input से reinforcement learning से नियंत्रण policies सीखने वाला पहला deep model कहता है; 2015 संस्करण ने target network जोड़ा।

- शोधपत्र विश्लेषण: [DQN: Learning to Play Atari from Pixels with a Convolutional Q-Network and Experience Replay](https://dmxsf.com/hi/blog/dqn-playing-atari-with-deep-reinforcement-learning/)
- यह भी देखें: [Experience replay](https://dmxsf.com/hi/glossary/#experience-replay), [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo)

### DeepSeek Sparse Attention (DSA)

DeepSeek-V3.2 का sparse attention। एक छोटा lightning indexer हर query के लिऔ पहले के हर token को स्कोर देता है, ऊपरी 2048 रखे जाते हैं, और core attention केवल उन्हीं पर चलता है, जिससे उसकी लागत O(L²) से O(Lk) हो जाती है। चयन सामग्री पर निर्भर है और मनमानी दूर तक पहुँच सकता है; indexer O(L²) रहता है पर प्रति token जोड़ी core attention का लगभग 5.9% है। Dense मॉडल में continued training से जोड़ा गया।

- पूरा पाठ पढ़ें: [कुशल attention: MQA, GQA, MLA व FlashAttention](https://dmxsf.com/hi/wiki/architecture/efficient-attention/)
- शोधपत्र विश्लेषण: [DeepSeek-V3.2: Sparse Attention, Scaled-Up RL and Synthetic Agent Tasks](https://dmxsf.com/hi/blog/deepseek-v32-pushing-the-frontier-of-open-large-language-models/)
- यह भी देखें: [Lightning indexer](https://dmxsf.com/hi/glossary/#lightning-indexer), [Multi-head latent attention](https://dmxsf.com/hi/glossary/#mla), [Top-k sampling](https://dmxsf.com/hi/glossary/#top-k), [Sliding-window attention](https://dmxsf.com/hi/glossary/#sliding-window-attention), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache)

### Delta rule

नियत आकार state वाले मॉडलों का लेखन नियम: key के अधीन सँजोई वर्तमान value पढ़ो, फिर केवल अंतर वापस लिखो, S ← S + β k (v − Sᵀk)ᵀ। यह key से value भविष्यवानी करने वाले रेखीय मॉडल पर एक gradient चरण है, इसलिऔ उसी key फिर लिखने पर पुराना मान साफ़ बदल जाता है, जबकि जोड़ने वाला लेखन पुराना-नया योग लौटाता है। DeltaNet और Gated DeltaNet में प्रयुक्त।

- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- यह भी देखें: [Linear attention](https://dmxsf.com/hi/glossary/#linear-attention), [Gated DeltaNet](https://dmxsf.com/hi/glossary/#gated-deltanet)

### Denoising Diffusion Implicit Models (DDIM)

Diffusion model से sampling का एक तरीका: वही प्रशिक्षित noise-भविष्यवानी network पुनः इस्तेमाल करता है पर diffusion चरण छोड़कर, noise से डेटा तक निश्चयात्मक रूप से (eta = 0 के साथ) denoise करता है। इसलिए inference प्रशिक्षण से बहुत कम चरणों में चल सकता है (उदाहरण: 100 प्रशिक्षण चरण, 10 inference चरण), कुछ sample गुणवत्ता की कीमत पर।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- यह भी देखें: [Denoising diffusion probabilistic model](https://dmxsf.com/hi/glossary/#ddpm), [Diffusion model](https://dmxsf.com/hi/glossary/#diffusion-model)

### Denoising diffusion probabilistic model (DDPM)

Ho et al. (2020) का diffusion model: T=1000 चरणों की forward प्रक्रिया जिसमें variances 1e-4 से 0.02 तक रेखीय बढ़ते हैं, हर चरण का noise भविष्यवानी करने वाला network, भारहीन औसत वर्ग त्रुटि (L_simple) का loss, और Gaussian noise से चरण-दर-चरण denoise करने वाली sampling। इसने unconditional CIFAR-10 पर FID 3.17 हासिल किया।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- शोधपत्र विश्लेषण: [DDPM: Add Noise Step by Step, Learn to Remove It Step by Step, and Train with a Simple Noise-Prediction Loss](https://dmxsf.com/hi/blog/ddpm-denoising-diffusion-probabilistic-models/)
- यह भी देखें: [Diffusion model](https://dmxsf.com/hi/glossary/#diffusion-model)

### Device memory

Accelerator के लिए सुलभ स्मृति, जिसमें weights, बीच के tensors और caches रहते हैं। अलग GPUs में प्रायः समर्पित स्मृति होती है, जबकि unified-memory system host के साथ भौतिक स्मृति साझा कर सकता है।

- पूरा पाठ पढ़ें: [बड़े मॉडलों का hardware परिचय: CPU, GPU, मेमोरी और data का आवागमन](https://dmxsf.com/hi/wiki/systems/hardware-basics/)
- यह भी देखें: [Arithmetic intensity](https://dmxsf.com/hi/glossary/#arithmetic-intensity)

### Device-limited routing

DeepSeek-V2 की MoE routing सीमा: पहले वे M devices चुनो जिन पर सर्वाधिक affinity वाले experts हैं (V2 में M=3), फिर top-K केवल उन्हीं devices के experts में से चुनो, ताकि हर token के experts अधिकतम M devices पर रहें। Expert parallelism में यह cross-device संचार सीमित करता है।

- पूरा पाठ पढ़ें: [Mixture of Experts (MoE): routing, load balancing व sparse activation](https://dmxsf.com/hi/wiki/architecture/mixture-of-experts/)
- शोधपत्र विश्लेषण: [DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model](https://dmxsf.com/hi/blog/deepseek-v2-strong-economical-efficient-mixture-of-experts/)
- यह भी देखें: [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe), [Router](https://dmxsf.com/hi/glossary/#router), [Expert parallelism](https://dmxsf.com/hi/glossary/#expert-parallelism)

### Differential attention

दो softmax attention maps सीखे coefficient से घटाकर साझा noise रद्द करते हैं। ऋणात्मक भार संभव होते हैं, इसलिऔ नतीजा साधारण प्रायिकता distribution नहीं।

- शोधपत्र विश्लेषण: [Differential Transformer: Subtract two attention maps to suppress noise](https://dmxsf.com/hi/blog/differential-transformer/)
- यह भी देखें: [Transformer](https://dmxsf.com/hi/glossary/#transformer)

### Differential privacy

गणितीय गारंटी वाली निजता परिभाषा: कोई एक record जोड़ने या हटाने से किसी भी आउटपुट की प्रायिकता अधिकतम e^ε के गुणक तक बदलती है, जिसमें δ जुड़ता है। DP-SGD (Abadi et al., 2016) प्रति-उदाहरण gradients काटकर noise मिलाता है। निजता की इकाई (वाक्य, document, उपयोगकर्ता) पहले चुननी होती है; इसकी कीमत compute और उपयोगिता है, pretrained मॉडलों के fine-tuning में कम (Yu et al., 2021)।

- अन्य नाम: DP, DP-SGD
- पूरा पाठ पढ़ें: [Memorization aur privacy](https://dmxsf.com/hi/wiki/safety/memorization-and-privacy/)
- यह भी देखें: [Memorization](https://dmxsf.com/hi/glossary/#memorization), [Membership inference](https://dmxsf.com/hi/glossary/#membership-inference)

### Diffusion language model

Discrete diffusion से टेक्स्ट बनाना: forward process tokens को यादृच्छिक दर पर mask symbol से बदलता है, और द्विदिशी Transformer उन्हें लौटाना सीखता है; generation सब-mask sequence से शुरू होकर कई चरणों में शब्द भरती है, बाएँ से दाएँ के बजाय कई स्थितियाँ समानांतर भविष्यवानी करती है। LLaDA (Nie et al., 2025) ने इस प्रकार का 8B-parameter मॉडल प्रशिक्षित किया।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)

### Diffusion model

generative models का एक परिवार: एक निश्चित forward process धीरे-धीरे डेटा में noise मिलाकर उसे पूरे noise में बदल देता है, और एक neural network उल्टी प्रक्रिया सीखता है; जनन शुद्ध noise से शुरू होकर चरण-दर-चरण denoise करता है। प्रशिक्षण प्रायः हर चरण में मिलाए गए noise की भविष्यवानी तक सिमट जाता है, जो सरल regression है; कीमत यह है कि sampling को कई क्रमिक network evaluations चाहिए।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- शोधपत्र विश्लेषण: [DDPM: Add Noise Step by Step, Learn to Remove It Step by Step, and Train with a Simple Noise-Prediction Loss](https://dmxsf.com/hi/blog/ddpm-denoising-diffusion-probabilistic-models/)
- यह भी देखें: [Denoising diffusion probabilistic model](https://dmxsf.com/hi/glossary/#ddpm), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence)

### Diffusion Policy

शर्त के साथ conditional diffusion model के रूप में लिखी गई robot visuomotor policy: observation देखकर Gaussian noise से शुरू होकर भविष्य की क्रियाओं की sequence को चरण-दर-चरण denoise करती है। यह एक observation की कई वैध क्रियाएँ (multimodality) दर्शा सकती है और noise regression से सीखती है, energy-based models जैसा कोई normalization constant आकलन नहीं करना पड़ता।

- शोधपत्र विश्लेषण: [Diffusion Policy: Generating Robot Action Sequences by Conditional Denoising](https://dmxsf.com/hi/blog/diffusion-policy-visuomotor-policy-learning-via-action-diffusion/)
- यह भी देखें: [Behavior cloning](https://dmxsf.com/hi/glossary/#behavior-cloning), [Action chunking](https://dmxsf.com/hi/glossary/#action-chunking), [Denoising diffusion probabilistic model](https://dmxsf.com/hi/glossary/#ddpm)

### Diffusion Transformer (DiT)

Peebles और Xie (2022) ने diffusion U-Net को Transformer से बदला: latent p×p patches में कटती है, position encodings के साथ token sequence में embedded होती है, और timestep व class शर्त adaptive layer norm (adaLN-Zero) से आती है। अधिक Gflops ने निम्न FID दिया; DiT-XL/2 guidance के साथ ImageNet 256×256 पर FID 2.27 तक पहुँचता है। SD3 का MM-DiT टेक्स्ट और image tokens को अलग weights देता है।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- यह भी देखें: [Latent diffusion model](https://dmxsf.com/hi/glossary/#latent-diffusion), [Vision Transformer](https://dmxsf.com/hi/glossary/#vit)

### Direct preference optimization (DPO)

RLHF के उद्देश्य को classification-शैली के loss में फिर लिखना जो preference जोड़ों पर सीधे घटाया जा सके, बिना स्पष्ट reward model और बिना online reinforcement loop। Rafailov et al. ने 2023 में प्रस्तावित किया।

- पूरा पाठ पढ़ें: [Preference optimization: RLHF se DPO tak](https://dmxsf.com/hi/wiki/post-training/preference-optimization/)
- शोधपत्र विश्लेषण: [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://dmxsf.com/hi/blog/dpo-direct-preference-optimization/)
- यह भी देखें: [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence)

### Distillation

छोटे student model को बड़े teacher के आउटपुट distribution या उसके बनाए डेटा की नकल सिखाना, जिससे थोड़ी लागत में teacher की क्षमता का बड़ा हिस्सा मिलता है।

- यह भी देखें: [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft), [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model)

### Document mask

Pre-training में कई छोटे documents बरबादी टालने के लिए एक नियत-लंबाई sequence में पैक होते हैं; document mask अटेंशन को document के भीतर ही काम करने देता है, ताकि बाद के documents पहले वालों को न देखें। Llama 3 इस्तेमाल करता है: paper कहता है कि मानक pre-training में प्रभाव थोड़ा पर बहुत लंबे sequences पर continued pre-training में बहुत है।

- शोधपत्र विश्लेषण: [The Llama 3 Herd of Models: data, scale and the engineering recipe of a 405B dense model](https://dmxsf.com/hi/blog/the-llama-3-herd-of-models/)
- यह भी देखें: [Causal mask](https://dmxsf.com/hi/glossary/#causal-mask), [Context parallelism](https://dmxsf.com/hi/glossary/#context-parallelism), [Context window](https://dmxsf.com/hi/glossary/#context-window)

### DoReMi

Pretraining डेटा-मिश्रण चुनने का तरीका (Xie et al., 2023): reference model के विरुद्ध Group DRO से प्रशिक्षित छोटा proxy model सर्वाधिक अतिरिक्त loss वाले domains का भार बढ़ाता है, और प्रशिक्षण के औसत भार ही मिश्रण तय करते हैं। 280M proxy ने 8B मॉडल के भार सेट किए: The Pile पर औसत few-shot सटीकता 6.5 अंक बढ़ी, और baseline 2.6 गुना कम चरणों में मिला।

- पूरा पाठ पढ़ें: [Pretraining data engineering: छँटाई, dedup व मिश्रण](https://dmxsf.com/hi/wiki/pretraining/data-engineering/)
- यह भी देखें: [Data mixture](https://dmxsf.com/hi/glossary/#data-mixture), [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law)

### Double quantization

Block-wise quantization के बनाए scaling constants को quantize करके स्मृति बचाना। QLoRA में हर 64 weights एक 32-bit constant साझा करते हैं (औसतन प्रति weight 0.5 bits); double quantization उन constants से माध्य घटाकर 256 के blocks में 8-bit फ़्लोट में quantize करता है, ओवरहेड लगभग 0.127 bits प्रति weight, 65B मॉडल के लिए लगभग 3 GB।

- पूरा पाठ पढ़ें: [LoRA fine-tuning ka practical guide](https://dmxsf.com/hi/wiki/post-training/lora-finetuning/)
- शोधपत्र विश्लेषण: [QLoRA: Fine-Tuning a 65B Model on One 48 GB GPU by Quantizing the Base to 4 Bits](https://dmxsf.com/hi/blog/qlora-efficient-finetuning-of-quantized-llms/)
- यह भी देखें: [QLoRA](https://dmxsf.com/hi/glossary/#qlora), [4-bit NormalFloat](https://dmxsf.com/hi/glossary/#nf4), [Quantization](https://dmxsf.com/hi/glossary/#quantization)

### Doubly stochastic matrix

वर्ग matrix जिसकी सभी प्रविष्टियाँ ऋणेतर हैं और rows व columns हर एक का योग 1 है। इसका spectral norm अधिकतम 1 होता है, ऐसे matrices के गुणनफल doubly stochastic रहते हैं, और Birkhoff-von Neumann प्रमेय से हर एक permutation matrices का convex संयोजन है। mHC residual mixing matrix को इससे बाँधता है, जिससे जुड़ी layers का forward लाभ ठीक 1 रहता है।

- अन्य नाम: Birkhoff polytope
- शोधपत्र विश्लेषण: [mHC: Keeping a Wider Residual Stream Stable With Doubly Stochastic Mixing](https://dmxsf.com/hi/blog/mhc-manifold-constrained-hyper-connections/)
- यह भी देखें: [Sinkhorn-Knopp एल्गोरिद्म](https://dmxsf.com/hi/glossary/#sinkhorn-knopp), [Manifold-constrained hyper-connections](https://dmxsf.com/hi/glossary/#mhc)

### Draft model

Speculative decoding में पहले अंदाज़ा लगाने वाला छोटा, तेज़ मॉडल (paper उसे approximation model कहता है)। वह कई candidate tokens प्रस्तावित करता है और लक्ष्य मॉडल समानांतर जाँचता है। वह एक ही परिवार का छोटा मॉडल, n-gram table या लक्ष्य से जुड़ी अतिरिक्त decoding heads हो सकता है; वह केवल acceptance rate और गति बदलता है, आउटपुट distribution कभी नहीं।

- पूरा पाठ पढ़ें: [Speculative decoding](https://dmxsf.com/hi/wiki/inference/speculative-decoding/)
- शोधपत्र विश्लेषण: [Fast Inference from Transformers via Speculative Decoding](https://dmxsf.com/hi/blog/speculative-decoding-fast-inference-from-transformers/)
- यह भी देखें: [Speculative decoding](https://dmxsf.com/hi/glossary/#speculative-decoding), [Acceptance rate](https://dmxsf.com/hi/glossary/#acceptance-rate)

### Dual Chunk Attention (DCA)

बिना प्रशिक्षण context-extension विधि: लंबे sequence के अटेंशन को chunk-आधारित modules में बाँटती है जो chunks के भीतर और पार सापेक्ष स्थितियाँ पकड़ते हैं, और FlashAttention के साथ चलती है। An et al. (2024) ने प्रस्तावित की; उनकी रिपोर्ट है कि Llama 2 70B बिना और प्रशिक्षण 100k से अधिक token windows सँभाल सकता है; Qwen3 इसे YaRN के साथ जोड़कर sequence-लंबाई क्षमता चार गुना करता है।

- शोधपत्र विश्लेषण: [Qwen3 Technical Report](https://dmxsf.com/hi/blog/qwen3-technical-report/)
- यह भी देखें: [YaRN](https://dmxsf.com/hi/glossary/#yarn), [Rotary position embedding](https://dmxsf.com/hi/glossary/#rope), [Context window](https://dmxsf.com/hi/glossary/#context-window)

### Dual LLM pattern

संरचनात्मक बचाव: विशेषाधिकारी मॉडल जो tools बुला सकता है अविश्वसनीय सामग्री कभी नहीं पढ़ता; संगरोधित मॉडल वह पढ़ता है पर tools तक पहुँच नहीं रखता और केवल variable संदर्भ लौटाता है जिन्हें साधारण code दोनों के बीच ले जाता है। संगरोधित मॉडल में घुसपैठ हो जाए तो भी tools इस्तेमाल नहीं कर सकता। Simon Willison (2023) ने प्रस्तावित किया; CaMeL (2025) ने विकसित किया।

- पूरा पाठ पढ़ें: [Prompt injection aur jailbreak: LLM application ki safety seema](https://dmxsf.com/hi/wiki/safety/prompt-injection-and-jailbreaks/)
- यह भी देखें: [Indirect prompt injection](https://dmxsf.com/hi/glossary/#indirect-prompt-injection), [Prompt injection](https://dmxsf.com/hi/glossary/#prompt-injection), [Agent](https://dmxsf.com/hi/glossary/#agent)

### DualPipe

DeepSeek-V3 का द्विदिशी pipeline-parallel schedule: हर forward और backward chunk को attention, dispatch, MLP और combine भागों में बाँटकर ऐसे सजाया जाता है कि forward-backward जोड़ी की गणना और expert parallelism के all-to-all संचार का ओवरलैप हो, micro-batches pipeline के दोनों सिरों से आते हैं। कीमत: parameters की दो प्रतियाँ।

- शोधपत्र विश्लेषण: [DeepSeek-V3 Technical Report](https://dmxsf.com/hi/blog/deepseek-v3-technical-report/)
- यह भी देखें: [Pipeline parallelism](https://dmxsf.com/hi/glossary/#pipeline-parallelism), [Expert parallelism](https://dmxsf.com/hi/glossary/#expert-parallelism)

### Dynamic resolution

Vision-language model को हर image को नियत वर्ग में सिमटाने के बजाय image के अपने आकार से patches और visual tokens की संख्या चुनने देना (pixel बजट के भीतर)। Qwen2-VL दोनों भुजाओं को patch आकार × merge factor के गुणक तक गोल करता है, ताकि token गिनती लगभग pixel गिनती भाग उस लंबाई के वर्ग हो।

- अन्य नाम: Naive dynamic resolution
- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- यह भी देखें: [Visual token](https://dmxsf.com/hi/glossary/#visual-token), [Multimodal RoPE](https://dmxsf.com/hi/glossary/#m-rope), [Vision Transformer](https://dmxsf.com/hi/glossary/#vit)

### Dynamic sampling

ऐसे prompts को अधिक sample करके फेंकना जिनका पूरा उत्तर-group सब-सही या सब-ग़लत हो (ऐसे group का advantage हर जगह शून्य), जब तक batch न भर जाए, ताकि batch का हर prompt gradient लाए। DAPO की दूसरी तरकीब; कीमत अतिरिक्त sampling, इसलिऔ sampling लागत dynamic है। G=16 पर 5% या 95% सटीकता वाले prompt के zero-advantage group की संभावना 44% है।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [DAPO: An Open-Source Reasoning RL System and the Four Tricks That Keep GRPO Stable on Long Chains of Thought](https://dmxsf.com/hi/blog/dapo-open-source-llm-reinforcement-learning-system-at-scale/)
- यह भी देखें: [DAPO](https://dmxsf.com/hi/glossary/#dapo), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo)

## E

### Elo rating

शतरंज से आई शक्ति rating: 400 अंक का अंतर 10 से 1 odds कहलाता है, जो Bradley-Terry coefficient × 400/ln 10, लगभग 173.7 है। 100 अंक के अंतर पर प्रबल पक्ष लगभग 64% बार जीतता है।

- पूरा पाठ पढ़ें: [LLM-as-a-Judge: model ko judge banana, uske biases aur calibration](https://dmxsf.com/hi/wiki/evaluation/llm-as-judge/)
- यह भी देखें: [Bradley-Terry model](https://dmxsf.com/hi/glossary/#bradley-terry), [Chatbot Arena](https://dmxsf.com/hi/glossary/#chatbot-arena)

### Embedding

एक lookup table जो अलग token ids को सतत vectors में बदलता है; व्यापक अर्थों में टेक्स्ट या images का कोई भी dense vector प्रतिनिधित्व, जिसमें समान अर्थ आपस में पास रहते हैं।

- पूरा पाठ पढ़ें: [शब्द एम्बेडिंग और Tokenizer का सिद्धांत](https://dmxsf.com/hi/wiki/foundations/tokenizer-and-embeddings/)
- यह भी देखें: [Token](https://dmxsf.com/hi/glossary/#token), [Vector database](https://dmxsf.com/hi/glossary/#vector-database)

### Embodiment

Robot का ठोस शरीर: arms और degrees of freedom की संख्या, gripper या dexterous hand, camera की स्थिति, और state तथा क्रियाओं के dimensions व नियंत्रण mode। Cross-embodiment training विभिन्न robots का डेटा एक मॉडल में डालता है। GR00T N1 हर embodiment को अपने encoder और decoder MLPs देता है जो साझा width पर project करते हैं; आधिकारिक code 32 slots आरक्षित रखता है।

- शोधपत्र विश्लेषण: [GR00T N1: A Data Pyramid and a Dual-System Model for Generalist Humanoid Robots](https://dmxsf.com/hi/blog/gr00t-n1-an-open-foundation-model-for-generalist-humanoid-robots/)
- यह भी देखें: [Open X-Embodiment](https://dmxsf.com/hi/glossary/#open-x-embodiment), [Vision-language-action model](https://dmxsf.com/hi/glossary/#vla)

### Emergent abilities

ऐसी क्षमताएँ जो छोटे मॉडलों में अंदाज़े के पास रहती हैं और किसी मॉडल पैमाने के बाद ही साफ़ ऊपर उठती हैं। Chain-of-thought paper अपनी खोज को कि chain of thought लगभग 100B parameters से ही फ़ायदा देती है, emergence कहता है। सावधानियाँ: Schaeffer et al. (2023) का तर्क है कि अचानक उभार का भाग गैर-रेखीय metrics से आता है, और paper की Table 2 दिखाती है कि दहलीज़ मॉडल परिवार से बदलती है।

- पूरा पाठ पढ़ें: [Scaling laws: compute, पैरामीटर व data कैसे बाँटें](https://dmxsf.com/hi/wiki/pretraining/scaling-laws/)
- शोधपत्र विश्लेषण: [Chain-of-thought prompting: exemplars with intermediate steps let large models solve multi-step problems](https://dmxsf.com/hi/blog/chain-of-thought-prompting/)
- यह भी देखें: [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law), [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought), [In-context learning](https://dmxsf.com/hi/glossary/#in-context-learning)

### Encoder-decoder मॉडल (Encoder-decoder model)

वह architecture जिसमें encoder input को द्विदिशी पढ़ता है और decoder cross-attention से encoding पढ़ते हुए आउटपुट autoregressively बनाता है। मूल Transformer और T5 encoder-decoder हैं।

- पूरा पाठ पढ़ें: [Transformer attention तंत्र की शुरुआत](https://dmxsf.com/hi/wiki/architecture/attention-basics/)
- यह भी देखें: [Decoder-only मॉडल](https://dmxsf.com/hi/glossary/#decoder-only), [Cross-attention](https://dmxsf.com/hi/glossary/#cross-attention)

### Encoder-only मॉडल (Encoder-only model)

वह architecture जो केवल Transformer encoder रखता है और causal mask उपयोग नहीं करता: हर स्थिति पूरे sequence के दोनों ओर देखती है, और आउटपुट अगले token का distribution नहीं बल्कि संदर्भित प्रतिनिधित्व है। Classification, retrieval, tagging और reranking के अनुकूल पर token-दर-token बना नहीं सकता। BERT और RoBERTa encoder-only हैं।

- पूरा पाठ पढ़ें: [आधुनिक मॉडल architecture: GPT-2 से Llama, Qwen व DeepSeek तक](https://dmxsf.com/hi/wiki/architecture/modern-llm-architecture/)
- शोधपत्र विश्लेषण: [BERT: pre-training a bidirectional Transformer by filling in masked words, then one thin output layer per task](https://dmxsf.com/hi/blog/bert-pre-training-of-deep-bidirectional-transformers/)
- यह भी देखें: [Encoder-decoder मॉडल](https://dmxsf.com/hi/glossary/#encoder-decoder), [Decoder-only मॉडल](https://dmxsf.com/hi/glossary/#decoder-only), [BERT](https://dmxsf.com/hi/glossary/#bert), [Causal mask](https://dmxsf.com/hi/glossary/#causal-mask)

### Engram

शर्त के साथ काम करने वाली स्मृति module जो याद रखने को गणना से अलग करता है: hashed n-gram lookups विशाल embedding tables में, context-सजग gating से hidden state में मिलाए जाते हैं। पते केवल input tokens पर निर्भर होते हैं, इसलिऔ embeddings host स्मृति से पहले ले आए जा सकते हैं। DeepSeek-V4.1-Flash में layer 1 और layer 14 पर एक-एक module (n-gram क्रम 2 से 4), कुल 196B parameters, FP8 में।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [Sinkhorn-balanced update](https://dmxsf.com/hi/glossary/#sinkhorn-balanced-update), [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe)

### Evolution strategies (ES)

बिना gradient वाले black-box optimizers का परिवार: parameters पर एक distribution रखो, बार-बार candidates की population sample करो, return के अनुसार rank करो और distribution को अच्छी ओर खिसकाओ; CMA-ES covariance भी अनुकूलित करता है। इन्हें केवल अंतिम संचयी return चाहिए और ये सरलता से समानांतर होते हैं, जो मध्यम parameters वाली policies के लिए उपयुक्त है।

- शोधपत्र विश्लेषण: [World Models: Compress the World into a Generative Model and Let the Agent Train in Its Own Dream](https://dmxsf.com/hi/blog/world-models-ha-schmidhuber/)

### Expected calibration error (ECE)

भविष्यवाणियों को भरोसे के अनुसार bins में बाँटो, हर bin में औसत भरोसा और वास्तविक सटीकता का परिमाण अंतर लो, और इन अंतरों का bin आकार से भारित औसत। कम बेहतर और 0 का मतलब हर bin calibrated; मान binning पर निर्भर है (10 से 15 bins सामान्य) और कम नमूनों में शोर भरा।

- पूरा पाठ पढ़ें: [Hallucination aur calibration: model vajah se pakka galat kaise bolta hai](https://dmxsf.com/hi/wiki/safety/hallucination-and-calibration/)
- यह भी देखें: [Calibration](https://dmxsf.com/hi/glossary/#calibration), [Reliability diagram](https://dmxsf.com/hi/glossary/#reliability-diagram), [Temperature scaling](https://dmxsf.com/hi/glossary/#temperature-scaling)

### Experience replay

Agent के अनुभव का हर चरण (state, क्रिया, reward, अगला state) नियत आकार के buffer में सँजोना और उसमें से समरूपतः नमूने लेकर प्रशिक्षित करना। हर अनुभव कई बार पुनः उपयोग होता है, लगातार नमूनों की तेज़ सहसंबद्धता टूटती है, और behavior distribution के बदलाव औसत में खो जाते हैं। कीमत: यह केवल Q-learning जैसे off-policy एल्गोरिद्मों में चलता है।

- शोधपत्र विश्लेषण: [DQN: Learning to Play Atari from Pixels with a Convolutional Q-Network and Experience Replay](https://dmxsf.com/hi/blog/dqn-playing-atari-with-deep-reinforcement-learning/)
- यह भी देखें: [Deep Q-network](https://dmxsf.com/hi/glossary/#dqn)

### Expert dropout

Sparse मॉडलों के fine-tuning की regularization विधि: गैर-expert layers में dropout छोटा रखो (जैसे 0.1) और उसे केवल experts की feed-forward layers के भीतर बढ़ाओ (जैसे 0.4), जिससे बहुत expert parameters और कम fine-tuning डेटा का overfitting घटता है। Switch Transformer में पेश।

- शोधपत्र विश्लेषण: [Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity](https://dmxsf.com/hi/blog/switch-transformers-scaling-to-trillion-parameter-models/)
- यह भी देखें: [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe)

### Expert load balancing

Mixture-of-experts मॉडल के हर expert को मिलने वाले tokens की संख्या लगभग बराबर रखना, जिससे routing collapse टले और expert parallelism में सबसे व्यस्त expert पूरी layer धीमा न करे। सामान्य तरीके: सहायक balancing loss, capacity सीमा के साथ dropping, और DeepSeek-V3 की bias विधि।

- पूरा पाठ पढ़ें: [Mixture of Experts (MoE): routing, load balancing व sparse activation](https://dmxsf.com/hi/wiki/architecture/mixture-of-experts/)
- शोधपत्र विश्लेषण: [Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity](https://dmxsf.com/hi/blog/switch-transformers-scaling-to-trillion-parameter-models/)
- यह भी देखें: [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe), [Router](https://dmxsf.com/hi/glossary/#router), [Capacity factor](https://dmxsf.com/hi/glossary/#capacity-factor)

### Expert parallelism

MoE मॉडल को समानांतर करने का तरीका जिसमें भिन्न experts भिन्न GPUs पर रखे जाते हैं। Routing के बाद tokens उन GPUs को भेजे जाते हैं जहाँ उनके experts हैं और बाद में वापस जोड़े जाते हैं, जिसमें दो all-to-all संचार लगते हैं।

- अन्य नाम: EP
- पूरा पाठ पढ़ें: [Mixture of Experts (MoE): routing, load balancing व sparse activation](https://dmxsf.com/hi/wiki/architecture/mixture-of-experts/)
- शोधपत्र विश्लेषण: [DeepSeek-V3 Technical Report](https://dmxsf.com/hi/blog/deepseek-v3-technical-report/)
- यह भी देखें: [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe), [Tensor parallelism](https://dmxsf.com/hi/glossary/#tensor-parallelism), [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism)

### Exposure

Carlini et al. (2018) की memorization metric: प्रशिक्षण सेट में यादृच्छिक रहस्य (canary) डालो, मॉडल के स्कोर से सभी संभावित मानों को rank करो, और log2(candidates की संख्या) घटा log2(सच्चे रहस्य का rank) गणना करो। परास 0 से log2(candidates की संख्या) तक; जो कुछ न जानता उसे एक-दो bits मिलते हैं, और हर अतिरिक्त bit हमलावर की जाँचनी सूची आधी कर देता है।

- अन्य नाम: Canary exposure
- पूरा पाठ पढ़ें: [Memorization aur privacy](https://dmxsf.com/hi/wiki/safety/memorization-and-privacy/)
- यह भी देखें: [Memorization](https://dmxsf.com/hi/glossary/#memorization), [Canary string](https://dmxsf.com/hi/glossary/#canary-string), [Extractable memorization](https://dmxsf.com/hi/glossary/#extractable-memorization)

### Extractable memorization

Carlini et al. (2022) की परिभाषा: string s के s से पहले की लंबाई-k कोई prefix p हो ऐसी कि p के बाद s प्रशिक्षण डेटा में हो और p से greedy decoding s लिख दे, तो s k tokens के context से extractable है। इसे केवल generation चाहिए, इसलिऔ बड़े पैमाने का मानक बन गया, पर यह केवल पूर्णतः सही आउटपुट गिनता है, आंशिक स्मृति छोड़ देता है, और prompt व decoding पर निर्भर है।

- अन्य नाम: k-extractable
- पूरा पाठ पढ़ें: [Memorization aur privacy](https://dmxsf.com/hi/wiki/safety/memorization-and-privacy/)
- यह भी देखें: [Memorization](https://dmxsf.com/hi/glossary/#memorization), [Exposure](https://dmxsf.com/hi/glossary/#canary-exposure), [Training data extraction](https://dmxsf.com/hi/glossary/#training-data-extraction)

## F

### Feature alignment

Multimodal प्रशिक्षण का पहला चरण: vision encoder और भाषा मॉडल जमे रहते हैं और केवल उनके बीच का projector प्रशिक्षित होता है, ताकि visual features ऐसे शब्द-embedding space में उतरें जिसे भाषा मॉडल पढ़ सके। LLaVA इसे जमे भाषा मॉडल के लिए visual tokenizer प्रशिक्षित करना मानता है: 595K CC3M जोड़ियाँ, लगभग 5.25 लाख प्रशिक्षण योग्य parameters (0.04%)।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- शोधपत्र विश्लेषण: [LLaVA: Visual Instruction Tuning](https://dmxsf.com/hi/blog/llava-visual-instruction-tuning/)
- यह भी देखें: [Projector](https://dmxsf.com/hi/glossary/#projector), [Vision-language model](https://dmxsf.com/hi/glossary/#vlm), [Visual token](https://dmxsf.com/hi/glossary/#visual-token)

### Feed-forward network (FFN)

हर Transformer layer में हर token पर स्वतंत्र रूप से लगाया जाने वाला पूर्णतः connected network। मॉडल का अधिकांश parameters इसी में होते हैं, और कुछ शोध कहते हैं यह key-value स्मृति जैसा काम करता है।

- पूरा पाठ पढ़ें: [Transformer Block का पूरा विघटन](https://dmxsf.com/hi/wiki/architecture/transformer-block/)
- यह भी देखें: [SwiGLU](https://dmxsf.com/hi/glossary/#swiglu), [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe), [Transformer](https://dmxsf.com/hi/glossary/#transformer)

### Few-shot prompting

Prompt में कुछ input-output उदाहरण रखना ताकि मॉडल नए input को उसी तरह पूरा करे।

- पूरा पाठ पढ़ें: [Prompt engineering: spec se message tak](https://dmxsf.com/hi/wiki/applications/prompt-engineering/)
- यह भी देखें: [In-context learning](https://dmxsf.com/hi/glossary/#in-context-learning), [Prompt engineering](https://dmxsf.com/hi/glossary/#prompt-engineering)

### Fine-tuning

Pretrained मॉडल को किसी विशिष्ट कार्य या domain के डेटा पर प्रशिक्षण जारी रखना ताकि वह उससे ढल जाए।

- पूरा पाठ पढ़ें: [LoRA fine-tuning ka practical guide](https://dmxsf.com/hi/wiki/post-training/lora-finetuning/)
- यह भी देखें: [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft), [LoRA](https://dmxsf.com/hi/glossary/#lora), [Parameter-efficient fine-tuning](https://dmxsf.com/hi/glossary/#peft)

### FineWeb

Hugging Face का 2024 का खुला अंग्रेज़ी web pretraining corpus: 96 Common Crawl snapshots datatrove से प्रक्रित, GPT-2 tokenizer के अनुसार लगभग 15T tokens। FineWeb-Edu शैक्षिक-मूल्य classifier से चुना 1.3T-token उपसमुच्चय है। हर चरण (निष्कर्षण, deduplication, छँटाई) का समर्थन 1.71B मॉडल पर ablations करता है; code, डेटा और ablation मॉडल सब सार्वजनिक।

- अन्य नाम: FineWeb-Edu
- शोधपत्र विश्लेषण: [FineWeb: Extracting, Deduplicating and Filtering a 15T-Token Open Web Corpus, One Ablation at a Time](https://dmxsf.com/hi/blog/the-fineweb-datasets-decanting-the-web-for-the-finest-text-data-at-scale/)
- यह भी देखें: [Common Crawl](https://dmxsf.com/hi/glossary/#common-crawl), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication), [Heuristic filtering](https://dmxsf.com/hi/glossary/#heuristic-filter), [Model-based filtering](https://dmxsf.com/hi/glossary/#model-based-filtering), [Data ablation](https://dmxsf.com/hi/glossary/#data-ablation)

### FlashAttention

सही attention एल्गोरिद्म जो tiling और online softmax से n×n attention matrix कभी GPU स्मृति (HBM) में नहीं लिखता। स्मृति traffic काफ़ी घटाता है, तेज़ चलता है, और स्मृति उपयोग sequence लंबाई के साथ रेखीय बढ़ता है। Dao et al. ने 2022 में प्रस्तावित किया।

- शोधपत्र विश्लेषण: [FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness](https://dmxsf.com/hi/blog/flashattention-fast-and-memory-efficient-exact-attention/)
- यह भी देखें: [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Memory-bound](https://dmxsf.com/hi/glossary/#memory-bound), [Self-attention](https://dmxsf.com/hi/glossary/#self-attention)

### FLOPs

फ़्लोटिंग-पॉइंट संक्रियाओं की संख्या, compute का माप। Dense Transformer का प्रशिक्षण लगभग 6·N·D लागत रखता है, जहाँ N matrix गुणनों में भाग लेने वाले parameters हैं और D training tokens।

- अन्य नाम: Floating-point operations
- पूरा पाठ पढ़ें: [प्रशिक्षण की गणना व मेमोरी का लेखा: FLOPs, MFU व मेमोरी बजट](https://dmxsf.com/hi/wiki/pretraining/compute-and-memory/)
- यह भी देखें: [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law), [Model FLOPs utilization](https://dmxsf.com/hi/glossary/#mfu)

### Flow matching

Generative models की एक प्रशिक्षण विधि: noise distribution से डेटा distribution तक एक probability path नियत करो, उसे बनाने वाले vector field का regression करो, और ODE integrate करके sample करो। प्रशिक्षण में ODE solve करने की ज़रूरत नहीं, क्योंकि प्रति-नमूना सशर्त लक्ष्य (जैसे x1 − x0) का gradient मूल कठिन उद्देश्य के बराबर होता है; diffusion paths इसका एक विशेष प्रकार हैं।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- शोधपत्र विश्लेषण: [Flow Matching: Regress a Fixed Path's Vector Field and Train Continuous Normalizing Flows Without Simulation](https://dmxsf.com/hi/blog/flow-matching-for-generative-modeling/)
- यह भी देखें: [Diffusion model](https://dmxsf.com/hi/glossary/#diffusion-model), [Continuous normalizing flow](https://dmxsf.com/hi/glossary/#continuous-normalizing-flow)

### FP4 KV cache

DeepSeek-V4.1-Flash मुख्य KV को 4-bit फ़्लोटिंग पॉइंट (E2M1) में रखता है, हर 16 channels पर एक E4M3 scale, वैश्विक scale नहीं। QAT post-training में शुरू होती है, quantization RoPE के अनुसार चलता है, और sliding-window KV FP8 रहता है। Attention से पहले मान dequantize होते हैं, इसलिऔ बचत भंडारण की है, matmul समय की नहीं। Channel परिमाण लगभग 22.6 से नीचे, format सीमा 2688 से बहुत नीचे।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [Quantization](https://dmxsf.com/hi/glossary/#quantization), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [FP8 training](https://dmxsf.com/hi/glossary/#fp8-training)

### FP8 training

8-bit फ़्लोटिंग-पॉइंट matrix गुणनों के साथ प्रशिक्षण, जो सैद्धांतिक रूप से BF16 की throughput दोगुनी करता है। परास सँकरा है, इसलिए सूक्ष्म scaling चाहिए: DeepSeek-V3 activations के हर 1×128 tile और weights के हर 128×128 block पर एक scale रखता है और जोड़ते समय आंशिक योग FP32 में बढ़ाता है। Embeddings, output head, MoE gating, normalization और attention BF16/FP32 में रहते हैं।

- अन्य नाम: FP8 mixed-precision training
- शोधपत्र विश्लेषण: [DeepSeek-V3 Technical Report](https://dmxsf.com/hi/blog/deepseek-v3-technical-report/)
- यह भी देखें: [Mixed-precision training](https://dmxsf.com/hi/glossary/#mixed-precision), [BF16](https://dmxsf.com/hi/glossary/#bf16)

### Function calling

मॉडल सहमत format में फलन का नाम और JSON तर्क देता है, application वास्तव में उसे चलाता है, और नतीजा मॉडल को वापस सौंपा जाता है।

- अन्य नाम: Tool use
- पूरा पाठ पढ़ें: [Structured output aur function calling: JSON mode se constrained decoding tak](https://dmxsf.com/hi/wiki/applications/structured-output-and-function-calling/)
- शोधपत्र विश्लेषण: [Toolformer: Language Models Can Teach Themselves to Use Tools](https://dmxsf.com/hi/blog/toolformer-self-supervised-tool-use-for-language-models/)
- यह भी देखें: [Agent](https://dmxsf.com/hi/glossary/#agent), [Structured output](https://dmxsf.com/hi/glossary/#structured-output), [JSON Schema](https://dmxsf.com/hi/glossary/#json-schema), [Model Context Protocol](https://dmxsf.com/hi/glossary/#mcp)

## G

### Gated DeltaNet

Gated DeltaNet (Yang et al., 2024) delta rule में input पर निर्भर decay gate α_t जोड़ता है: S_t = α_t (I − β_t k_t k_tᵀ) S_{t−1} + β_t k_t v_tᵀ। Gate स्मृति को सामूहिक रूप से मिटाता है, जबकि delta rule एक जोड़ी को अद्यतन करता है, और दोनों पूरक हैं। Qwen3-Next इसे attention layers के साथ 3 से 1 के अनुपात में बारी-बारी रखता है।

- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- यह भी देखें: [Delta rule](https://dmxsf.com/hi/glossary/#delta-rule), [Hybrid architecture](https://dmxsf.com/hi/glossary/#hybrid-architecture), [Linear attention](https://dmxsf.com/hi/glossary/#linear-attention)

### Generalized advantage estimation (GAE)

ऐसा advantage आकलक जो एक parameter λ से bias और variance का सौदा करता है: एक-चरण temporal-difference त्रुटियों δ_t = r_t + γV(s_(t+1)) − V(s_t) का ज्यामिति भारों (γλ) के साथ योग। λ=0 एक ही चरण लेता है (कम variance, अधिक bias) और λ=1 Monte Carlo return घटा value baseline के बराबर (ऊँचा variance)। PPO पेपर सभी प्रयोगों में λ=0.95 रखता है।

- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- शोधपत्र विश्लेषण: [PPO: Clipping the Policy Update So One Batch of Data Can Be Reused for Many Epochs](https://dmxsf.com/hi/blog/ppo-proximal-policy-optimization-algorithms/)
- यह भी देखें: [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Advantage](https://dmxsf.com/hi/glossary/#advantage), [Value function](https://dmxsf.com/hi/glossary/#value-function)

### Generative adversarial network

अप्रत्यक्ष generative model जो noise से नमूने बनाने वाले generator और उन्हें डेटा से अलग करने वाले discriminator की टक्कर से प्रशिक्षित होता है, आदर्श में मेल खाती distributions तक।

- अन्य नाम: GAN
- शोधपत्र विश्लेषण: [Generative Adversarial Networks](https://dmxsf.com/hi/blog/generative-adversarial-nets/)
- यह भी देखें: [Diffusion model](https://dmxsf.com/hi/glossary/#diffusion-model)

### Generative Pre-trained Transformer (GPT)

OpenAI की 2018 से decoder-only Transformer भाषा मॉडलों की शृंखला। GPT-1 लगभग 117 लाख parameters और प्रति कार्य fine-tuned; सबसे बड़ा GPT-2 लगभग 1.56 अरब और zero-shot उपयोग; GPT-3 175 अरब और कार्य व उदाहरण prompt में लेता है, बिना weight अद्यतन। रीढ़ मुश्किल से बदली; पैमाने और कार्य के मॉडल तक पहुँचने के तरीके ने।

- पूरा पाठ पढ़ें: [बड़े मॉडल की प्रशिक्षण pipeline का पूरा दृश्य](https://dmxsf.com/hi/wiki/pretraining/training-pipeline/)
- शोधपत्र विश्लेषण: [GPT-1, GPT-2, GPT-3: From Fine-Tuning to In-Context Learning, Recomputed from the Papers](https://dmxsf.com/hi/blog/gpt-series-evolution/)
- यह भी देखें: [Decoder-only मॉडल](https://dmxsf.com/hi/glossary/#decoder-only), [Generative pre-training](https://dmxsf.com/hi/glossary/#generative-pre-training), [In-context learning](https://dmxsf.com/hi/glossary/#in-context-learning), [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law)

### Generative pre-training

GPT-1 (2018) की दो-चरण विधि: बिना label टेक्स्ट पर 12-layer decoder Transformer को language-modeling loss से pre-train करना, फिर हर label वाले कार्य पर fine-tune करना। संरचित inputs start, delimiter और extract tokens के साथ एक sequence में पैक होते हैं, रेखीय output layer जुड़ती है, और language-modeling loss सहायक पद (भार 0.5) रहता है। 12 में से 9 कार्यों पर सर्वश्रेष्ठ।

- पूरा पाठ पढ़ें: [बड़े मॉडल की प्रशिक्षण pipeline का पूरा दृश्य](https://dmxsf.com/hi/wiki/pretraining/training-pipeline/)
- शोधपत्र विश्लेषण: [GPT-1, GPT-2, GPT-3: From Fine-Tuning to In-Context Learning, Recomputed from the Papers](https://dmxsf.com/hi/blog/gpt-series-evolution/)
- यह भी देखें: [Generative Pre-trained Transformer](https://dmxsf.com/hi/glossary/#gpt), [Fine-tuning](https://dmxsf.com/hi/glossary/#fine-tuning), [Decoder-only मॉडल](https://dmxsf.com/hi/glossary/#decoder-only), [Next-token prediction](https://dmxsf.com/hi/glossary/#next-token-prediction)

### Goldfish loss

Hans et al. (2024) का प्रशिक्षण उद्देश्य जो कुछ tokens को loss से बाहर रखकर memorization घटाता है: जब पिछले h tokens का hash 1/k भाग में पड़े तो वह स्थिति छोड़ी जाती है (paper k=4, h=13), ताकि अंश की सभी प्रतिलिपियाँ वही स्थितियाँ छोड़ें। लंबी शब्दशः पाठना चरघातांकी रूप से कठिन हो जाता है; छोटा रहस्य सीमित सुरक्षा पाता है।

- पूरा पाठ पढ़ें: [Memorization aur privacy](https://dmxsf.com/hi/wiki/safety/memorization-and-privacy/)
- यह भी देखें: [Memorization](https://dmxsf.com/hi/glossary/#memorization), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication)

### Goodhart का नियम (Goodhart’s law)

जब कोई माप लक्ष्य बन जाए, तो वह अच्छा माप रहना बंद कर देता है। Machine learning में reward model जैसे सीखे proxy को जितनी कड़ाई से अनुकूलित करोगे, proxy का सच्चे उद्देश्य से संबंध उतना ही टूटने लगता है। Manheim और Garrabrant (2018) ने उसे regressional (noise), extremal (प्रशिक्षण distribution से बाहर), causal और adversarial रूपों में बाँटा।

- अन्य नाम: Goodhart's law
- पूरा पाठ पढ़ें: [Reward model: insani preference ko optimize yogya score banana](https://dmxsf.com/hi/wiki/post-training/reward-models/)
- यह भी देखें: [Reward overoptimization](https://dmxsf.com/hi/glossary/#reward-overoptimization), [Reward hacking](https://dmxsf.com/hi/glossary/#reward-hacking), [Reward model](https://dmxsf.com/hi/glossary/#reward-model)

### Goodput

इकाई समय में सफल अनुरोधों की संख्या जो सभी service-level objectives पूरे करें। Streaming LLM inference प्रायः प्रति अनुरोध time to first token और औसत inter-token latency दोनों जाँचता है।

- पूरा पाठ पढ़ें: [LLM inference service: latency metrics, measurement aur engine selection](https://dmxsf.com/hi/wiki/inference/serving/)
- यह भी देखें: [Throughput](https://dmxsf.com/hi/glossary/#throughput), [Time to first token](https://dmxsf.com/hi/glossary/#ttft), [Time per output token](https://dmxsf.com/hi/glossary/#tpot)

### GPTQ

Post-training weight quantization विधि जो layer-दर-layer चलती है और लगभग द्वितीय-कोटि (Hessian) सूचना से quantization त्रुटि घटाती है, प्रायः 4 bits तक।

- पूरा पाठ पढ़ें: [Model quantization: INT8, INT4, GPTQ aur AWQ ka siddhant aur measurement](https://dmxsf.com/hi/wiki/inference/quantization/)
- यह भी देखें: [Quantization](https://dmxsf.com/hi/glossary/#quantization), [AWQ](https://dmxsf.com/hi/glossary/#awq)

### GPU tiling

Tensor संक्रिया को ऐसे blocks में बाँटना जो on-chip भंडारण में समाएँ ताकि threads सहकारी रूप से डेटा लोड और पुनः उपयोग करें। Output tiles accumulator का आकार और पुनः उपयोग तय करते हैं, जबकि reduction tiles प्रति पुनरावृत्ति का काम।

- अन्य नाम: Tiling
- पूरा पाठ पढ़ें: [GPU kernels का परिचय: Tiled matrix गुणन से operator fusion तक](https://dmxsf.com/hi/wiki/systems/gpu-kernels/)
- यह भी देखें: [Roofline model](https://dmxsf.com/hi/glossary/#roofline-model), [Arithmetic intensity](https://dmxsf.com/hi/glossary/#arithmetic-intensity), [Kernel fusion](https://dmxsf.com/hi/glossary/#kernel-fusion)

### Gradient accumulation

बड़े batch को micro-batches में बाँटकर क्रम से forward और backward चलाना, gradients जोड़ते जाना और पर्याप्त जुटने पर ही parameters अद्यतन करना; समय के बदले स्मृति। जब micro-batches में वैध tokens की संख्या भिन्न हो, वैश्विक token गिनती से normalize करो, अन्यथा सच्चे बड़े batch के बराबर नहीं।

- पूरा पाठ पढ़ें: [Distributed training का परिचय: data, tensor व pipeline parallelism](https://dmxsf.com/hi/wiki/pretraining/distributed-training/)
- यह भी देखें: [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism), [All-reduce](https://dmxsf.com/hi/glossary/#all-reduce)

### Gradient check

Backpropagation लागूकर्ण सत्यापित करने का मानक तरीका: हर parameter को हल्का हिलाकर gradient का केंद्रित अंतर आकलन (L(θ+ε)−L(θ−ε))/2ε, और उसकी तुलना backprop वाले से। N parameters 2N forward passes लेते हैं, इसलिऔ यह प्रशिक्षण के लिए नहीं लागूकर्ण जाँच के लिए है, और float64 में चलाना चाहिए।

- पूरा पाठ पढ़ें: [न्यूरल नेटवर्क की मूल बातें: रैखिक परत से backpropagation तक](https://dmxsf.com/hi/wiki/foundations/neural-network-basics/)
- यह भी देखें: [Backpropagation](https://dmxsf.com/hi/glossary/#backpropagation)

### Gradient clipping

Gradient के norm की सीमा पार होने पर उसे घटाकर पैमाना बदलना, ताकि कभी-कभार का विशाल gradient प्रशिक्षण को न बिखेरे। LLM प्रशिक्षण में 1.0 की सीमा सामान्य।

- पूरा पाठ पढ़ें: [ऑप्टिमाइज़र और प्रशिक्षण स्थिरता: AdamW, LR schedule, mixed precision](https://dmxsf.com/hi/wiki/foundations/optimizers-and-training-stability/)
- यह भी देखें: [AdamW](https://dmxsf.com/hi/glossary/#adamw), [Learning-rate schedule](https://dmxsf.com/hi/glossary/#lr-schedule)

### Greedy decoding

हर चरण पर सबसे संभावित token चुनना। यह निश्चयात्मक और तेज़ है, पर दोहराव की ओर झुकता है और कुल में सबसे संभावित sequence की गारंटी नहीं देता।

- पूरा पाठ पढ़ें: [Decoding aur sampling: temperature, Top-k, Top-p aur beam search](https://dmxsf.com/hi/wiki/inference/decoding-and-sampling/)
- यह भी देखें: [Beam search](https://dmxsf.com/hi/glossary/#beam-search), [Temperature](https://dmxsf.com/hi/glossary/#temperature)

### Group relative policy optimization (GRPO)

एक ही prompt के उत्तरों का group sample करके उनके rewards को group के माध्य और standard deviation से normalize करके advantages निकालना, जिससे PPO का value model हट जाता है। DeepSeekMath में पेश और DeepSeek-R1 में प्रयुक्त।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [DeepSeekMath: Math Corpus, GRPO and a Unified View of Reinforcement Learning](https://dmxsf.com/hi/blog/deepseekmath-pushing-the-limits-of-mathematical-reasoning/)
- यह भी देखें: [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo), [Reinforcement learning with verifiable rewards](https://dmxsf.com/hi/glossary/#rlvr), [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model), [REINFORCE Leave-One-Out](https://dmxsf.com/hi/glossary/#rloo), [Baseline (policy gradient)](https://dmxsf.com/hi/glossary/#rl-baseline)

### Group reward-Decoupled Normalization Policy Optimization (GDPO)

NVIDIA का 2026 का बहु-reward RL तरीका। GRPO rewards जोड़कर group के भीतर कुल को normalize करता है, जिससे भिन्न reward संयोजनों को वही advantage मिल सकता है (reward collapse)। GDPO हर reward को पहले group के भीतर normalize करता है, भारों के साथ जोड़ता है और batch पर एक बार normalize करता है, ताकि advantage का पैमाने rewards की संख्या से न बढ़े।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [GDPO: Why Multi-Reward RL Should Normalize Each Reward on Its Own](https://dmxsf.com/hi/blog/gdpo-group-reward-decoupled-normalization-policy-optimization/)
- यह भी देखें: [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [DAPO](https://dmxsf.com/hi/glossary/#dapo), [Reward hacking](https://dmxsf.com/hi/glossary/#reward-hacking)

### Group sequence policy optimization (GSPO)

Qwen team का 2025 का reinforcement learning एल्गोरिद्म। GRPO जैसा ही group-normalized advantages और नहीं value model, पर importance ratio की इकाई बदलता है: प्रति token के बजाय प्रति उत्तर एक अनुपात (sequence likelihood ratio का घात 1/length), पूरे के रूप में clipped। Paper स्थिर प्रशिक्षण और MoE मॉडलों के लिऔ Routing Replay की अनावश्यकता रिपोर्ट करता है।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [GSPO: Moving Importance Ratios and Clipping From Tokens to Whole Responses](https://dmxsf.com/hi/blog/gspo-group-sequence-policy-optimization/)
- यह भी देखें: [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [DAPO](https://dmxsf.com/hi/glossary/#dapo), [Importance sampling](https://dmxsf.com/hi/glossary/#importance-sampling), [Routing Replay](https://dmxsf.com/hi/glossary/#routing-replay), [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe)

### Grouped-query attention (GQA)

Query heads को groups में बाँटा जाता है और हर group एक key/value head साझा करता है; multi-head और multi-query attention के बीच का मध्य मार्ग। Llama 2 70B, Llama 3 और Mistral 7B आदि में प्रयुक्त।

- पूरा पाठ पढ़ें: [आधुनिक मॉडल architecture: GPT-2 से Llama, Qwen व DeepSeek तक](https://dmxsf.com/hi/wiki/architecture/modern-llm-architecture/)
- शोधपत्र विश्लेषण: [GQA: Turning Multi-Head Checkpoints into Grouped-Query Attention for 5% of Pretraining Compute](https://dmxsf.com/hi/blog/gqa-grouped-query-attention/)
- यह भी देखें: [Multi-query attention](https://dmxsf.com/hi/glossary/#mqa), [Multi-head attention](https://dmxsf.com/hi/glossary/#multi-head-attention), [Multi-head latent attention](https://dmxsf.com/hi/glossary/#mla), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache)

### GSM8K

Cobbe et al. का प्राथमिक विद्यालय गणित के शब्द-समस्याओं का dataset: लगभग 8.5K समस्याएँ, हर एक 2 से 8 तर्क-चरण चाहती है और संख्या पर समाप्त होती है; आधिकारिक repository में 7,473 प्रशिक्षण और 1,319 परीक्षा समस्याएँ हैं।

- पूरा पाठ पढ़ें: [LLM evaluation methodology: benchmarks, contamination aur eval process](https://dmxsf.com/hi/wiki/evaluation/llm-evaluation/)
- यह भी देखें: [Benchmark](https://dmxsf.com/hi/glossary/#benchmark), [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought)

### Guardrail

मॉडल के बाहर input और output जाँचों की परत: नियम या classifier models जो मना अनुरोध छानते हैं, हानिकारक आउटपुट रोकते हैं और format सत्यापित करते हैं। जोखिम घटाती है पर खुद टाली जा सकती है, इसलिऔ न्यूनतम विशेषाधिकार जैसे संरचनात्मक उपायों के साथ जोड़नी चाहिए।

- पूरा पाठ पढ़ें: [Prompt injection aur jailbreak: LLM application ki safety seema](https://dmxsf.com/hi/wiki/safety/prompt-injection-and-jailbreaks/)
- यह भी देखें: [Prompt injection](https://dmxsf.com/hi/glossary/#prompt-injection), [Jailbreak](https://dmxsf.com/hi/glossary/#jailbreak), [Red teaming](https://dmxsf.com/hi/glossary/#red-teaming)

## H

### Hallucination

ऐसा आउटपुट जो सुचार पढ़ाई जाए पर तथ्यों या दी गई स्रोतों से टकराए। Retrieval, उद्धरण और बाद की पड़ताल इसे घटाती हैं, पर कोई उसे पूरी तरह नहीं मिटाता।

- पूरा पाठ पढ़ें: [Hallucination aur calibration: model vajah se pakka galat kaise bolta hai](https://dmxsf.com/hi/wiki/safety/hallucination-and-calibration/)
- यह भी देखें: [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag), [Benchmark](https://dmxsf.com/hi/glossary/#benchmark)

### Hardware FLOPs utilization (HFU)

हार्डवेयर जो FLOPs वास्तव में चलाता है, उसका सैद्धांतिक शिखर पर अनुपात, recomputed संक्रियाएँ गिनते हुए। Activation recomputation के साथ एक ही run में HFU, MFU से ऊँचा होता है: PaLM 540B का MFU 46.2% और HFU 57.8%।

- पूरा पाठ पढ़ें: [प्रशिक्षण की गणना व मेमोरी का लेखा: FLOPs, MFU व मेमोरी बजट](https://dmxsf.com/hi/wiki/pretraining/compute-and-memory/)
- यह भी देखें: [Model FLOPs utilization](https://dmxsf.com/hi/glossary/#mfu), [Activation checkpointing](https://dmxsf.com/hi/glossary/#activation-checkpointing)

### Heuristic filtering

हाथ से बनाए सांख्यिकी नियमों से घटिया पन्ने छँटना: बिना अंतिम विराम वाली पंक्तियाँ गिराना, छोटे documents हटाना, दोहराई गई पंक्तियों से भरे documents फेंकना। नियम सस्ते हैं और एक-एक कर ablate हो सकते हैं, पर दहलीज़ डेटा और benchmarks पर निर्भर होती हैं। FineWeb ने पाया कि C4 का अंतिम-विराम नियम अकेले लगभग 30% tokens हटाता है, और उसे गिराकर बाकी रखना बेहतर काम करता है।

- पूरा पाठ पढ़ें: [Pretraining data engineering: छँटाई, dedup व मिश्रण](https://dmxsf.com/hi/wiki/pretraining/data-engineering/)
- शोधपत्र विश्लेषण: [FineWeb: Extracting, Deduplicating and Filtering a 15T-Token Open Web Corpus, One Ablation at a Time](https://dmxsf.com/hi/blog/the-fineweb-datasets-decanting-the-web-for-the-finest-text-data-at-scale/)
- यह भी देखें: [FineWeb](https://dmxsf.com/hi/glossary/#fineweb), [Model-based filtering](https://dmxsf.com/hi/glossary/#model-based-filtering), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication)

### Hierarchical sparse indexer

DeepSeek-V4.1-Flash decoder की indexing योजना। पहली Full layer हर दृश्य स्थिति को स्कोर देती है और 8 स्थितियों के सर्वश्रेष्ठ 2,048 blocks भी रखती है, 16,384 candidates का pool; बाद की Reindex layers केवल उस pool के भीतर स्कोर देकर अपना ऊँचा-512 चुनती हैं, ताकि उनकी लागत context लंबाई से न बढ़े। रेखीय पद एक layer तक सीमित है, हटाया नहीं गया।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [Compressed Sparse Attention 2](https://dmxsf.com/hi/glossary/#csa2), [Lightning indexer](https://dmxsf.com/hi/glossary/#lightning-indexer), [Top-k sampling](https://dmxsf.com/hi/glossary/#top-k)

### High Bandwidth Memory (HBM)

एक ही package में GPU के पास रखे ढेर किए DRAM dies से बनी स्मृति। कुछ terabytes प्रति सेकंड bandwidth देती है, साधारण GPU स्मृति से बहुत ऊपर, पर क्षमता सीमित, प्रति device कुछ दस gigabytes से लगभग दो सौ तक। Weights, KV cache और activations यहीं रहते हैं, इसलिऔ inference गति प्रायः इससे पढ़ने की दर पर टिकी है।

- पूरा पाठ पढ़ें: [GPU और Roofline मॉडल: बड़े मॉडल अक्सर मेमोरी bandwidth पर क्यों अटकते हैं](https://dmxsf.com/hi/wiki/systems/gpu-and-roofline/)
- यह भी देखें: [Memory-bound](https://dmxsf.com/hi/glossary/#memory-bound), [Arithmetic intensity](https://dmxsf.com/hi/glossary/#arithmetic-intensity), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache)

### HumanEval

Chen et al. के Codex paper के साथ जारी code benchmark: 164 हाथ से लिखे Python समस्याएँ, हर एक फलन का signature और docstring देती है, और unit tests बने फलन की जाँच करते हैं; परिणाम pass@k के रूप में रिपोर्ट होते हैं।

- पूरा पाठ पढ़ें: [LLM evaluation methodology: benchmarks, contamination aur eval process](https://dmxsf.com/hi/wiki/evaluation/llm-evaluation/)
- यह भी देखें: [pass@k](https://dmxsf.com/hi/glossary/#pass-at-k), [Benchmark](https://dmxsf.com/hi/glossary/#benchmark), [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination)

### Hybrid architecture

ऐसा मॉडल जो कुछ attention layers को कई recurrent layers (Mamba, linear attention, Gated DeltaNet) के साथ बारी-बारी रखता है। Recurrent layers नियत आकार state से सूचना सस्ते मिलाती हैं, attention layers शब्दशः याद करती हैं, और cache केवल attention layers के साथ बढ़ती है। Jamba हर 8 में 1 attention layer रखता है, ताकि 256K tokens पर उसकी KV cache उसी आकार के full-attention मॉडल की 1/8 हो।

- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- यह भी देखें: [State space model](https://dmxsf.com/hi/glossary/#ssm), [Mamba](https://dmxsf.com/hi/glossary/#mamba), [Gated DeltaNet](https://dmxsf.com/hi/glossary/#gated-deltanet), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache)

### Hyper-connections (HC)

n समानांतर streams (n×C hidden state) वाला residual connection और तीन सीखे mappings: H_pre streams को मिलाकर sublayer का input बनाता है, H_post आउटपुट वापस streams में फैलाता है, और H_res streams को मिलाने वाला n×n matrix है। यह residual stream को बिना अतिरिक्त FLOPs चौड़ा करता है, पर बिना सीमा वाले mappings कई layers में लाभ को असीमित बना सकते हैं, जिसे mHC सँभालता है (Zhu et al., 2024)।

- शोधपत्र विश्लेषण: [mHC: Keeping a Wider Residual Stream Stable With Doubly Stochastic Mixing](https://dmxsf.com/hi/blog/mhc-manifold-constrained-hyper-connections/)
- यह भी देखें: [Residual connection](https://dmxsf.com/hi/glossary/#residual-connection), [Manifold-constrained hyper-connections](https://dmxsf.com/hi/glossary/#mhc), [Doubly stochastic matrix](https://dmxsf.com/hi/glossary/#doubly-stochastic-matrix)

### Hypothetical Document Embeddings (HyDE)

LLM से काल्पनिक उत्तर document लिखवाकर उसकी embedding से वास्तविक documents खोजना, ताकि retrieval प्रश्न-उत्तर के बजाय उत्तर-उत्तर तुलना करे। काल्पनिक document के तथ्य ग़लत हो सकते हैं, इसलिऔ वह केवल खोज vector बनाता है; लागत एक अतिरिक्त generation है, और मॉडल की ग़लतियाँ retrieval में रिस सकती हैं। Gao et al. ने 2022 में प्रस्तावित किया (arXiv:2212.10496)।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Query rewriting](https://dmxsf.com/hi/glossary/#query-rewriting), [Embedding](https://dmxsf.com/hi/glossary/#embedding), [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag)

## I

### Implicit reward

DPO की policy और reference model के log-ratio से परिभाषित reward: r(x, y) = beta * log(pi(y|x) / pi_ref(y|x))। वह कभी अलग मॉडल के रूप में प्रशिक्षित नहीं होता, फिर भी Bradley-Terry model के अधीन DPO loss घटाना ठीक यही reward फ़िट करता है, जो सच्चे reward से केवल prompt पर निर्भर पद (partition function) से भिन्न होता है।

- पूरा पाठ पढ़ें: [Preference optimization: RLHF se DPO tak](https://dmxsf.com/hi/wiki/post-training/preference-optimization/)
- शोधपत्र विश्लेषण: [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://dmxsf.com/hi/blog/dpo-direct-preference-optimization/)
- यह भी देखें: [Direct preference optimization](https://dmxsf.com/hi/glossary/#dpo), [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [Bradley-Terry model](https://dmxsf.com/hi/glossary/#bradley-terry), [Reference model](https://dmxsf.com/hi/glossary/#reference-model)

### Importance sampling

लक्ष्य distribution के expectation को दूसरी (behavior) distribution के नमूनों से आकलना, हर नमूने को दोनों प्रायिकताओं के अनुपात से भारित करके। PPO-शैली एल्गोरिद्म पुरानी policy के नमूनों को नई-से-पुरानी प्रायिकता-अनुपात से भारित करके clip करते हैं। भार विसंगति तभी सुधारता है जब कई नमूनों पर औसत हो, यही GSPO का प्रति-token अनुपातों के विरुद्ध तर्क है।

- अन्य नाम: Importance ratio, Importance weight
- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- शोधपत्र विश्लेषण: [GSPO: Moving Importance Ratios and Clipping From Tokens to Whole Responses](https://dmxsf.com/hi/blog/gspo-group-sequence-policy-optimization/)
- यह भी देखें: [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Group sequence policy optimization](https://dmxsf.com/hi/glossary/#gspo)

### In-context learning

बिना कोई parameter अद्यतन किए केवल prompt में दिए उदाहरणों या निर्देशों से नया कार्य सीखने की क्षमता। GPT-3 ने इसे व्यवस्थित रूप से दिखाया।

- अन्य नाम: ICL
- पूरा पाठ पढ़ें: [Prompt engineering: spec se message tak](https://dmxsf.com/hi/wiki/applications/prompt-engineering/)
- यह भी देखें: [Few-shot prompting](https://dmxsf.com/hi/glossary/#few-shot), [Prompt engineering](https://dmxsf.com/hi/glossary/#prompt-engineering)

### Indirect object identification (IOI)

Interpretability में व्यापक प्रयुक्त कार्य: दिया वाक्य पूरा करते समय मॉडल को दोहराए विषय John के बजाय अप्रत्यक्ष वस्तु Mary लिखनी होती है। Wang et al. (2022) ने GPT-2 small में कार्य-कारण हस्तक्षेपों से उसका परिपथ पाया: 7 classes के 26 attention heads, जिनमें name movers और S-inhibition heads हैं। Metric: logit(IO) − logit(S)।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Circuit](https://dmxsf.com/hi/glossary/#circuit), [Activation patching](https://dmxsf.com/hi/glossary/#activation-patching)

### Indirect prompt injection

हमलावर मॉडल के पढ़ने वाली बाहरी सामग्री में निर्देश रोपता है, जैसे web पन्ने, ईमेल, documents या tool नतीजे, मॉडल से सीधे न बोलकर; मॉडल डेटा को निर्देश समझ लेता है और उपयोगकर्ता को ख़बर नहीं। Greshake et al. (2023) ने retrieval और tools जोड़ने वाली applications के लिए इसे नाम देकर व्यवस्थित अध्ययन किया।

- पूरा पाठ पढ़ें: [Prompt injection aur jailbreak: LLM application ki safety seema](https://dmxsf.com/hi/wiki/safety/prompt-injection-and-jailbreaks/)
- यह भी देखें: [Prompt injection](https://dmxsf.com/hi/glossary/#prompt-injection), [Lethal trifecta](https://dmxsf.com/hi/glossary/#lethal-trifecta), [Agent](https://dmxsf.com/hi/glossary/#agent), [Model Context Protocol](https://dmxsf.com/hi/glossary/#mcp)

### Induction head

Transformers का attention परिपथ: [A][B] पहले आ चुके हों तो बाद का [A] मॉडल को पिछले [A] के बाद आए token पर ध्यान देकर उसे भविष्यवानी के रूप में नक़ल करवाता है। Olsson et al. (2022) induction heads को in-context learning के उभार से जोड़ते हैं। Mamba paper इसका कृत्रिम रूप परखता है (लंबाई 256 पर प्रशिक्षित, 1,048,576 तक परखा), और Mamba हर लंबाई पर पूर्ण है।

- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- शोधपत्र विश्लेषण: [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://dmxsf.com/hi/blog/mamba-linear-time-sequence-modeling-with-selective-state-spaces/)
- यह भी देखें: [In-context learning](https://dmxsf.com/hi/glossary/#in-context-learning), [Selective Copying](https://dmxsf.com/hi/glossary/#selective-copying), [Mamba](https://dmxsf.com/hi/glossary/#mamba)

### Inference budget

तैनाती अनुरोध सेवित करते समय जो compute और स्मृति व्यय सह सकती है। हर बनाए गए token की लागत लगभग 2N फ़्लोटिंग-पॉइंट संक्रियाएँ, जहाँ N parameter संख्या है। LLaMA paper कहता है कि केवल training compute से मॉडल चुनना इस पद को भूल जाता है: लक्ष्य गुणवत्ता के लिए वही मॉडल चुनो जो inference पर सबसे सस्ता है, यानी लंबे प्रशिक्षित छोटा मॉडल।

- पूरा पाठ पढ़ें: [Scaling laws: compute, पैरामीटर व data कैसे बाँटें](https://dmxsf.com/hi/wiki/pretraining/scaling-laws/)
- शोधपत्र विश्लेषण: [LLaMA: Train Smaller Models for Longer, on Public Data Only](https://dmxsf.com/hi/blog/llama-open-and-efficient-foundation-language-models/)
- यह भी देखें: [Chinchilla-optimal training](https://dmxsf.com/hi/glossary/#chinchilla), [Overtraining](https://dmxsf.com/hi/glossary/#overtraining)

### Inference runtime

वह software जो मॉडल की configuration और weights लोड करता है, स्मृति आवंटित करता है, inference संक्रियाएँ चलाता है और decoding नियमों के अनुसार tokens देता है। आस-पास की service अनुरोध और प्रतिक्रियाएँ सँभालती है।

- पूरा पाठ पढ़ें: [Pehla inference service: model function ko HTTP requests lena](https://dmxsf.com/hi/wiki/inference/first-inference-service/)
- यह भी देखें: [Device memory](https://dmxsf.com/hi/glossary/#device-memory), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache)

### InfoNCE loss

Contrastive learning में व्यापक प्रयुक्त loss: batch के N मेल खाते जोड़ों की pairwise समानताएँ N×N matrix बनाती हैं जिसके विकर्ण पर positives और बाकी जगह negatives हैं, और हर पंक्ति (और column) पर softmax cross-entropy लिया जाता है। CLIP उसका सममित रूप लेता है, समानताओं को temperature से भाग देकर।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- यह भी देखें: [Contrastive learning](https://dmxsf.com/hi/glossary/#contrastive-learning), [Cross-entropy](https://dmxsf.com/hi/glossary/#cross-entropy), [Temperature](https://dmxsf.com/hi/glossary/#temperature)

### Information integration

चार RAG क्षमताओं में से एक: ऐसे जटिल प्रश्नों के उत्तर जिन्हें कई documents चाहिए, जैसे दो तथ्य दो documents में हों और दोनों खोजकर जोड़ने पड़ें। RGB ऐसे प्रश्न बनाता है जो केवल कई documents से हल होते हैं, और पाता है कि मॉडल उन पर एकल-document प्रश्नों से साफ़ बदतर करते हैं।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Noise robustness](https://dmxsf.com/hi/glossary/#noise-robustness), [Counterfactual robustness](https://dmxsf.com/hi/glossary/#counterfactual-robustness), [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag)

### Instruction hierarchy

मॉडल को निर्देशों को स्रोत के अनुसार rank करना सिखाना: system prompt उपयोगकर्ता संदेश से ऊपर, उपयोगकर्ता संदेश tool नतीजों और web पन्नों जैसी तीसरे पक्ष की सामग्री से ऊपर; टकराव पर वह ऊँचा स्तर माने और निचले स्तर के विशेषाधिकार-जैसी दिखने वाले निर्देशों को अनसुना करे। OpenAI ने 2024 में पेश किया; यह स्थिरता सुधारता है पर प्रायिक बचाव ही रहता है।

- पूरा पाठ पढ़ें: [Prompt injection aur jailbreak: LLM application ki safety seema](https://dmxsf.com/hi/wiki/safety/prompt-injection-and-jailbreaks/)
- यह भी देखें: [Prompt injection](https://dmxsf.com/hi/glossary/#prompt-injection), [Jailbreak](https://dmxsf.com/hi/glossary/#jailbreak), [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf)

### Instruction tuning

कई कार्यों को छुआते instruction डेटा पर supervised fine-tuning, ताकि मॉडल बिना देखे निर्देश zero-shot निभा सके। FLAN और InstructGPT प्रतिनिधि हैं।

- पूरा पाठ पढ़ें: [SFT data ka nirman aur quality control](https://dmxsf.com/hi/wiki/post-training/sft-data/)
- यह भी देखें: [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft), [In-context learning](https://dmxsf.com/hi/glossary/#in-context-learning)

### Inter-annotator agreement

कितनी बार कई annotators एक ही items पर एक ही label देते हैं, label गुणवत्ता का माप। सामान्य माप कच्ची सहमति p_o और Cohen's kappa, पर class असंतुलन कच्ची सहमति सुजाता और kappa घटाता है: दो annotators जो हर बार 5% ग़लती करें संतुलित classes में kappa 0.811 और 99% positives में 0.144 लाते हैं। सहमति, class संतुलन और प्रति-class सहमति साथ रिपोर्ट करो।

- पूरा पाठ पढ़ें: [Eval set banana: question sources, label quality aur question information](https://dmxsf.com/hi/wiki/evaluation/building-eval-sets/)
- यह भी देखें: [Cohen's kappa](https://dmxsf.com/hi/glossary/#cohens-kappa), [Label noise](https://dmxsf.com/hi/glossary/#label-noise)

### Inverse dynamics model (IDM)

ऐसा मॉडल जो दो observations, जैसे वर्तमान और भविष्य का frame, के बीच कौन-सी क्रिया हुई अनुमानित करता है; अगली state भविष्यवानी करने वाले forward model का उलटा। यह बिना क्रियाओं वाली videos पर label लगा सकता है: GR00T N1 का IDM दो frames के बीच का action chunk देता है, SigLIP-2 embeddings वाले System 1 DiT का उपयोग करते हुए, neural trajectories पर label लगाता है।

- शोधपत्र विश्लेषण: [GR00T N1: A Data Pyramid and a Dual-System Model for Generalist Humanoid Robots](https://dmxsf.com/hi/blog/gr00t-n1-an-open-foundation-model-for-generalist-humanoid-robots/)
- यह भी देखें: [Latent action](https://dmxsf.com/hi/glossary/#latent-action), [Neural trajectory](https://dmxsf.com/hi/glossary/#neural-trajectory)

### IsoFLOPs curve

Training compute C स्थिर रखकर parameter संख्या बदलना (tokens C / 6N के अनुसार) और अंतिम loss आलेखित करना; वक्र का न्यूनतम उस बजट का compute-optimal मॉडल है। प्रति बजट परवलय फ़िट करके अनुकूल आकार का compute पर power law निकाला जाता है: Chinchilla की दूसरी विधि, Llama 3 भी इस्तेमाल करता है, जो देखता है कि अनुकूल के पास compute बढ़ने पर वक्र सपाट होते हैं।

- पूरा पाठ पढ़ें: [Scaling laws: compute, पैरामीटर व data कैसे बाँटें](https://dmxsf.com/hi/wiki/pretraining/scaling-laws/)
- शोधपत्र विश्लेषण: [The Llama 3 Herd of Models: data, scale and the engineering recipe of a 405B dense model](https://dmxsf.com/hi/blog/the-llama-3-herd-of-models/)
- यह भी देखें: [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law), [Chinchilla-optimal training](https://dmxsf.com/hi/glossary/#chinchilla), [FLOPs](https://dmxsf.com/hi/glossary/#flops)

### Item discrimination

एक item प्रबल और कमज़ोर मॉडलों को कितनी अच्छी तरह अलग करता है। IRT में यह सफलता-प्रायिकता वक्र की तीव्रता a है; item की सूचना a²P(1−P) होती है, शिखर a²/4 पर, ताकि a दोगुना करने से वह चार गुना हो। प्रायः item-rest correlation से आकलित, यानी item का बाकी items पर कुल से सहसंबंध: शून्य के पास ranking में कुछ नहीं जोड़ता, ऋणात्मक प्रायः ग़लत संदर्भ उत्तर का संकेत।

- पूरा पाठ पढ़ें: [Eval set banana: question sources, label quality aur question information](https://dmxsf.com/hi/wiki/evaluation/building-eval-sets/)
- यह भी देखें: [Item response theory](https://dmxsf.com/hi/glossary/#item-response-theory), [Benchmark](https://dmxsf.com/hi/glossary/#benchmark)

### Item response theory (IRT)

Items और परीक्षार्थियों का मनोमिति model: हर परीक्षार्थी (यहाँ मॉडल) की क्षमता θ, हर item की कठिनाई b और विभेदन a होता है, और दो-parameter model सही उत्तर की संभावना σ(a(θ−b)) देता है। मूल्यांकन सेटों पर यह सूचनाप्रद items और ऋणात्मक विभेदन वाले items, प्रायः ग़लत अंकित, खोजता है; tinyBenchmarks इससे हर benchmark को 100 items में सिमटाता है।

- पूरा पाठ पढ़ें: [Eval set banana: question sources, label quality aur question information](https://dmxsf.com/hi/wiki/evaluation/building-eval-sets/)
- यह भी देखें: [Item discrimination](https://dmxsf.com/hi/glossary/#item-discrimination), [Benchmark](https://dmxsf.com/hi/glossary/#benchmark)

### Iterative retrieval

Retrieval और generation की बारी: ज्ञान-आधार को आरंभिक query और अब तक बने टेक्स्ट से बार-बार खोजा जाता है, हर दौर मॉडल को समृद्ध और लक्षित संदर्भ देता है। Survey लिखता है कि इसमें अर्थ की असंगतता और जुटती असंबद्ध सूचना की बीमारी हो सकती है। उदाहरण: ITER-RETGEN। Recursive retrieval query को परिष्कृत करता या उप-प्रश्नों में बाँटता है (IRCoT)।

- अन्य नाम: Recursive retrieval
- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Adaptive retrieval](https://dmxsf.com/hi/glossary/#adaptive-retrieval), [Modular RAG](https://dmxsf.com/hi/glossary/#modular-rag), [ReAct](https://dmxsf.com/hi/glossary/#react)

## J

### Jaccard similarity

दो समुच्चयों के सर्वनिष्ठ भाग का उनके संघ पर अनुपात, 0 और 1 के बीच। Documents के लिए शब्द n-gram समुच्चयों पर गणना होती है, और MinHash signature की किसी स्थिति पर मेल की प्रायिकता ठीक इतनी ही। आकार से संवेदनशील: लंबे document में चिपका छोटा टेक्स्ट कम स्कोर लाता है, उसे पकड़ने के लिए containment (छोटे समुच्चय पर सर्वनिष्ठ भाग) या substring मेल चाहिए।

- अन्य नाम: Jaccard index
- पूरा पाठ पढ़ें: [Pretraining data engineering: छँटाई, dedup व मिश्रण](https://dmxsf.com/hi/wiki/pretraining/data-engineering/)
- यह भी देखें: [MinHash](https://dmxsf.com/hi/glossary/#minhash), [Locality-sensitive hashing](https://dmxsf.com/hi/glossary/#locality-sensitive-hashing), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication)

### Jailbreak

उपयोगकर्ता का ऐसा input जो सुरक्षा-प्रशिक्षित मॉडल को अपनी ही नीति तोड़कर वह सामग्री देने को ललकारे जिसे वह ठुकराना चाहिए। प्रतिपक्षी उपयोगकर्ता है; prompt injection में निर्देश मॉडल के पढ़े तीसरे पक्ष की डेटा में छिपते हैं और शिकार दूसरा उपयोगकर्ता या system होता है, इसलिऔ बचाव भिन्न होते हैं।

- पूरा पाठ पढ़ें: [Prompt injection aur jailbreak: LLM application ki safety seema](https://dmxsf.com/hi/wiki/safety/prompt-injection-and-jailbreaks/)
- यह भी देखें: [Prompt injection](https://dmxsf.com/hi/glossary/#prompt-injection), [Red teaming](https://dmxsf.com/hi/glossary/#red-teaming), [Many-shot jailbreaking](https://dmxsf.com/hi/glossary/#many-shot-jailbreaking), [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf)

### JSON mode

API का एक switch जो मॉडल के आउटपुट के वैध JSON होने की गारंटी देता है, पर यह नहीं कि वह तुम्हारे schema से मेल खाए। OpenAI का documentation जहाँ संभव हो Structured Outputs को इससे ऊपर रखने को कहता है।

- पूरा पाठ पढ़ें: [Structured output aur function calling: JSON mode se constrained decoding tak](https://dmxsf.com/hi/wiki/applications/structured-output-and-function-calling/)
- यह भी देखें: [Structured output](https://dmxsf.com/hi/glossary/#structured-output), [JSON Schema](https://dmxsf.com/hi/glossary/#json-schema)

### JSON Schema

JSON डेटा की संरचना वर्णित करने का मानक format: fields, types, enums और आवश्यक keys। Structured outputs और function calling इससे मॉडल आउटपुट बाँधते हैं, और हर provider इसका केवल एक उपसमुच्चय सहता है।

- पूरा पाठ पढ़ें: [Structured output aur function calling: JSON mode se constrained decoding tak](https://dmxsf.com/hi/wiki/applications/structured-output-and-function-calling/)
- यह भी देखें: [Structured output](https://dmxsf.com/hi/glossary/#structured-output), [Function calling](https://dmxsf.com/hi/glossary/#function-calling), [Constrained decoding](https://dmxsf.com/hi/glossary/#constrained-decoding)

### JSON-RPC

JSON में अंकित हल्का दूरस्थ-कॉल protocol: अनुरोध method, params और id ले जाता है, प्रतिक्रिया result या error, और id-रहित संदेश notification है जिसे उत्तर नहीं चाहिए। त्रुटियाँ पूर्णांक codes उपयोग करती हैं, जैसे अवैध params के लिऔ -32602। MCP और Language Server Protocol (LSP) दोनों इसी पर बने हैं।

- अन्य नाम: JSON-RPC 2.0
- पूरा पाठ पढ़ें: [MCP aur tool ecosystem: protocol kaise chalta hai, tools zyada hon to kya](https://dmxsf.com/hi/wiki/applications/mcp-and-tool-ecosystem/)
- यह भी देखें: [Model Context Protocol](https://dmxsf.com/hi/glossary/#mcp), [Streamable HTTP](https://dmxsf.com/hi/glossary/#streamable-http)

## K

### K3 estimator

एकल-नमूना KL आकलन: r = π_ref/π_θ के साथ r − 1 − log r, ऋणेतर और कम variance; GRPO इसे KL penalty बनाता है। पुरानी policy के नमूनों के लिए यह भेदभरा होता है, इसलिऔ DeepSeek-V3.2 उसे importance ratio π_θ/π_old से गुणा करता है। V3.2 post की सही गणना: संशोधित gradient KL(π_θ‖π_ref) के बराबर, संशोधन-रहित K3 gradient उलटी KL के बराबर।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [DeepSeek-V3.2: Sparse Attention, Scaled-Up RL and Synthetic Agent Tasks](https://dmxsf.com/hi/blog/deepseek-v32-pushing-the-frontier-of-open-large-language-models/)
- यह भी देखें: [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Importance sampling](https://dmxsf.com/hi/glossary/#importance-sampling)

### Kernel fusion

पास के कई GPU संक्रियाओं को एक kernel में मिलाना ताकि बीच के नतीजे स्मृति में लिखे-पढ़े जाने के बजाय on-chip registers और shared memory में रहें। Bandwidth-bound elementwise संक्रियाओं के लिए बचत स्मृति traffic की है, और समय उसके साथ गिरता है। FlashAttention attention को एक ही kernel में fuse करता है।

- अन्य नाम: Operator fusion
- पूरा पाठ पढ़ें: [GPU kernels का परिचय: Tiled matrix गुणन से operator fusion तक](https://dmxsf.com/hi/wiki/systems/gpu-kernels/)
- यह भी देखें: [Memory-bound](https://dmxsf.com/hi/glossary/#memory-bound), [FlashAttention](https://dmxsf.com/hi/glossary/#flashattention), [Arithmetic intensity](https://dmxsf.com/hi/glossary/#arithmetic-intensity)

### KL divergence

दो प्रायिकता वितरणों के अंतर का असममित माप: KL(p ‖ q) = Σ p log(p / q)। RLHF और DPO इससे नए मॉडल को reference model से बहुत दूर भटकने से रोकते हैं।

- पूरा पाठ पढ़ें: [सूचना सिद्धांत की समीक्षा: entropy, cross-entropy और KL divergence](https://dmxsf.com/hi/wiki/foundations/information-theory/)
- यह भी देखें: [Cross-entropy](https://dmxsf.com/hi/glossary/#cross-entropy), [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [Direct preference optimization](https://dmxsf.com/hi/glossary/#dpo)

### KL estimators k1, k2, k3

π_θ के अधीन sample किए tokens से KL(π_θ‖π_ref) के तीन प्रति-token आकलक (Schulman, 2020)। r = π_ref/π_θ के साथ: k1 = −log r भेदरहित पर शोर भरा, k2 = ½(log r)² हल्का भेदभरा और कम variance, k3 = r − 1 − log r भेदरहित और ऋणेतर। GRPO loss में k3 जोड़ता है; loss के रूप में उपयोग किए आकलक का अवकलन sequence-स्तरीय KL का gradient नहीं देना ज़रूरी।

- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- शोधपत्र विश्लेषण: [DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning](https://dmxsf.com/hi/blog/deepseek-r1-reasoning-via-reinforcement-learning/)
- यह भी देखें: [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence), [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo)

### KV cache

Autoregressive generation के दौरान हर layer में हर प्रक्रित token की keys और values सँजोना, ताकि बाद के चरण नए token के लिए ही attention गणना करें। कीमत: स्मृति sequence लंबाई और concurrency के साथ रेखीय बढ़ती है।

- पूरा पाठ पढ़ें: [KV cache aur inference performance optimization](https://dmxsf.com/hi/wiki/inference/kv-cache/)
- यह भी देखें: [Prefill और decode](https://dmxsf.com/hi/glossary/#prefill-decode), [Grouped-query attention](https://dmxsf.com/hi/glossary/#gqa), [PagedAttention](https://dmxsf.com/hi/glossary/#pagedattention), [Context window](https://dmxsf.com/hi/glossary/#context-window)

### KV cache fragmentation

हर अनुरोध को उसकी अधिकतम लंबाई की लगातार स्मृति आरक्षित देने पर बर्बादी के तीन रूप: अभी न बने tokens के लिए पहले से रखे slots, internal fragmentation (सच्ची लंबाई आरक्षण से छोटी) और allocator की छोड़ी external fragmentation। vLLM पेपर ने नापा कि मौजूदा systems में KV cache का केवल 20.4%-38.2% भाग वास्तविक token states रखता है।

- अन्य नाम: Reservation, internal and external fragmentation
- शोधपत्र विश्लेषण: [vLLM and PagedAttention: Managing the KV Cache Like Paged Memory](https://dmxsf.com/hi/blog/vllm-pagedattention/)
- यह भी देखें: [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [PagedAttention](https://dmxsf.com/hi/glossary/#pagedattention), [Block table](https://dmxsf.com/hi/glossary/#block-table)

## L

### Label noise

प्रशिक्षण डेटा में ग़लत labels, या उनका कुल हिस्सा। समरूप noise labels को यादृच्छिक दूसरी class से बदल देता है; वास्तविक annotation त्रुटियाँ प्रायः पास की classes के बीच जमा होती हैं। Neural networks ग़लत labels भी याद कर सकते हैं (Zhang et al., 2017), इसलिऔ noise अपने आप औसत में नहीं खोता; उसे spot checks या मॉडल-label असहमति वाले उदाहरण चिह्नित करके खोजा जाता है।

- पूरा पाठ पढ़ें: [SFT data ka nirman aur quality control](https://dmxsf.com/hi/wiki/post-training/sft-data/)
- यह भी देखें: [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft), [Loss masking](https://dmxsf.com/hi/glossary/#loss-masking)

### Label smoothing

One-hot प्रशिक्षण लक्ष्य को मिश्रण से बदलना: (1−ε) गुना one-hot label जोड़ ε गुना समरूप distribution, ताकि मॉडल को सारी प्रायिकता एक class पर धकेलने से रोका जाए। Transformer paper ने ε=0.1 रखा और लिखा कि यह perplexity खराब करता है पर सटीकता और BLEU सुधारता है।

- शोधपत्र विश्लेषण: [Attention Is All You Need: the Transformer, with self-attention instead of recurrence and convolution](https://dmxsf.com/hi/blog/attention-is-all-you-need/)
- यह भी देखें: [Cross-entropy](https://dmxsf.com/hi/glossary/#cross-entropy), [Perplexity](https://dmxsf.com/hi/glossary/#perplexity), [Softmax](https://dmxsf.com/hi/glossary/#softmax)

### भाषा मॉडल (Language model)

किसी टेक्स्ट की प्रायिकता आकलन करने वाला मॉडल। आधुनिक LLM chain rule से संयुक्त प्रायिकता को प्रति token सशर्त प्रायिकताओं P(x_t | x_<t) में तोड़ते हैं।

- पूरा पाठ पढ़ें: [भाषा मॉडलिंग से अगले टोकन की भविष्यवाणी तक](https://dmxsf.com/hi/wiki/foundations/next-token-prediction/)
- यह भी देखें: [Next-token prediction](https://dmxsf.com/hi/glossary/#next-token-prediction), [Perplexity](https://dmxsf.com/hi/glossary/#perplexity)

### Language-consistency reward

DeepSeek-R1 अपने पहले RL चरण में जोड़ा reward पद: chain of thought में लक्ष्य भाषा के शब्दों का हिस्सा, जो चीनी-अंग्रेज़ी मिलाने को रोकता है। Paper का अपना ablation दिखाता है कि यह प्रदर्शन हल्का घटाकर बेहतर पढ़ने योग्य, मानव पसंद के मेल खाता आउटपुट खरीदता है; यह reasoning और गैर-reasoning डेटा दोनों पर लगता है।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning](https://dmxsf.com/hi/blog/deepseek-r1-reasoning-via-reinforcement-learning/)
- यह भी देखें: [R1-Zero](https://dmxsf.com/hi/glossary/#r1-zero), [Reinforcement learning with verifiable rewards](https://dmxsf.com/hi/glossary/#rlvr), [Reward hacking](https://dmxsf.com/hi/glossary/#reward-hacking)

### Latent action

जब क्रिया labels न हों तो videos से सीखा क्रिया-प्रतिनिधित्व। GR00T N1 एक VQ-VAE प्रशिक्षित करता है जिसका encoder वर्तमान और भविष्य का frame पढ़कर latent action देता है; decoder उससे भविष्य का frame फिर बनाता है। फिर encoder inverse dynamics model का काम करता है, और quantization से पहले उसका सतत embedding pretraining का क्रिया label बनता है, LAPA नाम के virtual embodiment के लिए।

- शोधपत्र विश्लेषण: [GR00T N1: A Data Pyramid and a Dual-System Model for Generalist Humanoid Robots](https://dmxsf.com/hi/blog/gr00t-n1-an-open-foundation-model-for-generalist-humanoid-robots/)
- यह भी देखें: [Inverse dynamics model](https://dmxsf.com/hi/glossary/#inverse-dynamics-model), [Vision-language-action model](https://dmxsf.com/hi/glossary/#vla)

### Latent diffusion model (LDM)

Rombach et al. (2021): pretrained autoencoder images को निम्न-विमीय latents में सिमटाता है, diffusion model केवल उसी latent space में प्रशिक्षित होता है, और decoder नतीजा पिक्सलों में लौटाता है। Latent grid छोटा है (256×256×3 image 32×32×4 बनती है), इसलिऔ हर denoising चरण बहुत सस्ता; Stable Diffusion इसी तरह चलता है। Image गुणवत्ता autoencoder के पुनर्निर्माण से ऊपर नहीं जाती।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- यह भी देखें: [Diffusion model](https://dmxsf.com/hi/glossary/#diffusion-model), [Variational autoencoder](https://dmxsf.com/hi/glossary/#vae)

### Layer normalization

हर token के feature vector को शून्य माध्य और इकाई प्रसरण में normalizing करना, फिर सीखा scale और shift लगाना, प्रशिक्षण स्थिर करने के लिए। आधुनिक LLM प्रायः हर sublayer से पहले लगाते हैं (Pre-LN)।

- अन्य नाम: LayerNorm
- पूरा पाठ पढ़ें: [Transformer Block का पूरा विघटन](https://dmxsf.com/hi/wiki/architecture/transformer-block/)
- यह भी देखें: [RMSNorm](https://dmxsf.com/hi/glossary/#rmsnorm), [Residual connection](https://dmxsf.com/hi/glossary/#residual-connection)

### Learning-rate schedule

Training चरणों के साथ learning rate के बदलने का तरीका। LLM प्रायः रेखीय warmup के बाद cosine decay: कुछ सौ से हज़ार चरणों में शिखर तक चढ़ाव, फिर धीमी गिरावट लगभग शिखर के 10% तक।

- पूरा पाठ पढ़ें: [ऑप्टिमाइज़र और प्रशिक्षण स्थिरता: AdamW, LR schedule, mixed precision](https://dmxsf.com/hi/wiki/foundations/optimizers-and-training-stability/)
- यह भी देखें: [AdamW](https://dmxsf.com/hi/glossary/#adamw), [Gradient clipping](https://dmxsf.com/hi/glossary/#gradient-clipping)

### Learning-rate warmup

प्रशिक्षण की शुरुआत बहुत छोटे learning rate से करना जो decay schedule शुरू होने से पहले शिखर तक चढ़ता है। सामान्य स्पष्टीकरण: Adam के शुरुआती second-moment आकलन अविश्वसनीय होते हैं, इसलिऔ बड़े चरण बिखर सकते हैं; गहरे post-norm मॉडल इस पर सबसे निर्भर हैं। Transformer paper का schedule d_model^-0.5 · min(step^-0.5, step · warmup^-1.5) है, 4000 warmup चरणों के साथ।

- अन्य नाम: Warmup
- पूरा पाठ पढ़ें: [ऑप्टिमाइज़र और प्रशिक्षण स्थिरता: AdamW, LR schedule, mixed precision](https://dmxsf.com/hi/wiki/foundations/optimizers-and-training-stability/)
- शोधपत्र विश्लेषण: [Attention Is All You Need: the Transformer, with self-attention instead of recurrence and convolution](https://dmxsf.com/hi/blog/attention-is-all-you-need/)
- यह भी देखें: [Learning-rate schedule](https://dmxsf.com/hi/glossary/#lr-schedule), [AdamW](https://dmxsf.com/hi/glossary/#adamw), [Post-norm](https://dmxsf.com/hi/glossary/#post-norm)

### Length extrapolation

मॉडल की प्रशिक्षण में देखे गए से लंबे sequences पर भी काम करने की क्षमता। सीखे हुए absolute position embeddings का अनदेखे स्थितियों के लिए कोई vector नहीं होता और वे सीधे फेल होते हैं; sinusoidal encodings और RoPE कोई भी स्थिति गणना कर सकते हैं, पर गणना योग्य होना उपयोग योग्य होने जैसा नहीं, और position interpolation, YaRN या और प्रशिक्षण प्रायः चाहिए।

- पूरा पाठ पढ़ें: [Long context: स्थिति extrapolation, प्रशिक्षण नुस्खा व लागत](https://dmxsf.com/hi/wiki/architecture/long-context/)
- शोधपत्र विश्लेषण: [Attention Is All You Need: the Transformer, with self-attention instead of recurrence and convolution](https://dmxsf.com/hi/blog/attention-is-all-you-need/)
- यह भी देखें: [Positional encoding](https://dmxsf.com/hi/glossary/#positional-encoding), [Rotary position embedding](https://dmxsf.com/hi/glossary/#rope), [Position interpolation](https://dmxsf.com/hi/glossary/#position-interpolation), [YaRN](https://dmxsf.com/hi/glossary/#yarn), [Context window](https://dmxsf.com/hi/glossary/#context-window)

### Lethal trifecta

Simon Willison (2025) का सार: agent जो निजी डेटा पढ़ सकता है, अविश्वसनीय सामग्री से खुला है और बाहर संवाद कर सकता है, indirect prompt injection से निजी डेटा बाहर भेजने को मोड़ा जा सकता है। तीन में से एक हटाओ और चोरी की शृंखला टूट जाती है।

- पूरा पाठ पढ़ें: [Prompt injection aur jailbreak: LLM application ki safety seema](https://dmxsf.com/hi/wiki/safety/prompt-injection-and-jailbreaks/)
- यह भी देखें: [Indirect prompt injection](https://dmxsf.com/hi/glossary/#indirect-prompt-injection), [Prompt injection](https://dmxsf.com/hi/glossary/#prompt-injection), [Agent](https://dmxsf.com/hi/glossary/#agent)

### Lightning indexer

DSA के भीतर का स्कोरिंग module: query token t और पहले के token s के लिऔ I(t,s) = Σ_j w(t,j)·ReLU(q(t,j)·k(s))। V3.2 में इसके 64 heads हैं 128 dimensions के और FP8 में चल सकता है। Softmax के बजाय ReLU और प्रति-head weights उपयोग करता है, जो उसे तेज़ बनाता है; यह dense attention distribution से मिलान के लिए KL divergence से प्रशिक्षित होता है, और inference पर ऊँचे-k tokens रखे जाते हैं।

- पूरा पाठ पढ़ें: [कुशल attention: MQA, GQA, MLA व FlashAttention](https://dmxsf.com/hi/wiki/architecture/efficient-attention/)
- शोधपत्र विश्लेषण: [DeepSeek-V3.2: Sparse Attention, Scaled-Up RL and Synthetic Agent Tasks](https://dmxsf.com/hi/blog/deepseek-v32-pushing-the-frontier-of-open-large-language-models/)
- यह भी देखें: [DeepSeek Sparse Attention](https://dmxsf.com/hi/glossary/#dsa), [Top-k sampling](https://dmxsf.com/hi/glossary/#top-k), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence)

### Likelihood displacement

DPO प्रशिक्षण में चुने उत्तर की प्रायिकता भी प्रायः गिरती है, क्योंकि चुने और ठुकराए की प्रायिकताओं का अंतर खुलने पर loss गिरता है। भार दूसरे उत्तरों को जा सकता है, यहाँ तक कि उलटे अर्थ वालों को (Razin et al., 2024), सबसे आसानी से जब जोड़ी की edit दूरी छोटी हो (Pal et al., 2024)। उपाय: चुने उत्तर पर NLL पद (Llama 3 में 0.2) या DPO-Positive।

- पूरा पाठ पढ़ें: [Preference optimization: RLHF se DPO tak](https://dmxsf.com/hi/wiki/post-training/preference-optimization/)
- शोधपत्र विश्लेषण: [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://dmxsf.com/hi/blog/dpo-direct-preference-optimization/)
- यह भी देखें: [Direct preference optimization](https://dmxsf.com/hi/glossary/#dpo), [Implicit reward](https://dmxsf.com/hi/glossary/#implicit-reward), [Reward overoptimization](https://dmxsf.com/hi/glossary/#reward-overoptimization)

### Linear attention

Softmax-रहित attention। इतिहास नियत आकार के state matrix में जुड़ता है, S_t = S_{t−1} + k_t v_tᵀ, और आउटपुट o_t = S_tᵀ q_t है, ताकि inference पर प्रति चरण लागत कितना पढ़ा गया उससे न बदले, और प्रशिक्षण समानांतर या chunkwise matrix संक्रियाओं से चल सके। कीमत सीमित क्षमता, लगभग key dimension: उससे आगे की वस्तुएँ एक-दूसरे में घुलती हैं।

- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- यह भी देखें: [State space model](https://dmxsf.com/hi/glossary/#ssm), [Delta rule](https://dmxsf.com/hi/glossary/#delta-rule), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache)

### Linear probe

Pre-trained प्रतिनिधित्व मूल्यांकन का मानक तरीका: मॉडल जमा दो, केवल उसके निकाले features पर रेखीय classifier प्रशिक्षित करो (प्रायः L2-नियमित logistic regression), और परीक्षा सटीकता को features की अपनी माप मानो, ताकि fine-tuning कमज़ोर features को न ढके। CLIP paper इससे 27 datasets पर 66 मॉडलों की तुलना करता है।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- शोधपत्र विश्लेषण: [CLIP: Learning Transferable Visual Models From Natural Language Supervision](https://dmxsf.com/hi/blog/clip-learning-transferable-visual-models/)
- यह भी देखें: [CLIP](https://dmxsf.com/hi/glossary/#clip), [Zero-shot](https://dmxsf.com/hi/glossary/#zero-shot), [Few-shot prompting](https://dmxsf.com/hi/glossary/#few-shot)

### LLaVA-Bench

LLaVA paper का multimodal chat benchmark: COCO उपसमुच्चय (30 images, 90 प्रश्न) और In-the-Wild उपसमुच्चय (24 images, 60 प्रश्न)। केवल-टेक्स्ट GPT-4 judge, सही वर्णन देखकर, candidate और संदर्भ उत्तरों को 1 से 10 स्कोर देता है; benchmark सापेक्ष स्कोर रिपोर्ट करता है, सटीकता नहीं। छोटा है: एक मॉडल का कुल स्कोर तीन runs में 2.0 अंक (std) तक बदलता है।

- शोधपत्र विश्लेषण: [LLaVA: Visual Instruction Tuning](https://dmxsf.com/hi/blog/llava-visual-instruction-tuning/)
- यह भी देखें: [Benchmark](https://dmxsf.com/hi/glossary/#benchmark), [LLM-as-a-judge](https://dmxsf.com/hi/glossary/#llm-as-a-judge), [MT-Bench](https://dmxsf.com/hi/glossary/#mt-bench)

### LLM workflow

ऐसा LLM application जिसके चरणों का क्रम code में स्थिर है और मॉडल केवल कुछ चरण सँभालता है, जैसे खोजो, फिर उत्तर दो। Agent का प्रतिपक्ष, जो अपना अगला चरण दोहरे चक्र में खुद तय करता है; भविष्यवाणी, डिबग और मूल्यांकन आसान।

- पूरा पाठ पढ़ें: [Agents aur tool calling: function calling se ReAct workflows tak](https://dmxsf.com/hi/wiki/applications/agents-and-tool-calling/)
- यह भी देखें: [Agent](https://dmxsf.com/hi/glossary/#agent), [Function calling](https://dmxsf.com/hi/glossary/#function-calling), [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag)

### LLM-as-a-judge

प्रबल मॉडल को दूसरे मॉडल के उत्तरों को स्कोर या तुलना करने के लिए लगाना। मानव मूल्यांकन से बहुत सस्ता है पर position bias, लंबाई की पसंद और आत्म-पसंद की बीमारी रखता है; Zheng et al. ने 2023 में इन biases का व्यवस्थित विश्लेषण किया।

- पूरा पाठ पढ़ें: [LLM-as-a-Judge: model ko judge banana, uske biases aur calibration](https://dmxsf.com/hi/wiki/evaluation/llm-as-judge/)
- यह भी देखें: [Benchmark](https://dmxsf.com/hi/glossary/#benchmark), [Position bias](https://dmxsf.com/hi/glossary/#position-bias), [Chatbot Arena](https://dmxsf.com/hi/glossary/#chatbot-arena), [Cohen's kappa](https://dmxsf.com/hi/glossary/#cohens-kappa), [Reward model](https://dmxsf.com/hi/glossary/#reward-model)

### Locality-sensitive hashing

ऐसे hashes का परिवार जो समान वस्तुओं को उच्च प्रायिकता से एक bucket में डालते हैं, सब-जोड़ियाँ तुलना टालकर। MinHash की banding योजना में k मान b bands में r मानों के बँटते हैं और कोई band पूरा मेल खाए तो जोड़ी चिह्नित होती है: Jaccard समानता s पर प्रायिकता 1−(1−s^r)^b, एक S-वक्र जो (1/b)^(1/r) के पास सबसे तीखा है। FineWeb के 8 पंक्तियों के 14 bands 0.75 पर लगभग 77% बार जोड़ियाँ चिह्नित करते हैं।

- अन्य नाम: LSH
- पूरा पाठ पढ़ें: [Pretraining data engineering: छँटाई, dedup व मिश्रण](https://dmxsf.com/hi/wiki/pretraining/data-engineering/)
- शोधपत्र विश्लेषण: [FineWeb: Extracting, Deduplicating and Filtering a 15T-Token Open Web Corpus, One Ablation at a Time](https://dmxsf.com/hi/blog/the-fineweb-datasets-decanting-the-web-for-the-finest-text-data-at-scale/)
- यह भी देखें: [MinHash](https://dmxsf.com/hi/glossary/#minhash), [Jaccard similarity](https://dmxsf.com/hi/glossary/#jaccard-similarity), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication)

### Logit lens

केवल-पढ़ने वाली विधि (nostalgebraist, 2020): बीच के residual stream को अंतिम norm और unembedding matrix से decode करके देखो कि मॉडल अभी किस token को पसंद कर रहा है। GPT-2 पर यह अंतिम भविष्यवानी की ओर लगभग एकदिष्ट चढ़ता है, पर पहली layers खराब पढ़ती हैं; tuned lens (Belrose et al., 2023) प्रति layer एक affine मानचित्र प्रशिक्षित करता है। यह केवल पढ़ता है, कार्य-कारण साबित नहीं कर सकता।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Residual stream](https://dmxsf.com/hi/glossary/#residual-stream), [Logits](https://dmxsf.com/hi/glossary/#logits), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence)

### Logits

अंतिम layer से निकले बिना-normalization वाले स्कोर, vocabulary की हर प्रविष्टि के लिए एक। वे softmax के बाद ही प्रायिकताएँ बनते हैं।

- यह भी देखें: [Softmax](https://dmxsf.com/hi/glossary/#softmax), [Temperature](https://dmxsf.com/hi/glossary/#temperature)

### Long short-term memory (LSTM)

Gated recurrent network (Hochreiter और Schmidhuber, 1997): hidden state के अलावा cell state है, जिस पर gates (सामान्य रूप में input, forget और output gates) लिखना, रखना और पढ़ना नियंत्रित करते हैं, ताकि gradients cell state की राह से कई चरण बह सकें और लंबी निर्भरताएँ साधारण RNN से बेहतर सँभाली जाएँ।

- पूरा पाठ पढ़ें: [RNN से attention तक: Transformer क्यों उभरा](https://dmxsf.com/hi/wiki/architecture/from-rnn-to-attention/)
- यह भी देखें: [Recurrent neural network](https://dmxsf.com/hi/glossary/#rnn), [Vanishing gradient](https://dmxsf.com/hi/glossary/#vanishing-gradient)

### Lookahead search

Beam search का रूप जो candidate चरण को k और चरण आगे बढ़ाकर और रोलआउट के अंत पर process reward model का स्कोर लेकर अंकित करता है; k=0 साधारण beam search है। यह बिना यादृच्छिक exploration वाला Monte Carlo tree search है और लगभग N×(k+1) generations की लागत लेता है। Snell et al. (2024) ने पाया कि बराबर बजट पर यह प्रायः beam search से खराब रहता है, कारण अतिरिक्त rollout compute।

- शोधपत्र विश्लेषण: [Scaling LLM Test-Time Compute Optimally: Spending Inference Compute by Difficulty Can Beat a Bigger Model](https://dmxsf.com/hi/blog/scaling-llm-test-time-compute-optimally-can-be-more-effective-than-scaling-model-parameters/)
- यह भी देखें: [Beam search](https://dmxsf.com/hi/glossary/#beam-search), [Process reward model](https://dmxsf.com/hi/glossary/#prm), [Monte Carlo tree search](https://dmxsf.com/hi/glossary/#mcts)

### LoRA

मूल weights W जमे रहते हैं और केवल दो निम्न-rank matrices A और B प्रशिक्षित होते हैं, अद्यतन को ΔW = BA के रूप में दर्शाते हुए, जहाँ rank r dimension से बहुत छोटा। प्रशिक्षण योग्य parameters मॉडल का अल्प भाग हैं, और inference पर BA को W में मिलाया जा सकता है। Hu et al. ने 2021 में प्रस्तावित किया।

- पूरा पाठ पढ़ें: [LoRA fine-tuning ka practical guide](https://dmxsf.com/hi/wiki/post-training/lora-finetuning/)
- शोधपत्र विश्लेषण: [LoRA: Freeze the Pretrained Weights, Train Only a Low-Rank Update](https://dmxsf.com/hi/blog/lora-low-rank-adaptation/)
- यह भी देखें: [QLoRA](https://dmxsf.com/hi/glossary/#qlora), [Parameter-efficient fine-tuning](https://dmxsf.com/hi/glossary/#peft), [Fine-tuning](https://dmxsf.com/hi/glossary/#fine-tuning)

### Loss masking

Supervised fine-tuning का loss केवल उत्तर tokens पर गणना करना: prompt के labels -100 सेट हो जाते हैं (PyTorch का cross-entropy उस मान को छोड़ देता है), इसलिऔ gradient केवल वहीं से आता है जहाँ मॉडल को लिखना सीखना है। उत्तर के बाद का end-of-sequence token प्रायः loss में गिना जाता है, क्योंकि मॉडल इसी से रुकना सीखता है।

- अन्य नाम: Response-only loss
- पूरा पाठ पढ़ें: [SFT data ka nirman aur quality control](https://dmxsf.com/hi/wiki/post-training/sft-data/)
- यह भी देखें: [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft), [Instruction tuning](https://dmxsf.com/hi/glossary/#instruction-tuning)

### Loss scaling

FP16 प्रशिक्षण का उपाय: backpropagation से पहले loss को बड़े गुणक से गुणा करो ताकि बहुत छोटे gradients FP16 परास में उतरें शून्य में न गायब हों, फिर अद्यतन से पहले gradients को वापस भाग दो। Dynamic loss scaling inf या NaN पर चरण छोड़कर गुणक घटाता और सामान्य चरणों की बारी के बाद बढ़ाता है। BF16 में FP32 का exponent परास है और इसकी प्रायः ज़रूरत नहीं।

- पूरा पाठ पढ़ें: [सांख्यिक precision: FP16, BF16 व FP8 प्रशिक्षण की तीन प्रकार की विफलताएँ](https://dmxsf.com/hi/wiki/systems/numerical-precision/)
- यह भी देखें: [Mixed-precision training](https://dmxsf.com/hi/glossary/#mixed-precision), [BF16](https://dmxsf.com/hi/glossary/#bf16), [Master weights](https://dmxsf.com/hi/glossary/#master-weights)

### Loss spike

Training loss का अचानक छलांग, जो सँभल सकता है या बिखर सकता है। सामान्य कारण: बहुत ऊँचा learning rate, बिगड़ा डेटा batch और कम सटीकता में संख्यात्मक ओवरफ़्लो; सामान्य उपाय: gradient clipping, learning-rate warmup, और बिगड़े batch को छोड़ना या पुराने checkpoint पर लौटना।

- पूरा पाठ पढ़ें: [ऑप्टिमाइज़र और प्रशिक्षण स्थिरता: AdamW, LR schedule, mixed precision](https://dmxsf.com/hi/wiki/foundations/optimizers-and-training-stability/)
- यह भी देखें: [Gradient clipping](https://dmxsf.com/hi/glossary/#gradient-clipping), [Learning-rate schedule](https://dmxsf.com/hi/glossary/#lr-schedule), [AdamW](https://dmxsf.com/hi/glossary/#adamw), [Checkpoint](https://dmxsf.com/hi/glossary/#checkpoint)

### Lost in the middle

भाषा मॉडलों के लंबे context के उपयोग में स्थिति-पक्षपात: शुरू या अंत की जानकारी सबसे अच्छी और बीच की सबसे खराब इस्तेमाल होती है, इसलिए स्थिति के विरुद्ध सटीकता का ग्राफ U बनाता है। Liu et al. (2023) ने 20 documents वाले multi-document QA में GPT-3.5-Turbo के लिए सबसे अच्छी और सबसे खराब स्थिति के बीच 22.0-अंक का अंतर नापा।

- अन्य नाम: U-shaped position effect
- पूरा पाठ पढ़ें: [Long context: स्थिति extrapolation, प्रशिक्षण नुस्खा व लागत](https://dmxsf.com/hi/wiki/architecture/long-context/)
- शोधपत्र विश्लेषण: [Lost in the Middle: Models Use the Start and End of a Long Context Best](https://dmxsf.com/hi/blog/lost-in-the-middle/)
- यह भी देखें: [Context window](https://dmxsf.com/hi/glossary/#context-window), [Needle in a haystack](https://dmxsf.com/hi/glossary/#needle-in-a-haystack), [Closed-book](https://dmxsf.com/hi/glossary/#closed-book), [Reranking](https://dmxsf.com/hi/glossary/#reranking)

### LTI SSM

ऐसा state space model जिसके parameters (Δ, A, B, C) हर समय चरण में एक समान होते हैं। उसका आउटपुट input का एक नियत kernel से convolution है, इसलिऔ प्रशिक्षण convolution से और inference नियत आकार state की recurrence से चलता है; S4, H3 और Hyena इसी प्रकार के हैं। यह input को स्थिति से देखता है सामग्री से नहीं: एक ही kernel हर जगह लगता है, इसलिऔ क्या याद या भूलें उसे चुनने नहीं देता।

- अन्य नाम: Linear time-invariant SSM
- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- शोधपत्र विश्लेषण: [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://dmxsf.com/hi/blog/mamba-linear-time-sequence-modeling-with-selective-state-spaces/)
- यह भी देखें: [State space model](https://dmxsf.com/hi/glossary/#ssm), [Selection mechanism](https://dmxsf.com/hi/glossary/#selection-mechanism), [Selective Copying](https://dmxsf.com/hi/glossary/#selective-copying)

## M

### Majority voting

एक ही प्रश्न के k उत्तर sample करके सबसे बार आया अंतिम उत्तर उस प्रश्न का उत्तर मानना और सटीकता रिपोर्ट करना; प्रायः maj@k लिखा जाता है। pass@k से भिन्न (k में से कोई एक सही हो तो प्रश्न हल), यह मॉडल के उत्तरों की स्थिरता नापता है। GSM8K और MATH स्कोर प्रायः majority voting से आते हैं और एकल-नमूना स्कोरों से सीधे तुलनीय नहीं।

- अन्य नाम: maj@k, Maj@K
- शोधपत्र विश्लेषण: [DeepSeekMath: Math Corpus, GRPO and a Unified View of Reinforcement Learning](https://dmxsf.com/hi/blog/deepseekmath-pushing-the-limits-of-mathematical-reasoning/)
- यह भी देखें: [pass@k](https://dmxsf.com/hi/glossary/#pass-at-k), [GSM8K](https://dmxsf.com/hi/glossary/#gsm8k), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo)

### Mamba

Gu और Dao का 2023 का selective state space model: इसके parameters input पर निर्भर हैं और sequence modeling की लागत लंबाई के साथ रेखीय बढ़ती है।

- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- शोधपत्र विश्लेषण: [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://dmxsf.com/hi/blog/mamba-linear-time-sequence-modeling-with-selective-state-spaces/)
- यह भी देखें: [State space model](https://dmxsf.com/hi/glossary/#ssm), [Parallel scan](https://dmxsf.com/hi/glossary/#parallel-scan), [Hybrid architecture](https://dmxsf.com/hi/glossary/#hybrid-architecture)

### Manifold-constrained hyper-connections (mHC)

DeepSeek का 2025 के अंत में hyper-connections का सुधार: n residual streams को मिलाने वाले matrix को Sinkhorn-Knopp projection से doubly stochastic बाँधा जाता है, ताकि जुड़ी layers का लाभ सीमित रहे और पहचान-गुण लौटे। Kernel fusion, recomputation और communication overlap अतिरिक्त प्रशिक्षण समय को n=4 पर 6.7% तक रखते हैं (रिपोर्ट अनुसार)।

- शोधपत्र विश्लेषण: [mHC: Keeping a Wider Residual Stream Stable With Doubly Stochastic Mixing](https://dmxsf.com/hi/blog/mhc-manifold-constrained-hyper-connections/)
- यह भी देखें: [Hyper-connections](https://dmxsf.com/hi/glossary/#hyper-connections), [Doubly stochastic matrix](https://dmxsf.com/hi/glossary/#doubly-stochastic-matrix), [Sinkhorn-Knopp एल्गोरिद्म](https://dmxsf.com/hi/glossary/#sinkhorn-knopp), [Residual connection](https://dmxsf.com/hi/glossary/#residual-connection)

### Many-shot jailbreaking

लंबा context का फ़ायदा उठाने वाला jailbreak: prompt में दर्जनों से सैकड़ों काल्पनिक संवाद भर दो जिनमें सहायक हानिकारक अनुरोध मानता है, फिर सच्चा पूछ लो। Anthropic ने 2024 में रिपोर्ट किया कि सफलता दर उदाहरणों की संख्या के साथ power law के अनुसार बढ़ती है।

- पूरा पाठ पढ़ें: [Prompt injection aur jailbreak: LLM application ki safety seema](https://dmxsf.com/hi/wiki/safety/prompt-injection-and-jailbreaks/)
- यह भी देखें: [Jailbreak](https://dmxsf.com/hi/glossary/#jailbreak), [In-context learning](https://dmxsf.com/hi/glossary/#in-context-learning), [Context window](https://dmxsf.com/hi/glossary/#context-window)

### Masked language modeling (MLM)

BERT का pre-training उद्देश्य: 15% tokens चुनो, उनमें से 80% को [MASK] से, 10% को यादृच्छिक token से बदलो और 10% अपरिवर्तित रखो, फिर मूल को संदर्भ के दोनों ओर से लौटाओ, loss केवल चुनी स्थितियों पर। दोनों दिशाएँ देखता है, पर केवल लगभग 15% स्थितियों से प्रशिक्षण संकेत आता है, और [MASK] fine-tuning में कभी नहीं दिखता।

- पूरा पाठ पढ़ें: [भाषा मॉडलिंग से अगले टोकन की भविष्यवाणी तक](https://dmxsf.com/hi/wiki/foundations/next-token-prediction/)
- शोधपत्र विश्लेषण: [BERT: pre-training a bidirectional Transformer by filling in masked words, then one thin output layer per task](https://dmxsf.com/hi/blog/bert-pre-training-of-deep-bidirectional-transformers/)
- यह भी देखें: [BERT](https://dmxsf.com/hi/glossary/#bert), [Next-token prediction](https://dmxsf.com/hi/glossary/#next-token-prediction), [Encoder-only मॉडल](https://dmxsf.com/hi/glossary/#encoder-only)

### Master weights

Mixed-precision प्रशिक्षण में optimizer के पास रखी weights की FP32 प्रति। Forward और backward passes कम-सटीक (FP16 या BF16) प्रति उपयोग करते हैं, जबकि अद्यतन FP32 master weights में जुड़ते और फिर नीचे झुकाए जाते हैं, ताकि हर चरण का छोटा अद्यतन कम-सटीक गोलाई में न निगल जाए।

- पूरा पाठ पढ़ें: [सांख्यिक precision: FP16, BF16 व FP8 प्रशिक्षण की तीन प्रकार की विफलताएँ](https://dmxsf.com/hi/wiki/systems/numerical-precision/)
- यह भी देखें: [Mixed-precision training](https://dmxsf.com/hi/glossary/#mixed-precision), [AdamW](https://dmxsf.com/hi/glossary/#adamw), [Loss scaling](https://dmxsf.com/hi/glossary/#loss-scaling)

### Mechanistic interpretability

प्रशिक्षित neural network को मनुष्यों के पढ़ने योग्य एल्गोरिद्म में उलट-खोजने का शोध कार्यक्रम: उसके दर्शाए features और उन्हें पढ़ने-लिखने वाले घटकों के circuits खोजो, फिर उस ब्योरे को patching और ablation जैसे हस्तक्षेपों से परखो। Wang et al. (2022) ने GPT-2 small में अप्रत्यक्ष वस्तु पहचान के लिए 26-head का परिपथ पाया।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Circuit](https://dmxsf.com/hi/glossary/#circuit), [Superposition](https://dmxsf.com/hi/glossary/#superposition), [Activation patching](https://dmxsf.com/hi/glossary/#activation-patching)

### Membership inference

तय करना कि कोई विशिष्ट उदाहरण मॉडल के प्रशिक्षण सेट में था या नहीं, प्रायः मॉडल की उस पर loss या प्रति-token प्रायिकताओं को किसी संदर्भ से तुलना करके: प्रशिक्षित टेक्स्ट का loss प्रायः कम होता है। निजता audit और benchmark contamination पहचान में प्रयुक्त। Duan et al. (2024) पाते हैं कि बड़े पैमाने की pre-training स्थितियों में कई विधियाँ अंदाज़े से केवल हल्का बेहतर हैं।

- पूरा पाठ पढ़ें: [Benchmark contamination: kaise banti hai, kaise pakdein, kaise bachein](https://dmxsf.com/hi/wiki/evaluation/benchmark-contamination/)
- यह भी देखें: [Min-K% Prob](https://dmxsf.com/hi/glossary/#min-k-prob), [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination), [Perplexity](https://dmxsf.com/hi/glossary/#perplexity), [Memorization](https://dmxsf.com/hi/glossary/#memorization), [Attribute inference](https://dmxsf.com/hi/glossary/#attribute-inference)

### Memorization

मॉडल का अपने प्रशिक्षण डेटा के विशिष्ट टुकड़े weights में सँजोना, ताकि उचित prompt उसे शब्दशः लिखवा दे। कुछ निर्दोष है (तथ्य, boilerplate), कुछ निजता या कॉपीराइट जोखिम (फ़ोन नंबर, keys, कॉपीराइट टेक्स्ट)। अधिक प्रतिलिपियाँ, बड़े मॉडल, लंबा prompt context और कड़ा प्रशिक्षण इसे और दिखाते हैं; अपरिवर्तित validation loss इसे नहीं टालता।

- अन्य नाम: Unintended memorization
- पूरा पाठ पढ़ें: [Memorization aur privacy](https://dmxsf.com/hi/wiki/safety/memorization-and-privacy/)
- यह भी देखें: [Training data extraction](https://dmxsf.com/hi/glossary/#training-data-extraction), [Exposure](https://dmxsf.com/hi/glossary/#canary-exposure), [Membership inference](https://dmxsf.com/hi/glossary/#membership-inference), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication)

### Memory-bound

गति जो डेटा (जैसे weights और KV cache) कितनी तेज़ पढ़ा जा सकता है उससे सीमित हो, गणना throughput से नहीं। छोटे batch की decoding इसका क्लासिक उदाहरण है।

- पूरा पाठ पढ़ें: [GPU और Roofline मॉडल: बड़े मॉडल अक्सर मेमोरी bandwidth पर क्यों अटकते हैं](https://dmxsf.com/hi/wiki/systems/gpu-and-roofline/)
- यह भी देखें: [Prefill और decode](https://dmxsf.com/hi/glossary/#prefill-decode), [FlashAttention](https://dmxsf.com/hi/glossary/#flashattention)

### Min-K% Prob

बिना reference model वाला membership-inference स्कोर: टेक्स्ट के प्रति-token log-probabilities में से निचले K% (जैसे सबसे कम 20%) लेकर उनका औसत लो। प्रशिक्षण में देखा टेक्स्ट बहुत असंभावित tokens कम रखता है, इसलिऔ उसका औसत ऊँचा होता है। Shi et al. (2023) ने अपने WikiMIA benchmark पर पुरानी विधियों से 7.4% सुधार रिपोर्ट किया।

- पूरा पाठ पढ़ें: [Benchmark contamination: kaise banti hai, kaise pakdein, kaise bachein](https://dmxsf.com/hi/wiki/evaluation/benchmark-contamination/)
- यह भी देखें: [Membership inference](https://dmxsf.com/hi/glossary/#membership-inference), [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination), [Perplexity](https://dmxsf.com/hi/glossary/#perplexity)

### MinHash

दो समुच्चयों की Jaccard समानता आकलने की signature विधि: कई hash फलन लगाकर हर समुच्चय के लिए हर फलन के अधीन न्यूनतम hash मान रखा जाता है। दो समुच्चयों के signature की एक स्थिति पर मेल खाने की प्रायिकता ठीक उनकी Jaccard समानता होती है। Locality-sensitive hashing (LSH) buckets के साथ यह हर जोड़ी तुलना किए बिना लगभग-प्रतिलिपियाँ खोजता है।

- पूरा पाठ पढ़ें: [Pretraining data engineering: छँटाई, dedup व मिश्रण](https://dmxsf.com/hi/wiki/pretraining/data-engineering/)
- शोधपत्र विश्लेषण: [FineWeb: Extracting, Deduplicating and Filtering a 15T-Token Open Web Corpus, One Ablation at a Time](https://dmxsf.com/hi/blog/the-fineweb-datasets-decanting-the-web-for-the-finest-text-data-at-scale/)
- यह भी देखें: [Deduplication](https://dmxsf.com/hi/glossary/#deduplication), [Jaccard similarity](https://dmxsf.com/hi/glossary/#jaccard-similarity), [Locality-sensitive hashing](https://dmxsf.com/hi/glossary/#locality-sensitive-hashing), [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination)

### Mixed-precision training

Forward और backward passes को गति और स्मृति के लिए BF16 या FP16 में चलाना, जबकि संख्यात्मक स्थिरता के लिए FP32 master weights और optimizer states रखे जाते हैं।

- पूरा पाठ पढ़ें: [सांख्यिक precision: FP16, BF16 व FP8 प्रशिक्षण की तीन प्रकार की विफलताएँ](https://dmxsf.com/hi/wiki/systems/numerical-precision/)
- यह भी देखें: [BF16](https://dmxsf.com/hi/glossary/#bf16), [AdamW](https://dmxsf.com/hi/glossary/#adamw)

### Mixture of Experts (MoE)

FFN को कई expert networks और एक router से बदलना, ताकि हर token केवल कुछ experts सक्रिय करे। कुल parameters बड़े रहते हैं जबकि प्रति token compute छोटा। Mixtral, DeepSeek-V3 आदि में प्रयुक्त।

- पूरा पाठ पढ़ें: [Mixture of Experts (MoE): routing, load balancing व sparse activation](https://dmxsf.com/hi/wiki/architecture/mixture-of-experts/)
- शोधपत्र विश्लेषण: [Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity](https://dmxsf.com/hi/blog/switch-transformers-scaling-to-trillion-parameter-models/)
- यह भी देखें: [Router](https://dmxsf.com/hi/glossary/#router), [Active parameters](https://dmxsf.com/hi/glossary/#active-parameters), [Expert load balancing](https://dmxsf.com/hi/glossary/#load-balancing), [Feed-forward network](https://dmxsf.com/hi/glossary/#ffn)

### MMLU

Hendrycks et al. का बहु-कार्य बहु-विकल्प benchmark जो 57 विषय छूता है, व्यापक ज्ञान और समस्या-समाधान नापने के लिए।

- पूरा पाठ पढ़ें: [LLM evaluation methodology: benchmarks, contamination aur eval process](https://dmxsf.com/hi/wiki/evaluation/llm-evaluation/)
- यह भी देखें: [Benchmark](https://dmxsf.com/hi/glossary/#benchmark), [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination)

### Model averaging

कई checkpoints या runs के parameters का औसत लेकर अंतिम मॉडल बनाना, जो प्रायः बिना inference लागत robustness सुधारता है; मॉडल प्रायः एक ही checkpoint से शुरू होने चाहिए। Llama 3 pre-training annealing में checkpoints का औसत लेता है और हर post-training चरण (reward model, SFT, DPO) में भिन्न डेटा versions या hyperparameters से प्रशिक्षित मॉडलों का।

- शोधपत्र विश्लेषण: [The Llama 3 Herd of Models: data, scale and the engineering recipe of a 405B dense model](https://dmxsf.com/hi/blog/the-llama-3-herd-of-models/)
- यह भी देखें: [Annealing](https://dmxsf.com/hi/glossary/#annealing), [Checkpoint](https://dmxsf.com/hi/glossary/#checkpoint), [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft)

### Model collapse

जब मॉडल की हर अगली पीढ़ी पिछली के आउटपुट पर प्रशिक्षित हो: distribution की पूँछ ग़ायब हो जाती है और आउटपुट समरूप होता जाता है। कारण सीमित-नमूना फिर-नमूना लेना है: प्रायिकता p वाला symbol n नमूनों में (1-p)^n प्रायिकता से छूट जाता है, और एक बार गायब होकर गायब ही रहता है। वास्तविक डेटा जमा रखना, या हर पीढ़ी में ताज़ा वास्तविक डेटा मिलाना, इसे रोकता है।

- पूरा पाठ पढ़ें: [Synthetic data aur self-improvement](https://dmxsf.com/hi/wiki/frontier/synthetic-data-and-self-improvement/)
- यह भी देखें: [Synthetic data](https://dmxsf.com/hi/glossary/#synthetic-data), [Self-training](https://dmxsf.com/hi/glossary/#self-training), [Deduplication](https://dmxsf.com/hi/glossary/#deduplication)

### Model Context Protocol (MCP)

Anthropic का नवंबर 2024 का खुला protocol (दिसंबर 2025 में Linux Foundation के Agentic AI Foundation को सौंपा) जो AI applications के tools खोजने-बुलाने, resources पढ़ने और बाहरी systems के prompt templates इस्तेमाल करने को मानकीकृत करता है, ताकि एक server हर client के साथ चले। JSON-RPC 2.0 पर बना, यह केवल context आदान-प्रदान छूता है; 2026-07-28 संशोधन ने connections को stateless बनाया।

- पूरा पाठ पढ़ें: [MCP aur tool ecosystem: protocol kaise chalta hai, tools zyada hon to kya](https://dmxsf.com/hi/wiki/applications/mcp-and-tool-ecosystem/)
- यह भी देखें: [Function calling](https://dmxsf.com/hi/glossary/#function-calling), [Agent](https://dmxsf.com/hi/glossary/#agent), [Prompt injection](https://dmxsf.com/hi/glossary/#prompt-injection), [JSON-RPC](https://dmxsf.com/hi/glossary/#json-rpc), [Streamable HTTP](https://dmxsf.com/hi/glossary/#streamable-http), [Progressive tool discovery](https://dmxsf.com/hi/glossary/#progressive-tool-discovery)

### Model FLOPs utilization (MFU)

मापी गई training throughput से निकले उपयोगी FLOPs का हार्डवेयर के सैद्धांतिक शिखर पर अनुपात। अंश में केवल मॉडल को forward और backward के लिए चाहिए संक्रियाएँ गिनी जाती हैं, recomputation नहीं। बड़े runs की रिपोर्ट अधिकतर 30% से 50%: PaLM 540B के लिए 46.2%, Llama 3 405B के लिए 38% से 43%।

- पूरा पाठ पढ़ें: [प्रशिक्षण की गणना व मेमोरी का लेखा: FLOPs, MFU व मेमोरी बजट](https://dmxsf.com/hi/wiki/pretraining/compute-and-memory/)
- यह भी देखें: [FLOPs](https://dmxsf.com/hi/glossary/#flops), [Hardware FLOPs utilization](https://dmxsf.com/hi/glossary/#hfu), [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism)

### Model-based filtering

मॉडल से documents को स्कोर देकर दहलीज़ से ऊपर वाले रखना। सामान्य विधि: प्रबल LLM एक नमूने पर labels देता है, उन labels पर सस्ता classifier प्रशिक्षित होता है (जैसे frozen embedding model और linear head), फिर सब कुछ स्कोर होता है। FineWeb-Edu ने Llama-3-70B-Instruct से 460,000 पन्नों को शैक्षिक मूल्य (0 से 5) पर अंकित करवाया; दहलीज़ 3 ने 1.3T tokens रखे। Labeler की पसंद विषय-मिश्रण को ढाल देती है।

- अन्य नाम: Quality classifier
- पूरा पाठ पढ़ें: [Pretraining data engineering: छँटाई, dedup व मिश्रण](https://dmxsf.com/hi/wiki/pretraining/data-engineering/)
- शोधपत्र विश्लेषण: [FineWeb: Extracting, Deduplicating and Filtering a 15T-Token Open Web Corpus, One Ablation at a Time](https://dmxsf.com/hi/blog/the-fineweb-datasets-decanting-the-web-for-the-finest-text-data-at-scale/)
- यह भी देखें: [FineWeb](https://dmxsf.com/hi/glossary/#fineweb), [Heuristic filtering](https://dmxsf.com/hi/glossary/#heuristic-filter), [DCLM](https://dmxsf.com/hi/glossary/#dclm), [Data mixture](https://dmxsf.com/hi/glossary/#data-mixture)

### Modular RAG

Gao et al. के survey का तीसरा RAG दृष्टांत: RAG नियत खोजो-फिर-पढ़ो शृंखला के बजाय बदले जा सकने, क्रम बदले जा सकने वाले modules में बँटता है। नए modules: search, memory, routing, predict और task adapter (RAG-Fusion सहित), और प्रवाह पुनरावृत्त, आवर्ती या अनुकूली दोहरा सकते हैं। यह पहले दो दृष्टांतों पर बनता है और fine-tuning व reinforcement learning से आसानी से जुड़ता है।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Naive RAG](https://dmxsf.com/hi/glossary/#naive-rag), [Advanced RAG](https://dmxsf.com/hi/glossary/#advanced-rag), [Iterative retrieval](https://dmxsf.com/hi/glossary/#iterative-retrieval), [Adaptive retrieval](https://dmxsf.com/hi/glossary/#adaptive-retrieval), [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag)

### Monte Carlo tree search (MCTS)

बार-बार simulation पर बने निर्णय-खोज एल्गोरिद्मों का परिवार। हर simulation root से शुरू होकर चयन नियम से leaf तक उतरती है, leaf का आकलन होता है, परिणाम पथ पर वापस चढ़ता है, और अंत में branches की यात्रा-गिनती निर्णय का मार्गदर्शन करती है। AlphaZero का चयन नियम ऊँचे prior, ऊँचे मूल्य और कम यात्राओं वाली चालों को प्राथमिकता देता है, और neural network leaves का आकलन करता है।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [AlphaZero: Only the Rules, Self-Play from Scratch, Mastering Chess, Shogi and Go](https://dmxsf.com/hi/blog/alphazero-mastering-chess-and-shogi-by-self-play/)
- यह भी देखें: [AlphaZero](https://dmxsf.com/hi/glossary/#alphazero)

### MT-Bench

Zheng et al. का बहु-मोड़ बातचीत benchmark: 80 प्रश्न, 8 categories (लेखन, roleplay, निष्कर्षण, तर्क, गणित, coding, STEM ज्ञान और मानविकी ज्ञान) में प्रत्येक 10, हर एक के दो मोड़, judge मॉडल से स्कोर या तुलना।

- पूरा पाठ पढ़ें: [LLM evaluation methodology: benchmarks, contamination aur eval process](https://dmxsf.com/hi/wiki/evaluation/llm-evaluation/)
- यह भी देखें: [LLM-as-a-judge](https://dmxsf.com/hi/glossary/#llm-as-a-judge), [Chatbot Arena](https://dmxsf.com/hi/glossary/#chatbot-arena), [Benchmark](https://dmxsf.com/hi/glossary/#benchmark)

### Multi-head attention (MHA)

अटेंशन को कई subspaces में समानांतर चलाना, फिर परिणामों को जोड़कर linear projection लगाना। भिन्न heads भिन्न प्रकार के संबंधों पर ध्यान दे सकती हैं।

- पूरा पाठ पढ़ें: [Transformer attention तंत्र की शुरुआत](https://dmxsf.com/hi/wiki/architecture/attention-basics/)
- यह भी देखें: [Multi-query attention](https://dmxsf.com/hi/glossary/#mqa), [Grouped-query attention](https://dmxsf.com/hi/glossary/#gqa), [Self-attention](https://dmxsf.com/hi/glossary/#self-attention)

### Multi-head latent attention (MLA)

DeepSeek-V2 में पेश attention variant जो keys और values को cache करने से पहले एक निम्न-विमीय latent vector में सिमटा देता है, जिससे KV cache काफ़ी छोटा हो जाता है।

- पूरा पाठ पढ़ें: [आधुनिक मॉडल architecture: GPT-2 से Llama, Qwen व DeepSeek तक](https://dmxsf.com/hi/wiki/architecture/modern-llm-architecture/)
- शोधपत्र विश्लेषण: [DeepSeek-V3 Technical Report](https://dmxsf.com/hi/blog/deepseek-v3-technical-report/)
- यह भी देखें: [Grouped-query attention](https://dmxsf.com/hi/glossary/#gqa), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache)

### Multi-query attention (MQA)

सभी query heads एक ही key/value head साझा करते हैं, जिससे KV cache multi-head attention का 1/h रह जाता है, गुणवत्ता में थोड़ी कीमत पर। Shazeer ने 2019 में प्रस्तावित किया।

- पूरा पाठ पढ़ें: [आधुनिक मॉडल architecture: GPT-2 से Llama, Qwen व DeepSeek तक](https://dmxsf.com/hi/wiki/architecture/modern-llm-architecture/)
- यह भी देखें: [Grouped-query attention](https://dmxsf.com/hi/glossary/#gqa), [Multi-head attention](https://dmxsf.com/hi/glossary/#multi-head-attention), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache)

### Multi-token prediction (MTP)

एक प्रशिक्षण उद्देश्य जो केवल अगला token नहीं, बल्कि हर स्थिति पर उसके बाद का दूसरा, तीसरा... token भी भविष्यवानी करता है। DeepSeek-V3 इसे क्रमिक MTP modules से लागू करता है जो पूरी causal chain रखते हैं और एक अतिरिक्त depth इस्तेमाल करते हैं; inference पर इन modules को हटाया जा सकता है या speculative decoding के draft के रूप में फिर इस्तेमाल किया जा सकता है।

- शोधपत्र विश्लेषण: [DeepSeek-V3 Technical Report](https://dmxsf.com/hi/blog/deepseek-v3-technical-report/)
- यह भी देखें: [Next-token prediction](https://dmxsf.com/hi/glossary/#next-token-prediction), [Speculative decoding](https://dmxsf.com/hi/glossary/#speculative-decoding)

### Multilayer perceptron (MLP)

रेखीय layers और elementwise गैर-रेखीय activations की बारी से बना network। गैर-रेखीयता हट जाए तो कई रेखीय layers एक में गिर जाती हैं; हर Transformer block का feed-forward network (FFN) दो-layer MLP है।

- पूरा पाठ पढ़ें: [न्यूरल नेटवर्क की मूल बातें: रैखिक परत से backpropagation तक](https://dmxsf.com/hi/wiki/foundations/neural-network-basics/)
- यह भी देखें: [Backpropagation](https://dmxsf.com/hi/glossary/#backpropagation), [Feed-forward network](https://dmxsf.com/hi/glossary/#ffn), [SwiGLU](https://dmxsf.com/hi/glossary/#swiglu)

### Multimodal RoPE (M-RoPE)

Qwen2-VL के साथ पेश position encoding: RoPE स्थिति समय, ऊँचाई और चौड़ाई components में बँटती है। टेक्स्ट token के components एक समान होते हैं, जो उसे साधारण RoPE के बराबर बनाता है; image token की ऊँचाई और चौड़ाई उसकी पंक्ति और column के अनुसार चलती है, और video समय component भी बदलता है।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- यह भी देखें: [Rotary position embedding](https://dmxsf.com/hi/glossary/#rope), [Dynamic resolution](https://dmxsf.com/hi/glossary/#dynamic-resolution), [Positional encoding](https://dmxsf.com/hi/glossary/#positional-encoding)

### Muon

2-D weight matrices के लिए optimizer (Jordan et al., 2024): gradient को momentum के साथ औसत करो, momentum matrix को कुछ Newton-Schulz पुनरावृत्तियों से लगभग orthogonalize करो, और नतीजे को अद्यतन बनाओ। अन्य parameters, जैसे norm weights, प्रायः AdamW पर रहते हैं। हर अद्यतन को नियत RMS (DeepSeek-V4.1-Flash में 0.18) पर फिर पैमाना बदलने से वह AdamW की learning rate पुनः उपयोग कर सकता है।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [AdamW](https://dmxsf.com/hi/glossary/#adamw), [Sinkhorn-balanced update](https://dmxsf.com/hi/glossary/#sinkhorn-balanced-update)

### MuZero

ऐसा reinforcement learning system जो बिना पर्यावरण के ज्ञात नियमों योजना के लिए ज़रूरी latent dynamics, reward, value और policy सीखता है, फिर MCTS से योजना बनाता है।

- शोधपत्र विश्लेषण: [MuZero: Planning with a learned model without knowing the rules](https://dmxsf.com/hi/blog/muzero-mastering-atari-go-chess-and-shogi-without-rules/)
- यह भी देखें: [World model](https://dmxsf.com/hi/glossary/#world-model), [Monte Carlo tree search](https://dmxsf.com/hi/glossary/#mcts)

## N

### N-gram overlap

मूल्यांकन item को दूषित चिह्नित करना जब उसकी N लगातार शब्दों (या अक्षरों) की कोई बारी प्रशिक्षण डेटा में भी हो। छोटा N लगभग हर item चिह्नित कर देता है क्योंकि templates छोटे खंड साझा करते हैं; बड़ा N हल्के फिर लिखे रिसाव छोड़ देता है। GPT-3 paper ने प्रति benchmark N को items की शब्द-लंबाई के 5वें percentile से चुना, 8 से 13 की सीमा में रखकर।

- पूरा पाठ पढ़ें: [Benchmark contamination: kaise banti hai, kaise pakdein, kaise bachein](https://dmxsf.com/hi/wiki/evaluation/benchmark-contamination/)
- यह भी देखें: [Decontamination](https://dmxsf.com/hi/glossary/#decontamination), [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination), [MinHash](https://dmxsf.com/hi/glossary/#minhash)

### Naive RAG

Gao et al. के survey का पहला RAG दृष्टांत: documents chunk होकर embed होकर vector database में जाते हैं (indexing); query embed होकर सबसे समान ऊँचे-k chunks खींचे जाते हैं (retrieval); query और chunks एक prompt में मॉडल को जाते हैं (generation), एक बारी में। कमज़ोरियाँ: सीमित retrieval सटीकता और प्रत्यावर्तन, बेआधार वाक्य, दोहरा या टूटा जुटाव।

- अन्य नाम: Retrieve-Read
- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Advanced RAG](https://dmxsf.com/hi/glossary/#advanced-rag), [Modular RAG](https://dmxsf.com/hi/glossary/#modular-rag), [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag), [Chunking](https://dmxsf.com/hi/glossary/#chunking), [Vector database](https://dmxsf.com/hi/glossary/#vector-database)

### Native sparse attention

ऐसा attention जिसका sparse पैटर्न प्रशिक्षण में भाग लेता है। NSA वैश्विक compression, चुने blocks और स्थानीय window को hardware-अनुकूल चलाने के साथ जोड़ता है।

- अन्य नाम: NSA
- शोधपत्र विश्लेषण: [Native Sparse Attention: Trainable compression, selection and sliding windows](https://dmxsf.com/hi/blog/native-sparse-attention/)
- यह भी देखें: [Transformer](https://dmxsf.com/hi/glossary/#transformer)

### Needle in a haystack (NIAH)

लंबा context परीक्षा जो एक साधारण तथ्य (needle) को distractor टेक्स्ट (haystack) की लंबाई में किसी गहराई पर छिपाकर मॉडल से खोजवाता है। सस्ता और सहज है, पर केवल retrieval नापता है और अधिकांश मॉडल अपने window के भीतर लगभग पूर्ण अंक पाते हैं, इसलिऔ प्रायः RULER जैसे बहु-कार्य benchmarks के साथ जोड़ा जाता है।

- पूरा पाठ पढ़ें: [Long context: स्थिति extrapolation, प्रशिक्षण नुस्खा व लागत](https://dmxsf.com/hi/wiki/architecture/long-context/)
- यह भी देखें: [Context window](https://dmxsf.com/hi/glossary/#context-window), [Benchmark](https://dmxsf.com/hi/glossary/#benchmark)

### Negative rejection

चार RAG क्षमताओं में से एक: जब खींचे documents में ज़रूरी ज्ञान न हो, मॉडल को उत्तर गढ़ने के बजाय इनकार करना चाहिए। RGB का परीक्षा सेट केवल noise documents रखता है, और निर्देश नियत इनकार वाक्य माँगता है; वही लिखना इनकार गिनता है, और सफलताओं का हिस्सा rejection rate है। वास्तविक खोज प्रायः उत्तर वाला document नहीं लौटाती।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Noise robustness](https://dmxsf.com/hi/glossary/#noise-robustness), [Abstention](https://dmxsf.com/hi/glossary/#abstention), [Hallucination](https://dmxsf.com/hi/glossary/#hallucination)

### Neural trajectory

Video generation model से बनाई robot trajectory video: image-to-video model को वास्तविक teleoperation डेटा पर फ़ाइन-ट्यून कर नए आरंभिक frames और निर्देशों से चलाया जाता है, और छँटी videos पर latent-action या IDM labels लगते हैं। GR00T N1 88 घंटे के वास्तविक डेटा को 827 घंटे (लगभग 300k clips) तक बढ़ाता है; paper इसका परीक्षण केवल post-training में करता है, RoboCasa पर 4.2 से 8.8 अंक जोड़ता है।

- शोधपत्र विश्लेषण: [GR00T N1: A Data Pyramid and a Dual-System Model for Generalist Humanoid Robots](https://dmxsf.com/hi/blog/gr00t-n1-an-open-foundation-model-for-generalist-humanoid-robots/)
- यह भी देखें: [World model](https://dmxsf.com/hi/glossary/#world-model), [Inverse dynamics model](https://dmxsf.com/hi/glossary/#inverse-dynamics-model), [Data pyramid](https://dmxsf.com/hi/glossary/#data-pyramid)

### Next-sentence prediction (NSP)

BERT का दूसरा pre-training कार्य: spans A और B देकर, आधी बार B सचमुच A के बाद आता है (IsNext) और आधी बार यादृच्छिक span है (NotNext); [CLS] पर आउटपुट द्विआधारी निर्णय लेता है। RoBERTa आदि ने पाया कि उसे हटाने से नुकसान नहीं: यादृच्छिक span प्रायः दूसरे विषय का होता है, ताकि कार्य विषय मिलाकर हल हो जाए, वाक्य क्रम सीखे बिना।

- पूरा पाठ पढ़ें: [भाषा मॉडलिंग से अगले टोकन की भविष्यवाणी तक](https://dmxsf.com/hi/wiki/foundations/next-token-prediction/)
- शोधपत्र विश्लेषण: [BERT: pre-training a bidirectional Transformer by filling in masked words, then one thin output layer per task](https://dmxsf.com/hi/blog/bert-pre-training-of-deep-bidirectional-transformers/)
- यह भी देखें: [BERT](https://dmxsf.com/hi/glossary/#bert), [Masked language modeling](https://dmxsf.com/hi/glossary/#masked-language-modeling)

### Next-token prediction

पिछले टेक्स्ट को देखकर अगले token का प्रायिकता वितरण भविष्यवानी करना। यही pretraining का मूल कार्य है; टेक्स्ट बनाने का मतलब है यह चरण अंत तक दोहराना।

- पूरा पाठ पढ़ें: [भाषा मॉडलिंग से अगले टोकन की भविष्यवाणी तक](https://dmxsf.com/hi/wiki/foundations/next-token-prediction/)
- यह भी देखें: [भाषा मॉडल](https://dmxsf.com/hi/glossary/#language-model), [Autoregressive generation](https://dmxsf.com/hi/glossary/#autoregressive), [Cross-entropy](https://dmxsf.com/hi/glossary/#cross-entropy)

### Noise robustness

RGB benchmark की चार RAG क्षमताओं में से एक: खींचे documents में noise होने पर सही उत्तर देना, यानी प्रश्न से संबंधित पर उत्तर न रखने वाले documents। RGB हर प्रश्न को 5 documents देकर noise अनुपात 0 से 0.8 तक बढ़ाता है; मॉडल समान सूचना में उलझते हैं, जैसे 2022 से पूछे पर 2021 के साहित्य Nobel की रिपोर्टों से भटक जाते हैं।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Negative rejection](https://dmxsf.com/hi/glossary/#negative-rejection), [Information integration](https://dmxsf.com/hi/glossary/#information-integration), [Counterfactual robustness](https://dmxsf.com/hi/glossary/#counterfactual-robustness), [Lost in the middle](https://dmxsf.com/hi/glossary/#lost-in-the-middle)

### Noise schedule

वह क्रम जो तय करता है हर diffusion चरण कितना noise जोड़े, प्रति-चरण variances β_t या संचयी संकेत भाग ᾱ_t के रूप में। DDPM T=1000 चरण और 1e-4 से 0.02 तक रेखीय बढ़ते β लेता है, ᾱ_T लगभग 4e-5 रहता है, ताकि डेटा लगभग शुद्ध noise बने। Improved DDPM ने देखा कि इस रेखीय schedule की पूँछ पहले से लगभग शुद्ध noise है और कोमल cosine schedule प्रस्तावित किया।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- यह भी देखें: [Denoising diffusion probabilistic model](https://dmxsf.com/hi/glossary/#ddpm), [Signal-to-noise ratio](https://dmxsf.com/hi/glossary/#signal-to-noise-ratio)

### Normalized latency

अनुरोध की end-to-end latency को उसके आउटपुट tokens से भाग देकर सभी अनुरोधों पर औसत। Serving पेपर इसे अनुरोध-दर के विरुद्ध आलेखित करते हैं: दर से ऊपर जहाँ system न सँभाले वहाँ queue बिना सीमा बढ़ती है और वक्र फट जाता है, इसलिऔ ऊँची दर तक टिकने वाला system ही ऊँची throughput रखता है।

- शोधपत्र विश्लेषण: [vLLM and PagedAttention: Managing the KV Cache Like Paged Memory](https://dmxsf.com/hi/blog/vllm-pagedattention/)
- यह भी देखें: [Throughput](https://dmxsf.com/hi/glossary/#throughput), [Time to first token](https://dmxsf.com/hi/glossary/#ttft)

## O

### Offline RL

नियत trajectory dataset से reinforcement learning, बिना पर्यावरण से अंतःक्रिया। मूल कठिनाई distribution shift है: policy के डेटा में न होने वाली क्रियाएँ लेने पर value आकलनों का कोई आधार नहीं रहता। उपाय: संयमी value सीखना (CQL), behavior cloning, और Decision Transformer जैसी return-शर्त supervised सीख।

- शोधपत्र विश्लेषण: [Decision Transformer: Reinforcement Learning as Conditional Sequence Modeling](https://dmxsf.com/hi/blog/decision-transformer-reinforcement-learning-via-sequence-modeling/)
- यह भी देखें: [Behavior cloning](https://dmxsf.com/hi/glossary/#behavior-cloning), [Decision Transformer](https://dmxsf.com/hi/glossary/#decision-transformer), [Credit assignment](https://dmxsf.com/hi/glossary/#credit-assignment)

### On-policy distillation (OPD)

ऐसी योजना जिसमें student अपनी sequences sample करता है, teachers हर स्थिति को स्कोर देते हैं, और student उनसे मेल खाना सीखता है (प्रायः reverse-KL प्रकार के divergence से)। नमूने student की अपनी distribution से आते हैं, इसलिऔ offline distillation की बेमेल टलती है। DeepSeek-V4.1-Flash post-training को 40 से अधिक teachers से full-vocabulary OPD के साथ समाप्त करता है; paper loss स्पष्ट नहीं करता।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [Distillation](https://dmxsf.com/hi/glossary/#distillation), [Strong-to-weak distillation](https://dmxsf.com/hi/glossary/#strong-to-weak-distillation), [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft)

### One-shot prompting

Prompt में नए input से पहले ठीक एक input-output उदाहरण देना। GPT-3 paper तीन स्थितियाँ अलग करता है: zero-shot केवल प्राकृत भाषा का निर्देश देता है, one-shot एक प्रदर्शन जोड़ता है, few-shot context window में समाने जितने (प्रायः 10 से 100) जोड़ता है। कोई भी weights अद्यतन नहीं करता।

- पूरा पाठ पढ़ें: [Prompt engineering: spec se message tak](https://dmxsf.com/hi/wiki/applications/prompt-engineering/)
- शोधपत्र विश्लेषण: [GPT-1, GPT-2, GPT-3: From Fine-Tuning to In-Context Learning, Recomputed from the Papers](https://dmxsf.com/hi/blog/gpt-series-evolution/)
- यह भी देखें: [Few-shot prompting](https://dmxsf.com/hi/glossary/#few-shot), [Zero-shot](https://dmxsf.com/hi/glossary/#zero-shot), [In-context learning](https://dmxsf.com/hi/glossary/#in-context-learning)

### Open X-Embodiment (OpenX)

समुदाय द्वारा बनाया संकलन जो कई संस्थाओं के कई dozen robot datasets को एक format में जोड़ता है; OpenVLA paper के अनुसार अब इसमें 70 से अधिक datasets और कई embodiments, कार्यों और दृश्यों में 2M से अधिक robot trajectories हैं। OpenVLA केवल single-arm, end-effector-नियंत्रित और third-person camera वाला डेटा रखता है, Octo के weights के साथ मिलाकर 970k trajectories पर प्रशिक्षित करता है।

- शोधपत्र विश्लेषण: [OpenVLA: An Open-Source Vision-Language-Action Model on Llama 2 7B and Two Vision Encoders](https://dmxsf.com/hi/blog/openvla-an-open-source-vision-language-action-model/)
- यह भी देखें: [Vision-language-action model](https://dmxsf.com/hi/glossary/#vla), [Behavior cloning](https://dmxsf.com/hi/glossary/#behavior-cloning)

### Outcome reward model (ORM)

ऐसा reward model जो केवल पूरे समाधान के अंतिम परिणाम पर प्रशिक्षित होता है, जैसे उत्तर सही है या नहीं। Labels सस्ते और स्वतः प्राप्य हैं, पर बहु-चरण तर्क के लिए संकेत विरल है क्योंकि मॉडल को यह निकालना पड़ता है कि कौन-सा चरण ग़लत गया। Process reward model (PRM) का प्रतिपक्ष, जो चरण-स्तरीय labels पर प्रशिक्षित होता है।

- शोधपत्र विश्लेषण: [Let's Verify Step by Step: Scoring Every Reasoning Step Beats Checking Only the Final Answer](https://dmxsf.com/hi/blog/lets-verify-step-by-step/)
- यह भी देखें: [Process reward model](https://dmxsf.com/hi/glossary/#prm), [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [Best-of-N sampling](https://dmxsf.com/hi/glossary/#best-of-n)

### Overtraining

छोटे मॉडल को Chinchilla अनुपात (प्रति parameter लगभग 20 tokens) से बहुत अधिक डेटा पर प्रशिक्षित करना, ताकि अतिरिक्त training compute खर्च कर सस्ती inference खरीदी जाए। LLaMA-7B पर प्रति parameter लगभग 148 tokens, लगभग 7 गुना अनुपात।

- पूरा पाठ पढ़ें: [Scaling laws: compute, पैरामीटर व data कैसे बाँटें](https://dmxsf.com/hi/wiki/pretraining/scaling-laws/)
- शोधपत्र विश्लेषण: [LLaMA: Train Smaller Models for Longer, on Public Data Only](https://dmxsf.com/hi/blog/llama-open-and-efficient-foundation-language-models/)
- यह भी देखें: [Chinchilla-optimal training](https://dmxsf.com/hi/glossary/#chinchilla), [Inference budget](https://dmxsf.com/hi/glossary/#inference-budget)

## P

### Paged optimizer

Optimizer states को NVIDIA unified memory से pageable स्मृति में रखना: GPU की स्मृति कम पड़ने पर states स्वतः CPU RAM में निकल जाते हैं और parameter अद्यतन के समय वापस पन्ने बदलकर आते हैं। QLoRA इससे gradient checkpointing के दौरान लंबी sequences की स्मृति-उछाल सहता है।

- पूरा पाठ पढ़ें: [LoRA fine-tuning ka practical guide](https://dmxsf.com/hi/wiki/post-training/lora-finetuning/)
- शोधपत्र विश्लेषण: [QLoRA: Fine-Tuning a 65B Model on One 48 GB GPU by Quantizing the Base to 4 Bits](https://dmxsf.com/hi/blog/qlora-efficient-finetuning-of-quantized-llms/)
- यह भी देखें: [QLoRA](https://dmxsf.com/hi/glossary/#qlora), [AdamW](https://dmxsf.com/hi/glossary/#adamw), [Activation checkpointing](https://dmxsf.com/hi/glossary/#activation-checkpointing)

### PagedAttention

vLLM का KV cache manager: cache नियत आकार के blocks में कटी माँग पर आवंटित होती है, ऑपरेटिंग सिस्टम की paging जैसी, जिससे खंडन लगभग मिटता है और prefix sharing संभव होता है।

- पूरा पाठ पढ़ें: [Continuous batching aur PagedAttention: service kai requests ek saath kaise](https://dmxsf.com/hi/wiki/inference/continuous-batching/)
- शोधपत्र विश्लेषण: [vLLM and PagedAttention: Managing the KV Cache Like Paged Memory](https://dmxsf.com/hi/blog/vllm-pagedattention/)
- यह भी देखें: [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Continuous batching](https://dmxsf.com/hi/glossary/#continuous-batching), [Block table](https://dmxsf.com/hi/glossary/#block-table), [Copy-on-write](https://dmxsf.com/hi/glossary/#copy-on-write), [KV cache fragmentation](https://dmxsf.com/hi/glossary/#kv-fragmentation)

### Parallel sampling

एक prompt के लिए कई यादृच्छिक नमूने बनाना ताकि उपयोगकर्ता एक चुन सके। नमूने prompt की KV cache साझा करते हैं पर हर एक के बनाए भाग की नहीं; vLLM की block sharing prompt की cache की एक ही प्रति रखती है।

- शोधपत्र विश्लेषण: [vLLM and PagedAttention: Managing the KV Cache Like Paged Memory](https://dmxsf.com/hi/blog/vllm-pagedattention/)
- यह भी देखें: [Beam search](https://dmxsf.com/hi/glossary/#beam-search), [Copy-on-write](https://dmxsf.com/hi/glossary/#copy-on-write), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache)

### Parallel scan

रेखीय पुनरावृत्ति h_t = a_t h_{t−1} + b_t को समानांतर में आकलन करने का तरीका। दो लगातार चरण उसी प्रकार के एक चरण में जुड़ते हैं, (a₂, b₂) ∘ (a₁, b₁) = (a₁a₂, a₂b₁ + b₂); संक्रिया साहचर्य है, इसलिऔ T चरणों को लगभग log₂T दौर जोड़ियों के मिलान चाहिए। Mamba जब उसके parameters input पर निर्भर हों और convolution संभव न हो तो समानांतर प्रशिक्षण इसी से करता है।

- अन्य नाम: Prefix scan
- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- यह भी देखें: [State space model](https://dmxsf.com/hi/glossary/#ssm), [Mamba](https://dmxsf.com/hi/glossary/#mamba)

### Parameter-efficient fine-tuning (PEFT)

ऐसी fine-tuning विधियों का परिवार जो केवल थोड़े जोड़े या चुने parameters प्रशिक्षित करके बाकी जमा देते हैं: LoRA, adapters और prefix tuning समेत।

- पूरा पाठ पढ़ें: [LoRA fine-tuning ka practical guide](https://dmxsf.com/hi/wiki/post-training/lora-finetuning/)
- यह भी देखें: [LoRA](https://dmxsf.com/hi/glossary/#lora), [Fine-tuning](https://dmxsf.com/hi/glossary/#fine-tuning)

### pass@k

Code-generation metric: प्रति समस्या k समाधान बनाओ, समस्या हल मानो अगर कोई एक सभी unit tests पास करे, और हल समस्याओं का भाग रिपोर्ट करो। HumanEval (164 समस्याएँ) इसी का उपयोग करता है।

- पूरा पाठ पढ़ें: [Eval statistics: pass@k, confidence intervals aur needed sample size](https://dmxsf.com/hi/wiki/evaluation/eval-statistics/)
- यह भी देखें: [Benchmark](https://dmxsf.com/hi/glossary/#benchmark), [HumanEval](https://dmxsf.com/hi/glossary/#humaneval), [Confidence interval](https://dmxsf.com/hi/glossary/#confidence-interval)

### pass^k

Agents के लिऔ भरोसेमंदी की metric: हर कार्य k बार स्वतंत्र चलाओ और सभी k runs सफल हों तभी पास गिनो, फिर कार्यों पर औसत। k जितना बड़ा, उतना कड़ा; pass@k (कोई एक सफलता) का उलटा। τ-bench ने प्रस्तावित किया।

- पूरा पाठ पढ़ें: [Agents aur tool calling: function calling se ReAct workflows tak](https://dmxsf.com/hi/wiki/applications/agents-and-tool-calling/)
- यह भी देखें: [pass@k](https://dmxsf.com/hi/glossary/#pass-at-k), [τ-bench](https://dmxsf.com/hi/glossary/#tau-bench), [Agent](https://dmxsf.com/hi/glossary/#agent)

### PD disaggregation

Prefill (compute-bound, time to first token तय करता है) और decoding (bandwidth-bound, प्रति-token latency तय करता है) को अलग instance pools पर तैनात करना, हर एक अपने संसाधन-प्रोफ़ाइल अनुसार, बीच में KV cache नेटवर्क से जाता है। लाभ दोनों latency सीमाओं के अधीन goodput से नापा जाता है; हल्के भार या तंग नेटवर्क में फ़ायदा नहीं हो सकता।

- अन्य नाम: Prefill/Decode disaggregation
- पूरा पाठ पढ़ें: [Prefix caching aur PD separation: repeat computation ek hi baar](https://dmxsf.com/hi/wiki/inference/prefix-caching/)
- यह भी देखें: [Prefill और decode](https://dmxsf.com/hi/glossary/#prefill-decode), [Prefix caching](https://dmxsf.com/hi/glossary/#prefix-caching), [Time to first token](https://dmxsf.com/hi/glossary/#ttft)

### Per-word perplexity

टेक्स्ट की कुल ऋणात्मक log-likelihood को subword tokens के बजाय शब्दों की संख्या से भाग देकर चरघातांकित perplexity। Tokenizers भिन्न संख्या के tokens काटते हैं, इसलिऔ प्रति-token perplexities मॉडलों के पार तुलनीय नहीं, प्रति-शब्द होती हैं। WikiText-2 परीक्षा सेट में 4,358 पंक्तियों में 241,211 शब्द हैं; सामान्य गिनती 245,569 इकाइयाँ प्रति पंक्ति एक अंत-पंक्ति जोड़ती है।

- अन्य नाम: Word-level perplexity
- पूरा पाठ पढ़ें: [भाषा मॉडलिंग से अगले टोकन की भविष्यवाणी तक](https://dmxsf.com/hi/wiki/foundations/next-token-prediction/)
- शोधपत्र विश्लेषण: [GPT-1, GPT-2, GPT-3: From Fine-Tuning to In-Context Learning, Recomputed from the Papers](https://dmxsf.com/hi/blog/gpt-series-evolution/)
- यह भी देखें: [Perplexity](https://dmxsf.com/hi/glossary/#perplexity), [Strided perplexity](https://dmxsf.com/hi/glossary/#strided-perplexity), [Bits per byte](https://dmxsf.com/hi/glossary/#bits-per-byte), [Tokenizer](https://dmxsf.com/hi/glossary/#tokenizer)

### Perplexity

प्रति token औसत ऋणात्मक log-likelihood का चरघातांकी: PPL = exp(−(1/N) Σ log P(x_t | x_<t))। कम होने का मतलब है टेक्स्ट मॉडल के लिए कम अप्रत्याशित है; तुलना केवल एक जैसा tokenizer रखने वाले मॉडलों के बीच ही वैध है।

- अन्य नाम: PPL
- पूरा पाठ पढ़ें: [भाषा मॉडलिंग से अगले टोकन की भविष्यवाणी तक](https://dmxsf.com/hi/wiki/foundations/next-token-prediction/)
- यह भी देखें: [Cross-entropy](https://dmxsf.com/hi/glossary/#cross-entropy), [भाषा मॉडल](https://dmxsf.com/hi/glossary/#language-model)

### PF-day

Training compute की इकाई: 10^15 फ़्लोटिंग-पॉइंट संक्रियाएँ प्रति सेकंड की दर से पूरा एक दिन चलाना, यानी 10^15 × 24 × 3600 = 8.64 × 10^19 FLOPs। Kaplan et al. का scaling-law पेपर training compute PF-days में नापता है।

- अन्य नाम: PetaFLOP/s-day
- शोधपत्र विश्लेषण: [Scaling Laws for Neural Language Models](https://dmxsf.com/hi/blog/scaling-laws-for-neural-language-models/)
- यह भी देखें: [FLOPs](https://dmxsf.com/hi/glossary/#flops), [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law)

### Pipeline bubble

Pipeline parallelism में stages की आपसी निर्भरता से बना खाली समय। GPipe schedule के साथ p stages और m micro-batches समय का (p−1)/(m+p−1) भाग खाली छोड़ते हैं, इसलिऔ अधिक micro-batches का मतलब छोटी bubble।

- पूरा पाठ पढ़ें: [Distributed training का परिचय: data, tensor व pipeline parallelism](https://dmxsf.com/hi/wiki/pretraining/distributed-training/)
- यह भी देखें: [Pipeline parallelism](https://dmxsf.com/hi/glossary/#pipeline-parallelism), [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism)

### Pipeline parallelism

मॉडल को layers के अनुसार भिन्न devices के stages में बाँटना और उनमें micro-batches भेजना ताकि सभी stages एक साथ काम करें, जिससे खाली bubble घटती है।

- पूरा पाठ पढ़ें: [Distributed training का परिचय: data, tensor व pipeline parallelism](https://dmxsf.com/hi/wiki/pretraining/distributed-training/)
- यह भी देखें: [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism), [Tensor parallelism](https://dmxsf.com/hi/glossary/#tensor-parallelism)

### Policy gradient

अपेक्षित reward J(θ) को उसके policy parameters के अनुसार gradient की राह से बढ़ाना। मुख्य पहचान ∇J = E[R·∇log π_θ]: जो उत्तर अच्छे स्कोर पाए उनकी log-प्रायिकता बढ़ाओ, जो नहीं पाए घटाओ। केवल नमूने और स्कोर चाहिए, differentiable reward नहीं, पर नमूना आकलन बहुत शोर भरा है, इसलिऔ baseline हमेशा घटाई जाती है।

- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- यह भी देखें: [REINFORCE](https://dmxsf.com/hi/glossary/#reinforce), [Advantage](https://dmxsf.com/hi/glossary/#advantage), [Baseline (policy gradient)](https://dmxsf.com/hi/glossary/#rl-baseline), [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo)

### Policy lag

Trajectory बनाने वाली behavior policy और उसे खपत करते समय learner की policy के बीच का अंतर। Version अंतर को probability ratios या policy drift के अन्य मापों से अलग रखकर ट्रैक करें।

- पूरा पाठ पढ़ें: [Reasoning RL system: asynchronous sampling, training aur policy lag](https://dmxsf.com/hi/wiki/post-training/rollout-and-training/)
- यह भी देखें: [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Policy gradient](https://dmxsf.com/hi/glossary/#policy-gradient)

### Polysemanticity

ऐसा neuron जो कई अर्थ से असंबद्ध inputs या features पर सक्रिय हो; उलटा monosemanticity है। Superposition एक स्पष्टीकरण है: features activation space की दिशाएँ हैं जो कई neurons में फैली हैं, इसलिऔ कोई एक neuron एक feature से मेल नहीं खाता। Sparse autoencoders polysemantic activations को monosemantic दिशाओं में तोड़ने की कोशिश करते हैं।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Superposition](https://dmxsf.com/hi/glossary/#superposition), [Sparse autoencoder](https://dmxsf.com/hi/glossary/#sparse-autoencoder)

### Position bias

Judge मॉडल की किसी नियत स्थिति, प्रायः पहले, के उत्तर को पसंद करने की प्रवृत्ति। दो समान उत्तरों का क्रम बदलने के बाद GPT-4 केवल 65.0% प्रकरणों में एक सा फ़ैसला देता है। सामान्य उपाय: क्रम बदलकर दो बार अंकन और दोनों सहमत हों तभी जीत गिनना।

- पूरा पाठ पढ़ें: [LLM-as-a-Judge: model ko judge banana, uske biases aur calibration](https://dmxsf.com/hi/wiki/evaluation/llm-as-judge/)
- यह भी देखें: [LLM-as-a-judge](https://dmxsf.com/hi/glossary/#llm-as-a-judge)

### Position interpolation (PI)

हर position index को extension factor s से भाग देना (बराबर: हर RoPE आवृत्ति को s से भाग), ताकि लंबा sequence प्रशिक्षण के कोण-परास के भीतर लौट आए, इसके बाद लंबे sequences पर छोटा fine-tune। कीमत: उच्च-आवृत्ति dimensions पर स्थानीय विभेदन घटता है। Chen et al. ने 2023 में प्रस्तावित किया।

- पूरा पाठ पढ़ें: [Long context: स्थिति extrapolation, प्रशिक्षण नुस्खा व लागत](https://dmxsf.com/hi/wiki/architecture/long-context/)
- यह भी देखें: [Rotary position embedding](https://dmxsf.com/hi/glossary/#rope), [YaRN](https://dmxsf.com/hi/glossary/#yarn), [Context window](https://dmxsf.com/hi/glossary/#context-window)

### Positional encoding

मॉडल को token क्रम की जानकारी देने का तरीका, जो अटेंशन अकेले नहीं रखता। सामान्य योजनाएँ: sinusoidal, सीखी हुई, relative और rotary (RoPE)।

- पूरा पाठ पढ़ें: [Positional encoding विस्तार से (absolute से relative और RoPE तक)](https://dmxsf.com/hi/wiki/architecture/positional-encoding/)
- यह भी देखें: [Rotary position embedding](https://dmxsf.com/hi/glossary/#rope), [Self-attention](https://dmxsf.com/hi/glossary/#self-attention)

### Post-norm

Layer normalization को residual addition के बाद रखना, LayerNorm(x + Sublayer(x)), मूल Transformer की तरह। गहरे post-norm मॉडल स्थिर प्रशिक्षण के लिए learning-rate warmup पर अधिक निर्भर होते हैं; GPT-2 से मुख्यधारा के मॉडल हर sublayer से पहले normalize करते हैं (Pre-LN)।

- अन्य नाम: Post-LN
- पूरा पाठ पढ़ें: [Transformer Block का पूरा विघटन](https://dmxsf.com/hi/wiki/architecture/transformer-block/)
- शोधपत्र विश्लेषण: [Attention Is All You Need: the Transformer, with self-attention instead of recurrence and convolution](https://dmxsf.com/hi/blog/attention-is-all-you-need/)
- यह भी देखें: [Layer normalization](https://dmxsf.com/hi/glossary/#layer-norm), [Residual connection](https://dmxsf.com/hi/glossary/#residual-connection), [PreNorm dilution](https://dmxsf.com/hi/glossary/#prenorm-dilution), [Learning-rate warmup](https://dmxsf.com/hi/glossary/#learning-rate-warmup)

### Post-training

Pretraining के बाद के सभी चरण जो मॉडल को उपयोगी और नियंत्रण योग्य बनाते हैं: supervised fine-tuning, preference optimization और reinforcement learning समेत।

- यह भी देखें: [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft), [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [Alignment](https://dmxsf.com/hi/glossary/#alignment)

### Power law

y ∝ x^(-α) रूप का संबंध: x जितना ही नियत गुणक से बढ़े, y नियत गुणक से गुणित होता है, जो log-log अक्षों पर सीधी रेखा है। Scaling laws में loss parameters, डेटा और compute में power laws के अनुसार चलता है; घातांक छोटे होते हैं, इसलिए प्रतिफल घटता है पर भविष्यवाणी योग्य रहता है।

- पूरा पाठ पढ़ें: [Scaling laws: compute, पैरामीटर व data कैसे बाँटें](https://dmxsf.com/hi/wiki/pretraining/scaling-laws/)
- शोधपत्र विश्लेषण: [Scaling Laws for Neural Language Models](https://dmxsf.com/hi/blog/scaling-laws-for-neural-language-models/)
- यह भी देखें: [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law)

### PPO-ptx (PPO-ptx)

InstructGPT का PPO variant जो reward अनुकूलित करते हुए उसी अद्यतन में pretraining distribution पर log-likelihood का gradient, coefficient γ (paper में 27.8) से गुणा करके जोड़ता है, alignment tax घटाने के लिए। Paper ने पाया कि यह केवल KL coefficient बढ़ाने से अधिक प्रभावी है।

- शोधपत्र विश्लेषण: [InstructGPT: Training Language Models to Follow Instructions with Human Feedback](https://dmxsf.com/hi/blog/instructgpt-rlhf/)
- यह भी देखें: [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo), [Alignment tax](https://dmxsf.com/hi/glossary/#alignment-tax), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence)

### Prefill और decode (Prefill and decode)

Inference के दो चरण: prefill पूरे prompt को समानांतर में प्रक्रित करता है और compute-bound है; decode एक-एक कर tokens बनाता है और स्मृति bandwidth से सीमित है।

- पूरा पाठ पढ़ें: [KV cache aur inference performance optimization](https://dmxsf.com/hi/wiki/inference/kv-cache/)
- यह भी देखें: [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Time to first token](https://dmxsf.com/hi/glossary/#ttft), [Memory-bound](https://dmxsf.com/hi/glossary/#memory-bound)

### Prefix caching

पहले से गणित prompt prefix की KV cache रख लेना, ताकि बाद का अनुरोध जिसके शुरुआती tokens एक हैं उसे पुनः इस्तेमाल करे और केवल आगे वाला भाग गणना करे। आउटपुट अपरिवर्तित रहता है और time to first token तेज़ी से घटता है।

- पूरा पाठ पढ़ें: [Prefix caching aur PD separation: repeat computation ek hi baar](https://dmxsf.com/hi/wiki/inference/prefix-caching/)
- यह भी देखें: [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [PagedAttention](https://dmxsf.com/hi/glossary/#pagedattention), [PD disaggregation](https://dmxsf.com/hi/glossary/#pd-disaggregation), [Time to first token](https://dmxsf.com/hi/glossary/#ttft)

### PreNorm dilution

PreNorm network में केवल हर sublayer का input normalize होता है; residual stream नहीं, और layer आउटपुट भार 1 के साथ जुड़ते हैं। Attention Residuals paper तर्क देता है कि stream का परिमाण गहराई के साथ बढ़ता है (वह O(L) कहता है), ताकि बाद की layers को मायने रखने के लिए और बड़े आउटपुट सीखने पड़ते हैं और पहले के योगदान पतले पड़ते जाते हैं। इसी से भारित संयोजन की प्रेरणा।

- शोधपत्र विश्लेषण: [Attention Residuals: Letting Each Layer Pick What to Read From the Layers Before It](https://dmxsf.com/hi/blog/attention-residuals/)
- यह भी देखें: [Residual connection](https://dmxsf.com/hi/glossary/#residual-connection), [Layer normalization](https://dmxsf.com/hi/glossary/#layer-norm), [Attention Residuals](https://dmxsf.com/hi/glossary/#attention-residuals)

### Pretraining

मॉडल को विशाल बिना-label टेक्स्ट पर next-token prediction से प्रशिक्षित करना, जिससे व्यापक भाषा और ज्ञान क्षमताओं वाला base model बनता है।

- पूरा पाठ पढ़ें: [बड़े मॉडल की प्रशिक्षण pipeline का पूरा दृश्य](https://dmxsf.com/hi/wiki/pretraining/training-pipeline/)
- यह भी देखें: [Next-token prediction](https://dmxsf.com/hi/glossary/#next-token-prediction), [Base model](https://dmxsf.com/hi/glossary/#base-model), [Scaling law](https://dmxsf.com/hi/glossary/#scaling-law)

### PRM800K

OpenAI का Let's Verify Step by Step के साथ जारी process supervision dataset: मनुष्यों ने गणित समाधानों के हर चरण को धनात्मक, ऋणात्मक या तटस्थ अंकित किया, और प्रशिक्षण भाग में 12K समस्याओं के 75K समाधानों पर लगभग 800K चरण-labels हैं। समाधान active learning से चुने गए, जो ऐसे प्रकरणों को प्राथमिकता देते हैं जिन्हें तत्काल का सर्वश्रेष्ठ PRM ऊँचा आँकता है यद्यपि अंतिम उत्तर ग़लत है।

- शोधपत्र विश्लेषण: [Let's Verify Step by Step: Scoring Every Reasoning Step Beats Checking Only the Final Answer](https://dmxsf.com/hi/blog/lets-verify-step-by-step/)
- यह भी देखें: [Process reward model](https://dmxsf.com/hi/glossary/#prm), [Outcome reward model](https://dmxsf.com/hi/glossary/#orm)

### Process reward model (PRM)

ऐसा reward model जो केवल अंतिम उत्तर जाँचने (outcome supervision) के बजाय तर्क-शृंखला के हर चरण को स्कोर देता है। यह reinforcement learning को महीन संकेत देता है पर हर चरण का label या आकलन चाहिए, जो महँगा है। DeepSeekMath इसे GRPO में जोड़ता है: किसी चरण का advantage उस चरण और उसके बाद सब चरणों के normalized rewards का योग होता है।

- शोधपत्र विश्लेषण: [DeepSeekMath: Math Corpus, GRPO and a Unified View of Reinforcement Learning](https://dmxsf.com/hi/blog/deepseekmath-pushing-the-limits-of-mathematical-reasoning/)
- यह भी देखें: [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Reinforcement learning with verifiable rewards](https://dmxsf.com/hi/glossary/#rlvr)

### Programmatic tool calling

मॉडल को tool कॉल एक-एक कर देने के बजाय tools बुलाने वाला code लिखवाना: बीच के नतीजे sandbox में रहते हैं और केवल अंतिम नतीजा मॉडल के context लौटता है। Anthropic की नवंबर 2025 पोस्ट एक उदाहरण बताती है जो 150,000 से 2,000 tokens पर गिरा (विक्रेता-रिपोर्ट)। कीमत: सुरक्षित चलाने का माहौल और एकल कॉल से बड़ा हमले का परास।

- अन्य नाम: Code mode
- पूरा पाठ पढ़ें: [MCP aur tool ecosystem: protocol kaise chalta hai, tools zyada hon to kya](https://dmxsf.com/hi/wiki/applications/mcp-and-tool-ecosystem/)
- यह भी देखें: [Function calling](https://dmxsf.com/hi/glossary/#function-calling), [Agent](https://dmxsf.com/hi/glossary/#agent), [Progressive tool discovery](https://dmxsf.com/hi/glossary/#progressive-tool-discovery)

### Progressive tool discovery

बहुत सारे tools होने पर context सँभालने का तरीका: पहले मॉडल को छोटी सूची या एक search tool दो, और किसी tool की पूरी परिभाषा ज़रूरत पर ही लो, सब पहले से सूचीबद्ध करने के बजाय। MCP client की सर्वोत्तम पद्धतियाँ इसकी सिफ़ारिश करती हैं जब tool परिभाषाएँ context window का कोई हिस्सा (उदाहरण: 1% से 5%) पार करें; सामान्य लागूकर्ण BM25 keyword खोज, embedding खोज या subagents उपयोग करते हैं।

- अन्य नाम: Tool search
- पूरा पाठ पढ़ें: [MCP aur tool ecosystem: protocol kaise chalta hai, tools zyada hon to kya](https://dmxsf.com/hi/wiki/applications/mcp-and-tool-ecosystem/)
- यह भी देखें: [Model Context Protocol](https://dmxsf.com/hi/glossary/#mcp), [Function calling](https://dmxsf.com/hi/glossary/#function-calling), [Context window](https://dmxsf.com/hi/glossary/#context-window), [Prefix caching](https://dmxsf.com/hi/glossary/#prefix-caching), [BM25](https://dmxsf.com/hi/glossary/#bm25)

### Projector

Vision encoder के आउटपुट vectors को भाषा मॉडल के hidden size पर ले जाने वाला छोटा module: LLaVA एक linear layer लेता है, LLaVA-1.5 और Qwen-VL models दो-layer MLP (बाद वाले पहले हर 2×2 पड़ोसी patches का समूह मिलाते हैं)। यह parameters के अंश-प्रतिशत के बराबर रखता है, फिर भी तय करता है कि भाषा मॉडल image का उपयोग कर पाएगा या नहीं।

- अन्य नाम: Connector
- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- शोधपत्र विश्लेषण: [LLaVA: Visual Instruction Tuning](https://dmxsf.com/hi/blog/llava-visual-instruction-tuning/)
- यह भी देखें: [Visual token](https://dmxsf.com/hi/glossary/#visual-token), [Vision-language model](https://dmxsf.com/hi/glossary/#vlm)

### Prompt engineering

मॉडल को दिए निर्देशों, उदाहरणों और संदर्भ को डिज़ाइन करना और दोहराना ताकि वह चाहा नतीजा भरोसेमंद दे।

- पूरा पाठ पढ़ें: [Prompt engineering: spec se message tak](https://dmxsf.com/hi/wiki/applications/prompt-engineering/)
- यह भी देखें: [Few-shot prompting](https://dmxsf.com/hi/glossary/#few-shot), [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought), [In-context learning](https://dmxsf.com/hi/glossary/#in-context-learning)

### Prompt ensembling

Zero-shot तरकीब: एक class के लिए भिन्न templates से कई वाक्य लिखो (जैसे एक बड़े {} की फ़ोटो।), encode करो, embedding space में vectors का औसत लेकर फिर normalize करके class vector बनाओ। Class vectors एक बार गणना होते हैं, इसलिऔ inference की लागत एक template जैसी ही। CLIP ImageNet पर 80 templates का ensemble करता है, एकल default prompt से 3.5% ऊपर।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- शोधपत्र विश्लेषण: [CLIP: Learning Transferable Visual Models From Natural Language Supervision](https://dmxsf.com/hi/blog/clip-learning-transferable-visual-models/)
- यह भी देखें: [Zero-shot](https://dmxsf.com/hi/glossary/#zero-shot), [Prompt engineering](https://dmxsf.com/hi/glossary/#prompt-engineering), [CLIP](https://dmxsf.com/hi/glossary/#clip)

### Prompt injection

ऐसा हमला जो मॉडल के पढ़े सामग्री में निर्देश घुसेड़कर उसे विकासक की इच्छा के विरुद्ध काम करवाता है। सीधा injection उपयोगकर्ता के input से आता है; अप्रत्यक्ष injection web पन्नों, documents, ईमेल या tool नतीजों जैसी अविश्वसनीय सामग्री में छिपता है, और Greshake et al. ने 2023 में उसका व्यवस्थित विश्लेषण किया।

- पूरा पाठ पढ़ें: [Prompt injection aur jailbreak: LLM application ki safety seema](https://dmxsf.com/hi/wiki/safety/prompt-injection-and-jailbreaks/)
- यह भी देखें: [Agent](https://dmxsf.com/hi/glossary/#agent), [Function calling](https://dmxsf.com/hi/glossary/#function-calling), [Model Context Protocol](https://dmxsf.com/hi/glossary/#mcp)

### Proximal policy optimization (PPO)

ऐसा reinforcement learning एल्गोरिद्म जो हर अद्यतन को नई और पुरानी policy की प्रायिकता-अनुपात को काटकर सीमित करता है। RLHF में सामान्य, जहाँ एक साथ policy, reference, reward और value model चाहिए।

- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- शोधपत्र विश्लेषण: [PPO: Clipping the Policy Update So One Batch of Data Can Be Reused for Many Epochs](https://dmxsf.com/hi/blog/ppo-proximal-policy-optimization-algorithms/)
- यह भी देखें: [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Generalized advantage estimation](https://dmxsf.com/hi/glossary/#gae), [Policy gradient](https://dmxsf.com/hi/glossary/#policy-gradient), [Trust region policy optimization](https://dmxsf.com/hi/glossary/#trpo)

## Q

### QK-Norm

Dot product से पहले हर head के query और key vectors को normalize करना। यह attention scores के पैमाने को बाँधता है और प्रशिक्षण में logits के बढ़ने से रोकता है। Qwen3 इसे head dimension पर RMSNorm लागू करता है और Qwen2 का QKV bias हटाता है; paper प्रशिक्षण स्थिरता के लिए Dehghani et al. (2023) को उद्धृत करता है, जिन्होंने 22-अरब-parameter vision Transformer में इस्तेमाल किया।

- अन्य नाम: Query-key normalization
- शोधपत्र विश्लेषण: [Qwen3 Technical Report](https://dmxsf.com/hi/blog/qwen3-technical-report/)
- यह भी देखें: [RMSNorm](https://dmxsf.com/hi/glossary/#rmsnorm), [Self-attention](https://dmxsf.com/hi/glossary/#self-attention)

### QLoRA

जमे base model को 4 bits (NF4) में quantize करके उसके ऊपर LoRA adapters प्रशिक्षित करना, जिससे 65B-parameter मॉडल एक 48 GB GPU पर फ़ाइन-ट्यून हो सकता है। Dettmers et al. ने 2023 में प्रस्तावित किया।

- पूरा पाठ पढ़ें: [LoRA fine-tuning ka practical guide](https://dmxsf.com/hi/wiki/post-training/lora-finetuning/)
- शोधपत्र विश्लेषण: [QLoRA: Fine-Tuning a 65B Model on One 48 GB GPU by Quantizing the Base to 4 Bits](https://dmxsf.com/hi/blog/qlora-efficient-finetuning-of-quantized-llms/)
- यह भी देखें: [LoRA](https://dmxsf.com/hi/glossary/#lora), [Quantization](https://dmxsf.com/hi/glossary/#quantization), [Parameter-efficient fine-tuning](https://dmxsf.com/hi/glossary/#peft), [4-bit NormalFloat](https://dmxsf.com/hi/glossary/#nf4)

### Quantization

Weights या activations को कम-सटीक पूर्णांकों (INT8, INT4) या कम-bit फ़्लोट्स से दर्शाना, स्मृति घटाने और inference तेज़ करने के लिए, नियंत्रित सटीकता-हानि की कीमत पर।

- पूरा पाठ पढ़ें: [Model quantization: INT8, INT4, GPTQ aur AWQ ka siddhant aur measurement](https://dmxsf.com/hi/wiki/inference/quantization/)
- यह भी देखें: [GPTQ](https://dmxsf.com/hi/glossary/#gptq), [AWQ](https://dmxsf.com/hi/glossary/#awq), [QLoRA](https://dmxsf.com/hi/glossary/#qlora)

### Query rewriting

Retrieval से पहले उपयोगकर्ता के प्रश्न को नया रूप देना, क्योंकि वह प्रायः धुँधला, संक्षिप्त या कई प्रश्नों का गुच्छा होता है। रूप: मॉडल से फिर लिखवाना (Rewrite-Retrieve-Read); कई समानांतर खोजों में फैलाना (Multi-Query) या उप-प्रश्नों में (Sub-Query); काल्पनिक उत्तर (HyDE) या अधिक अमूर्त प्रश्न (Step-back) से खोजना। लागत एक अतिरिक्त मॉडल कॉल है।

- अन्य नाम: Query transformation, Query expansion
- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Hypothetical Document Embeddings](https://dmxsf.com/hi/glossary/#hyde), [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag), [Advanced RAG](https://dmxsf.com/hi/glossary/#advanced-rag), [Reranking](https://dmxsf.com/hi/glossary/#reranking)

### Query, key और value (Query, key and value · QKV)

अटेंशन के तीन vector-सेट: query बताता है स्थिति क्या खोज रही है, key बताता है उसके पास कौन-सा संकेत है, और value वह सामग्री है जो ध्यान मिलने पर जुड़ती है। भार query-key dot products से आते हैं और आउटपुट values का भारित योग होता है।

- पूरा पाठ पढ़ें: [Transformer attention तंत्र की शुरुआत](https://dmxsf.com/hi/wiki/architecture/attention-basics/)
- यह भी देखें: [Self-attention](https://dmxsf.com/hi/glossary/#self-attention), [Multi-head attention](https://dmxsf.com/hi/glossary/#multi-head-attention)

## R

### R1-Zero

DeepSeek-R1 paper का शुद्ध-RL मॉडल: DeepSeek-V3-Base से शुरू, post-training में कोई supervised fine-tuning नहीं, केवल नियम-आधारित rewards (उत्तर सटीकता और format) GRPO के साथ। AIME 2024 pass@1 15.6% से 77.9% (arXiv v2) तक चढ़ता है और उत्तर लंबे होते जाते हैं, पर पढ़ाई ख़राब और चीनी-अंग्रेज़ी मिलती हैं, जिससे R1 की चार-चरण pipeline बनी।

- अन्य नाम: DeepSeek-R1-Zero
- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning](https://dmxsf.com/hi/blog/deepseek-r1-reasoning-via-reinforcement-learning/)
- यह भी देखें: [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Reinforcement learning with verifiable rewards](https://dmxsf.com/hi/glossary/#rlvr), [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model), [Aha moment](https://dmxsf.com/hi/glossary/#aha-moment), [Cold-start data](https://dmxsf.com/hi/glossary/#cold-start-data)

### RAG quality scores

Gao et al. के survey के तीन गुणवत्ता स्कोर: context relevance (खींची सामग्री सटीक है), answer faithfulness (उत्तर संदर्भ के अनुरूप है, बिना टकराव) और answer relevance (वह प्रश्न को छूता है)। RAGAS, ARES और TruLens इन्हें LLM से स्कोर करवाते हैं; survey मानता है कि ऐसे metrics अभी परिपक्व और मानकीकृत नहीं हैं।

- अन्य नाम: Context relevance, Answer faithfulness, Answer relevance
- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [LLM-as-a-judge](https://dmxsf.com/hi/glossary/#llm-as-a-judge), [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag), [Hallucination](https://dmxsf.com/hi/glossary/#hallucination)

### ReAct

ऐसा agent pattern जो तर्क और क्रिया बारी-बारी रखता है: मॉडल एक विचार लिखता है, tool कॉल करता है, observation पढ़ता है और आगे बढ़ता है। Yao et al. ने 2022 में प्रस्तावित किया।

- पूरा पाठ पढ़ें: [Agents aur tool calling: function calling se ReAct workflows tak](https://dmxsf.com/hi/wiki/applications/agents-and-tool-calling/)
- शोधपत्र विश्लेषण: [ReAct: Treating Thought as an Action So a Language Model Can Reason and Act in One Trace](https://dmxsf.com/hi/blog/react-reasoning-and-acting/)
- यह भी देखें: [Agent](https://dmxsf.com/hi/glossary/#agent), [Function calling](https://dmxsf.com/hi/glossary/#function-calling), [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought)

### Reasoning model

ऐसा मॉडल जो reinforcement learning और मिलते-जुलते तरीकों से लंबी तर्क-शृंखला लिखना और उत्तर से पहले खुद जाँचना सीखा है, जैसे OpenAI o1 और DeepSeek-R1।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- शोधपत्र विश्लेषण: [DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning](https://dmxsf.com/hi/blog/deepseek-r1-reasoning-via-reinforcement-learning/)
- यह भी देखें: [Reinforcement learning with verifiable rewards](https://dmxsf.com/hi/glossary/#rlvr), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Test-time compute](https://dmxsf.com/hi/glossary/#test-time-compute), [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought)

### Reasoning-effort control

एक recipe जो एक मॉडल को कई reasoning बजटों पर चलाने देता है: स्केलर b (1 से 100) system prompt में जाता है, हर prompt कई b पर sample होता है, और rewards केवल (prompt, b) उपसमूह के भीतर केंद्रित होते हैं। स्तर एक लंबाई दंड −min(C_max, k(b)·ℓ/L_norm) से भिन्न होते हैं, जहाँ k(b) b के साथ चरघातांकी गिरता है। DeepSeek-V4.1-Flash के API स्तर max, high, low के लिए b=100, 75, 50।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model)

### Receding-horizon planning

नवीनतम state से कई क्रियाएँ आगे योजना बनाना, पहली क्रिया या छोटा खंड चलाना, फिर नए observations से फिर योजना बनाना।

- पूरा पाठ पढ़ें: [World models और planning: state का पूर्वानुमान से closed-loop control तक](https://dmxsf.com/hi/wiki/multimodal/world-models/)
- यह भी देखें: [World model](https://dmxsf.com/hi/glossary/#world-model), [Latent action](https://dmxsf.com/hi/glossary/#latent-action)

### Rectified flow

Liu et al. (2022) की flow-matching रूपरेखा: noise और डेटा के बीच सीधी रेखा लो, उसका velocity regress करो, और ODE integrate करके sample करो। Reflow उसका पुनरावृत्ति चरण है: हर noise vector को वर्तमान मॉडल के ODE सिरे से जोड़कर उन जोड़ियों पर फिर प्रशिक्षित करो, जिससे राहें सीधी हो जाती हैं और बहुत कम चरण काफ़ी हो जाते हैं। Stable Diffusion 3 इस सीधे-राह उद्देश्य से प्रशिक्षित होता है।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- यह भी देखें: [Flow matching](https://dmxsf.com/hi/glossary/#flow-matching), [Consistency model](https://dmxsf.com/hi/glossary/#consistency-model)

### Recurrent neural network (RNN)

ऐसा network जो sequence एक चरण एक बार पढ़ता है: hidden state h_t = f(h_{t−1}, x_t) अतीत को नियत आकार के vector में सिमटाता है। Sequences के लिए स्वाभाविक है पर समय पर समानांतर नहीं हो सकता, दूर की सूचना को कई चरणों से गुज़रना पड़ता है, और प्रशिक्षण में गायब gradients आते हैं।

- पूरा पाठ पढ़ें: [RNN से attention तक: Transformer क्यों उभरा](https://dmxsf.com/hi/wiki/architecture/from-rnn-to-attention/)
- यह भी देखें: [Long short-term memory](https://dmxsf.com/hi/glossary/#lstm), [Vanishing gradient](https://dmxsf.com/hi/glossary/#vanishing-gradient), [Sequence-to-sequence model](https://dmxsf.com/hi/glossary/#seq2seq), [Self-attention](https://dmxsf.com/hi/glossary/#self-attention)

### Recurrent State-Space Model (RSSM)

Dreamer परिवार की world-model संरचना: एक निश्चयात्मक recurrent state h इतिहास याद रखता है और एक यादृच्छिक discrete latent z वर्तमान observation दर्शाता है। h, z को prior के रूप में भविष्यवानी करता है, observation से posterior मिलता है, और KL term दोनों को पास लाता है; rewards, episode की निरंतरता और पुनर्निर्माण h और z से आते हैं, इसलिए कल्पना पूरी तरह latent space में चलती है।

- शोधपत्र विश्लेषण: [DreamerV3: One Set of Hyperparameters for 150+ Tasks with a World-Model Agent](https://dmxsf.com/hi/blog/dreamerv3-mastering-diverse-domains-through-world-models/)
- यह भी देखें: [World model](https://dmxsf.com/hi/glossary/#world-model), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence)

### Red teaming

जानबूझकर ऐसे inputs बनाना जो हानिकारक आउटपुट निकालने की कोशिश करें, मॉडल परखने और उसकी कमज़ोरियाँ उजागर करने के लिए; हमलावर भीड़-कर्मचारी, experts या दूसरा मॉडल हो सकता है। Constitutional AI ने 182,831 red-team prompts उपयोग किए: 42,496 मानव red-teaming runs में लिखे और 140,335 pretrained मॉडल से कुछ उदाहरणों पर बनवाए।

- पूरा पाठ पढ़ें: [Prompt injection aur jailbreak: LLM application ki safety seema](https://dmxsf.com/hi/wiki/safety/prompt-injection-and-jailbreaks/)
- शोधपत्र विश्लेषण: [Constitutional AI: Harmlessness from AI Feedback](https://dmxsf.com/hi/blog/constitutional-ai-harmlessness-from-ai-feedback/)
- यह भी देखें: [Prompt injection](https://dmxsf.com/hi/glossary/#prompt-injection), [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [Constitutional AI](https://dmxsf.com/hi/glossary/#constitutional-ai)

### Reduce-scatter

सामूहिक आधार: n devices के पास हर एक के N मान; मान elementwise जुड़ते हैं और नतीजा n खंडों में कटता है, हर device N/n आकार का एक खंड रखता है। इसके बाद all-gather चलाने से all-reduce बराबर हो जाता है; ZeRO और FSDP इससे gradients एक ही चरण में जोड़कर बाँटते हैं।

- पूरा पाठ पढ़ें: [Collective communication: all-reduce के इतने अलग algorithms क्यों हैं](https://dmxsf.com/hi/wiki/systems/collective-communication/)
- यह भी देखें: [All-reduce](https://dmxsf.com/hi/glossary/#all-reduce), [All-gather](https://dmxsf.com/hi/glossary/#all-gather), [ZeRO](https://dmxsf.com/hi/glossary/#zero)

### Reference model

RLHF और DPO का आधार मॉडल pi_ref, प्रायः जमा SFT मॉडल। KL penalty नई policy की इससे दूरी नापता है और implicit reward इसी के आपेक्षिक परिभाषित होता है; बड़ा beta policy को पास रखता है। Preference डेटा इसी या पास के मॉडल से आना चाहिए; SFT मॉडल न हो तो DPO पहले चुने उत्तरों की likelihood बढ़ाकर एक बना लेता है।

- अन्य नाम: Reference policy
- पूरा पाठ पढ़ें: [Preference optimization: RLHF se DPO tak](https://dmxsf.com/hi/wiki/post-training/preference-optimization/)
- शोधपत्र विश्लेषण: [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://dmxsf.com/hi/blog/dpo-direct-preference-optimization/)
- यह भी देखें: [Direct preference optimization](https://dmxsf.com/hi/glossary/#dpo), [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence), [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft)

### REINFORCE

सबसे आधारभूत policy-gradient एल्गोरिद्म (Williams, 1992): पूरे उत्तर sample करो, हर एक के log-प्रायिकता के gradient को उसके स्कोर से भारित करो, और औसत लो। Value model नहीं चाहिए और लागू करना सबसे सरल है, पर baseline के बिना variance सबसे बड़ा। RLOO छोड़-एक-बाहर baseline वाला REINFORCE है।

- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- यह भी देखें: [Policy gradient](https://dmxsf.com/hi/glossary/#policy-gradient), [Baseline (policy gradient)](https://dmxsf.com/hi/glossary/#rl-baseline), [REINFORCE Leave-One-Out](https://dmxsf.com/hi/glossary/#rloo)

### REINFORCE Leave-One-Out (RLOO)

एक prompt के G उत्तर sample करके हर उत्तर की baseline के रूप में बाकी G−1 का औसत reward लेना। Baseline उत्तर पर निर्भर नहीं, इसलिऔ gradient भेदरहित है और value model नहीं चाहिए। Kool et al. (2019) ने प्रस्तावित किया और Ahmadian et al. (2024) ने RLHF पर लगाया। साधारण group माध्य घटाने से ठीक उसके अपेक्षित gradient का (G−1)/G मिलता है।

- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- यह भी देखें: [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [REINFORCE](https://dmxsf.com/hi/glossary/#reinforce), [Baseline (policy gradient)](https://dmxsf.com/hi/glossary/#rl-baseline)

### Reinforcement learning from human feedback (RLHF)

पहले मानव preference डेटा से reward model प्रशिक्षित करना, फिर reinforcement learning (प्रायः PPO) से भाषा मॉडल को अधिक reward कमाने के लिए अनुकूलित करना, जहाँ KL penalty उसे reference model के पास रखता है। InstructGPT की मानक विधि।

- पूरा पाठ पढ़ें: [Preference optimization: RLHF se DPO tak](https://dmxsf.com/hi/wiki/post-training/preference-optimization/)
- शोधपत्र विश्लेषण: [InstructGPT: Training Language Models to Follow Instructions with Human Feedback](https://dmxsf.com/hi/blog/instructgpt-rlhf/)
- यह भी देखें: [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo), [Direct preference optimization](https://dmxsf.com/hi/glossary/#dpo), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence)

### Reinforcement learning with verifiable rewards (RLVR)

ऐसा reinforcement learning जिसका reward उत्तर स्वतः जाँचने वाले नियमों से आता है, जैसे गणित उत्तर सही है या code tests पास करता है, जिससे reward models को चालाकी से बेचैन किए जाने की समस्या टलती है। Reasoning मॉडल प्रशिक्षण की प्रमुख विधि।

- पूरा पाठ पढ़ें: [Reasoning RL: RLVR और GRPO](https://dmxsf.com/hi/wiki/post-training/reasoning-rl/)
- यह भी देखें: [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo), [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model), [Reward hacking](https://dmxsf.com/hi/glossary/#reward-hacking)

### Rejection sampling fine-tuning

हर prompt के लिए सर्वश्रेष्ठ वर्तमान मॉडल से कई उत्तर नमूने लेना (Llama 3 में 10 से 30), reward model से सर्वश्रेष्ठ चुनवाना, और उस पर SFT करना। Best-of-N से भिन्न, जो केवल inference पर चुनता है, यह चुने उत्तरों को मॉडल में प्रशिक्षित करता है और दोहराया जा सकता है। Llama 3 ने इसे SFT डेटा का प्रमुख स्रोत बनाया; PagedAttention ने sampling throughput दोगुने से अधिक बढ़ाई।

- अन्य नाम: RFT
- शोधपत्र विश्लेषण: [The Llama 3 Herd of Models: data, scale and the engineering recipe of a 405B dense model](https://dmxsf.com/hi/blog/the-llama-3-herd-of-models/)
- यह भी देखें: [Best-of-N sampling](https://dmxsf.com/hi/glossary/#best-of-n), [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft), [PagedAttention](https://dmxsf.com/hi/glossary/#pagedattention)

### Reliability diagram

Calibration जाँचने का आलेख: x अक्ष पर भरोसे के bins, y अक्ष पर हर bin के भीतर वास्तविक सटीकता। विकर्ण पर बिंदु calibrated, उसके नीचे अति-आत्मविश्वासी और ऊपर कम-आत्मविश्वासी कहते हैं।

- पूरा पाठ पढ़ें: [Hallucination aur calibration: model vajah se pakka galat kaise bolta hai](https://dmxsf.com/hi/wiki/safety/hallucination-and-calibration/)
- यह भी देखें: [Calibration](https://dmxsf.com/hi/glossary/#calibration), [Expected calibration error](https://dmxsf.com/hi/glossary/#expected-calibration-error)

### Reranking

पहली retrieval बारी के candidates को अधिक सटीक (और प्रायः धीमे) मॉडल से पुनः स्कोर देना, ताकि सबसे संबंधित आगे आ जाएँ।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- यह भी देखें: [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag), [Chunking](https://dmxsf.com/hi/glossary/#chunking)

### Residual connection

Sublayer के input को सीधे उसके आउटपुट में जोड़ना: y = x + f(x)। इससे gradients सरलता से वापस बहते हैं, जिससे बहुत गहरे networks प्रशिक्षण योग्य बनते हैं।

- पूरा पाठ पढ़ें: [Transformer Block का पूरा विघटन](https://dmxsf.com/hi/wiki/architecture/transformer-block/)
- यह भी देखें: [Layer normalization](https://dmxsf.com/hi/glossary/#layer-norm), [Transformer](https://dmxsf.com/hi/glossary/#transformer)

### Residual learning

Block संशोधन F(x) सीखता है और skip connection से F(x)+x लौटाता है। पहचान राहें बहुत गहरे networks को ResNet और Transformer में अनुकूलित करने आसान बनाती हैं।

- शोधपत्र विश्लेषण: [Deep Residual Learning for Image Recognition](https://dmxsf.com/hi/blog/deep-residual-learning-for-image-recognition/)
- यह भी देखें: [Transformer](https://dmxsf.com/hi/glossary/#transformer)

### Residual stream

Transformer को हर स्थिति के एक साझा vector के रूप में देखना: हर attention head और MLP residual stream पढ़कर अपना आउटपुट वापस जोड़ता है, और logits अंतिम residual stream से अंतिम norm और unembedding से आते हैं। आउटपुट फिर प्रति-घटक योगदानों में बँटता है, और हर layer सीमा हर स्थिति पर एक ऐसा बिंदु है जिसे पढ़ा या बदला जा सकता है।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Residual connection](https://dmxsf.com/hi/glossary/#residual-connection), [Multi-head attention](https://dmxsf.com/hi/glossary/#multi-head-attention), [Logits](https://dmxsf.com/hi/glossary/#logits)

### Retention

RetNet का sequence-mixing तंत्र बहु-पैमाने decay को समानांतर, recurrent और chunkwise बराबर रूपों में उपयोग करता है, जिससे नियत आकार state के साथ decoding होती है।

- शोधपत्र विश्लेषण: [RetNet: Parallel training and recurrent inference through retention](https://dmxsf.com/hi/blog/retentive-network-a-successor-to-transformer-for-large-language-models/)
- यह भी देखें: [Transformer](https://dmxsf.com/hi/glossary/#transformer)

### Retrieval granularity

एक retrieval की लौटाई इकाई। टेक्स्ट के लिए महीन से मोटे: token, वाक्यांश, वाक्य, proposition, chunk, document; ज्ञान ग्राफ पर: entity, triplet, उप-ग्राफ। मोटी इकाइयाँ अधिक सूचना और अधिक पुनरावृत्ति रखती हैं जो retriever और मॉडल को भटकाती है; महीन इकाइयाँ retrieval का बोझ बढ़ाती और अर्थ की पूर्णता खो सकती हैं। समझौता Small2Big है: वाक्य खोजकर पड़ोसी भेजना।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Chunking](https://dmxsf.com/hi/glossary/#chunking), [Naive RAG](https://dmxsf.com/hi/glossary/#naive-rag), [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag)

### Retrieval-augmented generation (RAG)

पहले बाहरी ज्ञान-आधार से संबंधित अंश खोजना, फिर प्रश्न के साथ मॉडल को देना, ताकि उत्तर आधारित हों और ताज़ा या निजी ज्ञान इस्तेमाल हो सके। Lewis et al. ने 2020 में प्रस्तावित किया।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- शोधपत्र विश्लेषण: [Retrieval-Augmented Generation for Large Language Models: A Survey](https://dmxsf.com/hi/blog/rag-survey/)
- यह भी देखें: [Vector database](https://dmxsf.com/hi/glossary/#vector-database), [Chunking](https://dmxsf.com/hi/glossary/#chunking), [Reranking](https://dmxsf.com/hi/glossary/#reranking), [Hallucination](https://dmxsf.com/hi/glossary/#hallucination)

### Return normalization

DreamerV3 का actor के returns का उपचार: उन्हें S से भाग दिया जाता है, जहाँ S return batch के 95वें और 5वें percentiles का अंतर है (exponential moving average से smooth किया), भाजक max(1, S)। Percentiles outlier returns से अप्रभावित रहते हैं और 1 की न्यूनतम सीमा छोटे विरल returns को नहीं छेड़ती, इसलिए एक ही entropy coefficient भिन्न पैमाने और विरलता वाले कार्यों पर चलता है।

- अन्य नाम: Percentile return normalization
- शोधपत्र विश्लेषण: [DreamerV3: One Set of Hyperparameters for 150+ Tasks with a World-Model Agent](https://dmxsf.com/hi/blog/dreamerv3-mastering-diverse-domains-through-world-models/)
- यह भी देखें: [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo), [Generalized advantage estimation](https://dmxsf.com/hi/glossary/#gae), [symlog transform](https://dmxsf.com/hi/glossary/#symlog)

### Return-conditioned supervised learning (RCSL)

Offline RL विधियों का परिवार: state और चाहे गए return को देखकर क्रियाओं का distribution supervised सीख से फ़िट करना, फिर ऊँचा return माँगकर काम करना; कोई value function नहीं। Decision Transformer इसी में है। अनुकूल होने के लिऔ dynamic programming से कड़ी मान्यताएँ चाहिए (Brandfonbrener et al., 2022) और यादृच्छिक पर्यावरणों में भाग्य से भटक सकता है (Paster et al., 2022)।

- शोधपत्र विश्लेषण: [Decision Transformer: Reinforcement Learning as Conditional Sequence Modeling](https://dmxsf.com/hi/blog/decision-transformer-reinforcement-learning-via-sequence-modeling/)
- यह भी देखें: [Decision Transformer](https://dmxsf.com/hi/glossary/#decision-transformer), [Returns-to-go](https://dmxsf.com/hi/glossary/#returns-to-go), [Stitching](https://dmxsf.com/hi/glossary/#stitching), [Behavior cloning](https://dmxsf.com/hi/glossary/#behavior-cloning)

### Returns-to-go (RTG)

वर्तमान समय चरण से trajectory के अंत तक rewards का योग। Decision Transformer उन्हें rewards के बजाय शर्त के रूप में मॉडल को खिलाता है, क्योंकि क्रिया इस बात पर निर्भर करे कि और कितना return चाहिए, न कि कितना जमा हुआ। Inference पर एक लक्ष्य return सेट होता है और हर मिले reward से घटता है। Rewards 0, 1, 2 के returns-to-go 3, 3, 2 होते हैं।

- शोधपत्र विश्लेषण: [Decision Transformer: Reinforcement Learning as Conditional Sequence Modeling](https://dmxsf.com/hi/blog/decision-transformer-reinforcement-learning-via-sequence-modeling/)
- यह भी देखें: [Decision Transformer](https://dmxsf.com/hi/glossary/#decision-transformer), [Credit assignment](https://dmxsf.com/hi/glossary/#credit-assignment), [Return-conditioned supervised learning](https://dmxsf.com/hi/glossary/#rcsl)

### Reward hacking

मॉडल का reward फलन या reward model की लूनों का फ़ायदा उठाकर काम वास्तव में किए बिना ऊँचा स्कोर कमाना।

- पूरा पाठ पढ़ें: [Preference optimization: RLHF se DPO tak](https://dmxsf.com/hi/wiki/post-training/preference-optimization/)
- यह भी देखें: [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [Reinforcement learning with verifiable rewards](https://dmxsf.com/hi/glossary/#rlvr)

### Reward model

ऐसा मॉडल जो prompt और उत्तर की जोड़ी को स्केलर स्कोर देता है, मानव preference जोड़ों (बेहतर बनाम बदतर) पर प्रशिक्षित; RLHF में यह मानव preferences का प्रतिनिधि बन जाता है।

- पूरा पाठ पढ़ें: [Reward model: insani preference ko optimize yogya score banana](https://dmxsf.com/hi/wiki/post-training/reward-models/)
- शोधपत्र विश्लेषण: [InstructGPT: Training Language Models to Follow Instructions with Human Feedback](https://dmxsf.com/hi/blog/instructgpt-rlhf/)
- यह भी देखें: [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [Reward hacking](https://dmxsf.com/hi/glossary/#reward-hacking), [Bradley-Terry model](https://dmxsf.com/hi/glossary/#bradley-terry), [Reward overoptimization](https://dmxsf.com/hi/glossary/#reward-overoptimization), [RewardBench](https://dmxsf.com/hi/glossary/#rewardbench)

### Reward model ensemble

कई reward models प्रशिक्षित करके उनके स्कोरों को एक reward में जोड़ना, अति-अनुकूलन रोकने के लिए। सामान्य संयोजन: माध्य, न्यूनतम (worst-case optimization, WCO) और माध्य घटा λ गुना variance (uncertainty-weighted optimization, UWO; Coste et al., 2024)। माध्य संयमी नहीं: एक सदस्य ने उत्तर को अधिक आँका तो policy वही फ़ायदा उठा सकती है।

- पूरा पाठ पढ़ें: [Reward model: insani preference ko optimize yogya score banana](https://dmxsf.com/hi/wiki/post-training/reward-models/)
- यह भी देखें: [Reward overoptimization](https://dmxsf.com/hi/glossary/#reward-overoptimization), [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [Best-of-N sampling](https://dmxsf.com/hi/glossary/#best-of-n)

### Reward overoptimization

वह प्रभाव जिसमें reward model के स्कोर के विरुद्ध कड़ा अनुकूलन स्कोर (proxy reward) बढ़ाता रहता है जबकि स्वतंत्र रूप से नापी गई सच्ची गुणवत्ता पहले चढ़कर फिर गिरती है। Gao et al. (2022) ने बड़े gold reward model को सत्य माना और पाया कि best-of-N के अधीन gold स्कोर R(d)=d(α−βd) के अनुसार चलता है, जहाँ d KL का वर्गमूल है; β पद का प्रमुख कारण extremal Goodhart प्रभाव हैं।

- पूरा पाठ पढ़ें: [Reward model: insani preference ko optimize yogya score banana](https://dmxsf.com/hi/wiki/post-training/reward-models/)
- यह भी देखें: [Goodhart का नियम](https://dmxsf.com/hi/glossary/#goodharts-law), [Reward hacking](https://dmxsf.com/hi/glossary/#reward-hacking), [Best-of-N sampling](https://dmxsf.com/hi/glossary/#best-of-n), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence)

### RewardBench

Reward models के लिए ही बना benchmark (Lambert et al., 2024): prompt-chosen-rejected तिकड़ियाँ जो बातचीत, कठिन बातचीत, सुरक्षा और तर्क (code और गणित) छूती हैं, इस नाप से अंकित कि reward model चुने उत्तर को ठुकराए गए से ऊपर कितनी बार रखता है; DPO के अप्रत्यक्ष reward को भी स्कोर कर सकता है।

- पूरा पाठ पढ़ें: [Reward model: insani preference ko optimize yogya score banana](https://dmxsf.com/hi/wiki/post-training/reward-models/)
- यह भी देखें: [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [Bradley-Terry model](https://dmxsf.com/hi/glossary/#bradley-terry), [Label noise](https://dmxsf.com/hi/glossary/#label-noise)

### Ring all-reduce

n devices को ring में लगाओ: n−1 चरणों का reduce-scatter, फिर n−1 चरणों का all-gather, हर चरण केवल पड़ोसी से बात। हर device कुल में लगभग 2(n−1)/n गुना डेटा आकार भेजता है, जो n के साथ लगभग नहीं बढ़ता और bandwidth के लिए अनुकूल; कमी latency का n के साथ रेखीय बढ़ना।

- पूरा पाठ पढ़ें: [Collective communication: all-reduce के इतने अलग algorithms क्यों हैं](https://dmxsf.com/hi/wiki/systems/collective-communication/)
- यह भी देखें: [All-reduce](https://dmxsf.com/hi/glossary/#all-reduce), [Reduce-scatter](https://dmxsf.com/hi/glossary/#reduce-scatter), [All-gather](https://dmxsf.com/hi/glossary/#all-gather), [Bus bandwidth](https://dmxsf.com/hi/glossary/#bus-bandwidth)

### RLAIF

AI feedback से reinforcement learning: reward model के preference labels मनुष्यों के बजाय भाषा मॉडल से आते हैं। Constitutional AI में feedback model दो उत्तरों को बहु-विकल्प प्रश्न की तरह पढ़ता है, लिखे सिद्धांत के अधीन बेहतर चुनता है, और normalized option probability soft label बनती है। मनुष्य सिद्धांत और, उस paper में, सहायकता labels देते हैं।

- पूरा पाठ पढ़ें: [Preference optimization: RLHF se DPO tak](https://dmxsf.com/hi/wiki/post-training/preference-optimization/)
- शोधपत्र विश्लेषण: [Constitutional AI: Harmlessness from AI Feedback](https://dmxsf.com/hi/blog/constitutional-ai-harmlessness-from-ai-feedback/)
- यह भी देखें: [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf), [Constitutional AI](https://dmxsf.com/hi/glossary/#constitutional-ai), [Reward model](https://dmxsf.com/hi/glossary/#reward-model), [LLM-as-a-judge](https://dmxsf.com/hi/glossary/#llm-as-a-judge)

### RMSNorm

सरल layer normalization जो features के root mean square से भाग देता है और माध्य नहीं घटाता, जिससे गणना सस्ती होती है। Llama आदि में प्रयुक्त।

- पूरा पाठ पढ़ें: [आधुनिक मॉडल architecture: GPT-2 से Llama, Qwen व DeepSeek तक](https://dmxsf.com/hi/wiki/architecture/modern-llm-architecture/)
- यह भी देखें: [Layer normalization](https://dmxsf.com/hi/glossary/#layer-norm)

### Roofline model

यह तय करने का performance model कि संक्रिया को क्या सीमित करता है: प्राप्य throughput = min(शिखर compute, arithmetic intensity × स्मृति bandwidth)। Arithmetic intensity के विरुद्ध आलेखित करने पर छत जैसा दिखता है: ढलान वाला भाग जहाँ bandwidth सीमित करे और सपाट भाग जहाँ compute, दोनों ridge point पर मिलते हैं, शिखर compute भाग bandwidth।

- पूरा पाठ पढ़ें: [GPU और Roofline मॉडल: बड़े मॉडल अक्सर मेमोरी bandwidth पर क्यों अटकते हैं](https://dmxsf.com/hi/wiki/systems/gpu-and-roofline/)
- यह भी देखें: [Arithmetic intensity](https://dmxsf.com/hi/glossary/#arithmetic-intensity), [Memory-bound](https://dmxsf.com/hi/glossary/#memory-bound), [High Bandwidth Memory](https://dmxsf.com/hi/glossary/#hbm), [FLOPs](https://dmxsf.com/hi/glossary/#flops)

### Rotary position embedding (RoPE)

Query और key vectors के हर dimensions-जोड़े को स्थिति के अनुपाती कोण से घुमाता है, ताकि उनका dot product केवल सापेक्ष दूरी पर निर्भर हो। Su et al. ने 2021 में प्रस्तावित किया; Llama, Qwen और DeepSeek में व्यापक प्रयुक्त।

- पूरा पाठ पढ़ें: [Positional encoding विस्तार से (absolute से relative और RoPE तक)](https://dmxsf.com/hi/wiki/architecture/positional-encoding/)
- शोधपत्र विश्लेषण: [RoFormer: Writing Position into the Attention Dot Product with Rotations](https://dmxsf.com/hi/blog/roformer-rotary-position-embedding/)
- यह भी देखें: [Positional encoding](https://dmxsf.com/hi/glossary/#positional-encoding), [Context window](https://dmxsf.com/hi/glossary/#context-window), [Position interpolation](https://dmxsf.com/hi/glossary/#position-interpolation), [YaRN](https://dmxsf.com/hi/glossary/#yarn)

### Router

Mixture-of-experts मॉडल का छोटा network जो हर token को स्कोर करके उसके top-k experts चुनता है। इसे प्रायः load-balancing loss या समान तंत्र चाहिए ताकि सभी tokens कुछ ही experts पर न जमा हो जाएँ।

- अन्य नाम: Gating network
- पूरा पाठ पढ़ें: [Mixture of Experts (MoE): routing, load balancing व sparse activation](https://dmxsf.com/hi/wiki/architecture/mixture-of-experts/)
- शोधपत्र विश्लेषण: [Mixtral of Experts: An Open MoE That Matches Llama 2 70B with 13B Active Parameters](https://dmxsf.com/hi/blog/mixtral-of-experts/)
- यह भी देखें: [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe), [Expert load balancing](https://dmxsf.com/hi/glossary/#load-balancing), [Shared expert](https://dmxsf.com/hi/glossary/#shared-expert)

### Routing Replay

MoE मॉडलों के reinforcement learning स्थिर करने का तरीका: पुरानी policy ने सक्रिय किए experts cache करके नई policy के importance ratios गणना में वही routes दोहराना। Qwen team रिपोर्ट करता है कि Qwen3-30B-A3B-Base पर हर अद्यतन के बाद एक उत्तर के सक्रिय experts का लगभग 10% बदलता है, और इसके बिना GRPO अभिसरित नहीं होता। GSPO को इसकी ज़रूरत नहीं।

- शोधपत्र विश्लेषण: [GSPO: Moving Importance Ratios and Clipping From Tokens to Whole Responses](https://dmxsf.com/hi/blog/gspo-group-sequence-policy-optimization/)
- यह भी देखें: [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe), [Group sequence policy optimization](https://dmxsf.com/hi/glossary/#gspo)

## S

### Scaled dot-product attention

Attention का मानक रूप: Q और K के dot products को √d_k से भाग दो, softmax लगाओ, और नतीजे से V का भार बनाओ। यदि घटक स्वतंत्र, माध्य 0 और प्रसरण 1 के हों तो dot product का प्रसरण d_k होता है; बिना scaling के बड़े d_k पर softmax one-hot की ओर जाता और gradients ग़ायब होते। 2017 के Transformer paper में पेश।

- पूरा पाठ पढ़ें: [Transformer attention तंत्र की शुरुआत](https://dmxsf.com/hi/wiki/architecture/attention-basics/)
- शोधपत्र विश्लेषण: [Attention Is All You Need: the Transformer, with self-attention instead of recurrence and convolution](https://dmxsf.com/hi/blog/attention-is-all-you-need/)
- यह भी देखें: [Self-attention](https://dmxsf.com/hi/glossary/#self-attention), [Multi-head attention](https://dmxsf.com/hi/glossary/#multi-head-attention), [Softmax](https://dmxsf.com/hi/glossary/#softmax), [Query, key और value](https://dmxsf.com/hi/glossary/#qkv)

### Scaling law

वह अनुभविक नियमितता कि parameters, डेटा और compute बढ़ने पर मॉडल का loss घात-नियम के अनुसार सुचार रूप से गिरता है। Kaplan et al. ने 2020 में व्यवस्थित वर्णन किया और Hoffmann et al. (Chinchilla, 2022) ने parameters और डेटा का अनुकूल संतुलन संशोधित किया।

- पूरा पाठ पढ़ें: [Scaling laws: compute, पैरामीटर व data कैसे बाँटें](https://dmxsf.com/hi/wiki/pretraining/scaling-laws/)
- शोधपत्र विश्लेषण: [Scaling Laws for Neural Language Models](https://dmxsf.com/hi/blog/scaling-laws-for-neural-language-models/)
- यह भी देखें: [Chinchilla-optimal training](https://dmxsf.com/hi/glossary/#chinchilla), [FLOPs](https://dmxsf.com/hi/glossary/#flops), [Pretraining](https://dmxsf.com/hi/glossary/#pretraining)

### Score function

Log density का डेटा के अनुसार gradient, ∇ₓ log p(x), जिस दिशा में प्रायिकता सबसे तेज़ बढ़ती है। Diffusion model में noise स्तर t पर noise की भविष्यवानी score आकलन के बराबर है: अनुकूल noise भविष्यवानी ε* = −σ_t·∇ log p_t(x_t)। Score matching और DDPM का noise-भविष्यवानी loss मूलतः वही regression समस्या है।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- यह भी देखें: [Diffusion model](https://dmxsf.com/hi/glossary/#diffusion-model), [Denoising diffusion probabilistic model](https://dmxsf.com/hi/glossary/#ddpm)

### Selection mechanism

Mamba का मूल बदलाव: state space model का चरण आकार Δ, लेखन matrix B और पढ़ने का matrix C नियत parameters के बजाय वर्तमान token से गणना होते हैं। तब मॉडल सामग्री देखकर तय कर सकता है कि token को state में लिखे या अनसुना करे। कीमत: parameters समय के साथ बदलते हैं, इसलिऔ convolution रूप लागू नहीं और प्रशिक्षण को parallel scan चाहिए।

- अन्य नाम: S6, Selective SSM
- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- शोधपत्र विश्लेषण: [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://dmxsf.com/hi/blog/mamba-linear-time-sequence-modeling-with-selective-state-spaces/)
- यह भी देखें: [State space model](https://dmxsf.com/hi/glossary/#ssm), [Mamba](https://dmxsf.com/hi/glossary/#mamba), [LTI SSM](https://dmxsf.com/hi/glossary/#lti-ssm), [Parallel scan](https://dmxsf.com/hi/glossary/#parallel-scan), [Zero-order hold discretization](https://dmxsf.com/hi/glossary/#zoh-discretization)

### Selective Copying

Mamba paper का कृत्रिम कार्य जो सामग्री-जागरूकता परखता है: याद रखने योग्य डेटा tokens यादृच्छिक स्थितियों पर noise tokens के बीच बिखरे होते हैं, और मॉडल उन्हें क्रम से नक़ल करे। नियत स्थितियों पर LTI model उचित लंबाई के kernel से हल कर लेता है; यादृच्छिक स्थितियों पर उसे सामग्री से चुनना होता है। Paper की Table 1 में Mamba block के S6 को 99.8% और LTI layers को अधिकतम 57.0% मिलता है।

- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- शोधपत्र विश्लेषण: [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://dmxsf.com/hi/blog/mamba-linear-time-sequence-modeling-with-selective-state-spaces/)
- यह भी देखें: [LTI SSM](https://dmxsf.com/hi/glossary/#lti-ssm), [Selection mechanism](https://dmxsf.com/hi/glossary/#selection-mechanism), [Induction head](https://dmxsf.com/hi/glossary/#induction-head)

### Selective precision

गणना का केवल संख्यात्मक रूप से संवेदनशील भाग ऊँची सटीकता (जैसे float32) में चलाना, बाकी bfloat16 में। Switch Transformer अपने router के भीतर float32 चलाकर परिणाम bfloat16 में लौटाता है, जिससे शुद्ध bfloat16 प्रशिक्षण का बिखरना टलता है और गति लगभग वैसी ही रहती है।

- शोधपत्र विश्लेषण: [Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity](https://dmxsf.com/hi/blog/switch-transformers-scaling-to-trillion-parameter-models/)
- यह भी देखें: [Mixed-precision training](https://dmxsf.com/hi/glossary/#mixed-precision), [BF16](https://dmxsf.com/hi/glossary/#bf16), [Router](https://dmxsf.com/hi/glossary/#router)

### Self-attention

Sequence की हर स्थिति अपने query से सभी स्थितियों की keys से मेल बिठाती है और उनकी values का भारित योग लेती है, जिससे संदर्भ सीधे जुड़ता है। Q, K और V तीनों एक ही sequence से आते हैं।

- पूरा पाठ पढ़ें: [Transformer attention तंत्र की शुरुआत](https://dmxsf.com/hi/wiki/architecture/attention-basics/)
- यह भी देखें: [Query, key और value](https://dmxsf.com/hi/glossary/#qkv), [Multi-head attention](https://dmxsf.com/hi/glossary/#multi-head-attention), [Causal mask](https://dmxsf.com/hi/glossary/#causal-mask), [Cross-attention](https://dmxsf.com/hi/glossary/#cross-attention)

### Self-consistency

एक ही प्रश्न के लिए ऊँचे temperature पर कई chains of thought sample करना, हर एक से उत्तर पढ़ना, और सबसे बार आया उत्तर लौटाना (बहुमत मतदान)। Wang et al. ने 2022 में प्रस्तावित किया; प्रशिक्षण नहीं चाहिए पर inference लागत गुणित होती है। ReAct paper CoT-SC को 21 नमूनों के साथ baseline लेता है और ReAct व CoT-SC को एक-दूसरे का सहारा बनाता है।

- अन्य नाम: CoT-SC
- पूरा पाठ पढ़ें: [Test-time compute: inference par kharch karna](https://dmxsf.com/hi/wiki/frontier/test-time-compute/)
- शोधपत्र विश्लेषण: [ReAct: Treating Thought as an Action So a Language Model Can Reason and Act in One Trace](https://dmxsf.com/hi/blog/react-reasoning-and-acting/)
- यह भी देखें: [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought), [Test-time compute](https://dmxsf.com/hi/glossary/#test-time-compute), [ReAct](https://dmxsf.com/hi/glossary/#react)

### Self-training

मॉडल को बिना label समस्याओं के उत्तर दिलवाना, उन्हें छानना, और नतीजे पर प्रशिक्षित करना, कई राउंड तक; STaR, ReST-EM और rejection-sampling fine-tuning उदाहरण हैं। सुधार छँटाई में बाहरी सूचना पर टिकता है: भरोसेमंद verifier नई क्षमता का बूटस्ट्रैप देता है, जबकि उसका अपना बहुमत मत या बिना छँटाई उसे अपनी व्यवस्थित ग़लतियाँ labels बना सिखा देता है।

- अन्य नाम: Self-improvement
- पूरा पाठ पढ़ें: [Synthetic data aur self-improvement](https://dmxsf.com/hi/wiki/frontier/synthetic-data-and-self-improvement/)
- यह भी देखें: [Rejection sampling fine-tuning](https://dmxsf.com/hi/glossary/#rejection-sampling-finetuning), [Synthetic data](https://dmxsf.com/hi/glossary/#synthetic-data), [Model collapse](https://dmxsf.com/hi/glossary/#model-collapse), [Reinforcement learning with verifiable rewards](https://dmxsf.com/hi/glossary/#rlvr), [Self-consistency](https://dmxsf.com/hi/glossary/#self-consistency), [Best-of-N sampling](https://dmxsf.com/hi/glossary/#best-of-n)

### Sequence-to-sequence learning

परिवर्तनीय-लंबाई inputs और outputs का encoder-decoder दृष्टांत। पुराने LSTM models नियत vector उपयोग करते थे; attention ने बाद में हर encoder state उजागर कर दिया।

- अन्य नाम: Seq2seq
- शोधपत्र विश्लेषण: [Seq2Seq: Encoder-decoder learning for variable-length sequences](https://dmxsf.com/hi/blog/sequence-to-sequence-learning-with-neural-networks/)
- यह भी देखें: [Encoder-decoder मॉडल](https://dmxsf.com/hi/glossary/#encoder-decoder)

### Sequence-to-sequence model

ऐसा ढाँचा जिसमें encoder स्रोत sequence को vector में पढ़ता है और decoder लक्ष्य sequence token-दर-token बनाता है (Sutskever et al., 2014; Cho et al., 2014), पहले RNN से बना। पूरा वाक्य एक नियत-लंबाई vector में सिमटाना उसका अड़चन था, वही समस्या जिसका उपाय attention पहली बार बना।

- अन्य नाम: Seq2seq
- पूरा पाठ पढ़ें: [RNN से attention तक: Transformer क्यों उभरा](https://dmxsf.com/hi/wiki/architecture/from-rnn-to-attention/)
- यह भी देखें: [Recurrent neural network](https://dmxsf.com/hi/glossary/#rnn), [Additive attention](https://dmxsf.com/hi/glossary/#additive-attention), [Encoder-decoder मॉडल](https://dmxsf.com/hi/glossary/#encoder-decoder)

### Sequential revision

मॉडल को अपना पहले का उत्तर, जो ग़लत भी हो सकता है, राउंड-दर-राउंड फिर लिखने देना, समानांतर में कई उत्तर स्वतंत्र sample करने के बजाय। मौजूदा मॉडल केवल prompting से शायद ही अच्छा संशोधन करते हैं, इसलिऔ fine-tuning चाहिए। Snell et al. (2024) पाते हैं कि बराबर बजट पर यह समानांतर sampling से हल्का बेहतर है, और सबसे अच्छा sequential-से-parallel अनुपात कठिनाई पर निर्भर है।

- शोधपत्र विश्लेषण: [Scaling LLM Test-Time Compute Optimally: Spending Inference Compute by Difficulty Can Beat a Bigger Model](https://dmxsf.com/hi/blog/scaling-llm-test-time-compute-optimally-can-be-more-effective-than-scaling-model-parameters/)
- यह भी देखें: [Test-time compute](https://dmxsf.com/hi/glossary/#test-time-compute), [Best-of-N sampling](https://dmxsf.com/hi/glossary/#best-of-n), [Outcome reward model](https://dmxsf.com/hi/glossary/#orm)

### Shadow traffic

ऐसी तैनाती तकनीक जो वास्तविक अनुरोधों की प्रतिलिपि candidate को भेजती है जबकि उपयोगकर्ताओं को वर्तमान version के उत्तर मिलते हैं। यह candidate की latency, त्रुटियाँ और संसाधन उपयोग उजागर करती है, लेखन या billing प्रभाव अलग रखे हुए।

- पूरा पाठ पढ़ें: [LLM production evaluation: offline replay, canary rollout aur rollback](https://dmxsf.com/hi/wiki/evaluation/production-evaluation/)
- यह भी देखें: [Canary release](https://dmxsf.com/hi/glossary/#canary-release), [Goodput](https://dmxsf.com/hi/glossary/#goodput)

### Shared expert

DeepSeekMoE और DeepSeek-V3 का वह expert जिससे हर token बिना routing गुज़रता है। यह साझा ज्ञान रखता है और routed experts के बीच पुनरावृत्ति घटाता है; उसका आउटपुट सीधे परिणाम में जुड़ता है।

- पूरा पाठ पढ़ें: [Mixture of Experts (MoE): routing, load balancing व sparse activation](https://dmxsf.com/hi/wiki/architecture/mixture-of-experts/)
- शोधपत्र विश्लेषण: [DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model](https://dmxsf.com/hi/blog/deepseek-v2-strong-economical-efficient-mixture-of-experts/)
- यह भी देखें: [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe), [Router](https://dmxsf.com/hi/glossary/#router)

### Signal-to-noise ratio (SNR)

संकेत शक्ति का noise शक्ति पर अनुपात। Diffusion में यह noised नमूने में डेटा को noise से तुलना करता है: SNR(t) = ᾱ_t/(1−ᾱ_t), प्रायः decibels में; रेखीय DDPM schedule t=1 पर 40 dB से t=1000 पर लगभग −44 dB तक गिरता है। Noise-भविष्यवानी loss साफ़-नमूना loss का SNR से भारित रूप है, ताकि parameterization बस loss भारों में भिन्न हों।

- पूरा पाठ पढ़ें: [Diffusion aur flow matching](https://dmxsf.com/hi/wiki/multimodal/diffusion-and-flow-matching/)
- यह भी देखें: [Noise schedule](https://dmxsf.com/hi/glossary/#noise-schedule), [Denoising diffusion probabilistic model](https://dmxsf.com/hi/glossary/#ddpm)

### Silent data corruption (SDC)

हार्डवेयर कोई त्रुटि न बताए फिर भी ग़लत परिणाम गणना कर दे, ताकि डेटा गणना या स्थानांतरण में चुपचाप बदल जाए। बड़े पैमाने के प्रशिक्षण में यह crash से अधिक कठिन: काम चलता रहता है और त्रुटि gradients और checkpoints में घुस सकती है। Llama 3 के 54-दिन के failure log में 6 ऐसे अवरोध हैं, अप्रत्याशितों का 1.4%, जिन्हें paper संदिग्ध हार्डवेयर समस्याएँ गिनता है।

- शोधपत्र विश्लेषण: [The Llama 3 Herd of Models: data, scale and the engineering recipe of a 405B dense model](https://dmxsf.com/hi/blog/the-llama-3-herd-of-models/)
- यह भी देखें: [Checkpoint](https://dmxsf.com/hi/glossary/#checkpoint)

### Single-Pass mHC

DeepSeek-V4.1-Flash का mHC का पुनर्लेखन जो input-mixing coefficients को एक block खिसकाता है: block l, block l-1 के भविष्यवानी किए A से मिलता है, ताकि mixing वर्तमान block के coefficients की प्रतीक्षा न करे और हर residual tile एक बार पढ़ा जाए। Activation traffic Mega-mhc deployment kernel में (4n+4)d से सीमा (2n+2)d पर गिरती है; pre-training बहु-kernel code रखता है।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [Manifold-constrained hyper-connections](https://dmxsf.com/hi/glossary/#mhc), [Hyper-connections](https://dmxsf.com/hi/glossary/#hyper-connections)

### Singleton rate

वे तथ्यों (या prompts) का हिस्सा जो प्रशिक्षण डेटा में ठीक एक बार आते हैं, वही राशि जिससे Good-Turing विधि अनदेखे तथ्यों की प्रायिकता मात्रा आकलित करती है। Kalai और Vempala ने दिखाया कि बिना सीखने योग्य पैटर्न वाले मनमाने तथ्यों पर calibrated pretrained मॉडल को कम-से-कम लगभग इतने हिस्से पर ग़लती करनी ही होगी।

- अन्य नाम: Monofact rate
- पूरा पाठ पढ़ें: [Hallucination aur calibration: model vajah se pakka galat kaise bolta hai](https://dmxsf.com/hi/wiki/safety/hallucination-and-calibration/)
- यह भी देखें: [Hallucination](https://dmxsf.com/hi/glossary/#hallucination), [Calibration](https://dmxsf.com/hi/glossary/#calibration)

### Sink token

हर pre-training sample के आरंभ में एक समर्पित सीखने योग्य token, ताकि मॉडल अतिरिक्त attention किसी सामग्री token पर नहीं बल्कि उस पर उंडेले। StreamingLLM paper ने 160M parameters पर परखा: यह token और हाल का window स्थिर streaming perplexity देता है (18.01), जबकि साधारण मॉडल को 18.05 तक पहुँचने के लिए 4 आरंभिक tokens चाहिए; 7 zero-shot benchmarks में अंतर अधिकतम 1 अंक।

- अन्य नाम: Learnable sink
- शोधपत्र विश्लेषण: [StreamingLLM: Keep the First Few Tokens in the KV Cache and Sliding Windows Stop Breaking](https://dmxsf.com/hi/blog/efficient-streaming-language-models-with-attention-sinks/)
- यह भी देखें: [Attention sink](https://dmxsf.com/hi/glossary/#attention-sink), [SoftMax1](https://dmxsf.com/hi/glossary/#softmax-off-by-one), [StreamingLLM](https://dmxsf.com/hi/glossary/#streamingllm)

### Sinkhorn-balanced update

DeepSeek-V4.1-Flash का विशाल embedding, head और Engram matrices के लिए optimizer: Nesterov momentum के बाद अद्यतन matrix को K चरणों (paper में K=11) तक rows और columns में बारी-बारी L2 से normalize करके √n से गुणा किया जाता है, ताकि उसकी rows और columns का RMS दोनों लगभग 1 पर रहे। इसे एक momentum buffer चाहिए, जहाँ Adam दूसरा second-moment buffer जोड़ता।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [Sinkhorn-Knopp एल्गोरिद्म](https://dmxsf.com/hi/glossary/#sinkhorn-knopp), [AdamW](https://dmxsf.com/hi/glossary/#adamw), [Muon](https://dmxsf.com/hi/glossary/#muon)

### Sinkhorn-Knopp एल्गोरिद्म (Sinkhorn-Knopp algorithm)

ऐसा एल्गोरिद्म जो धनात्मक matrix की rows और columns को बारी-बारी normalize करता है जब तक वह doubly stochastic matrix में न बदले (Sinkhorn और Knopp, 1967)। सीमित पुनरावृत्तियों के बाद अंतिम चरण row normalization के साथ रोकने पर row-yोग सही और column-yोग अवशेष के साथ लगते हैं, जो पुनरावृत्ति संख्या और प्रविष्टि पैमाने पर निर्भर है। mHC घातांकित mixing logits पर 20 पुनरावृत्तियाँ चलाता है।

- अन्य नाम: Sinkhorn iteration
- शोधपत्र विश्लेषण: [mHC: Keeping a Wider Residual Stream Stable With Doubly Stochastic Mixing](https://dmxsf.com/hi/blog/mhc-manifold-constrained-hyper-connections/)
- यह भी देखें: [Doubly stochastic matrix](https://dmxsf.com/hi/glossary/#doubly-stochastic-matrix), [Manifold-constrained hyper-connections](https://dmxsf.com/hi/glossary/#mhc)

### Sinusoidal positional encoding

Transformer paper का नियत position encoding: dimension 2i के लिए sin(pos / 10000^(2i/d_model)) और dimension 2i+1 के लिए उसी कोण का cos, तरंगदैर्घ्य 2π से लगभग 10000·2π तक। हर sin-cos जोड़ी स्थिति के साथ घूमती है, ताकि PE(pos+k), PE(pos) का रेखीय फलन हो; paper ने अनुमान लगाया कि यह सापेक्ष स्थितियाँ सीखने और लंबे sequences तक फैलने में मदद करता है।

- पूरा पाठ पढ़ें: [Positional encoding विस्तार से (absolute से relative और RoPE तक)](https://dmxsf.com/hi/wiki/architecture/positional-encoding/)
- शोधपत्र विश्लेषण: [Attention Is All You Need: the Transformer, with self-attention instead of recurrence and convolution](https://dmxsf.com/hi/blog/attention-is-all-you-need/)
- यह भी देखें: [Positional encoding](https://dmxsf.com/hi/glossary/#positional-encoding), [Rotary position embedding](https://dmxsf.com/hi/glossary/#rope), [Length extrapolation](https://dmxsf.com/hi/glossary/#length-extrapolation)

### Sliding-window attention

हर token केवल हाल के w tokens पर ध्यान देता है, जिससे attention लागत O(n²) से O(n·w) हो जाती है; layers का ढेर सूचना को अप्रत्यक्ष रूप से और दूर ले जाने देता है। Mistral 7B में प्रयुक्त।

- यह भी देखें: [Self-attention](https://dmxsf.com/hi/glossary/#self-attention), [Context window](https://dmxsf.com/hi/glossary/#context-window), [Attention sink](https://dmxsf.com/hi/glossary/#attention-sink)

### Soft label

ऐसा प्रशिक्षण लक्ष्य जो कड़े 0 या 1 के बजाय प्रायिकता distribution हो। Distillation में वह teacher का आउटपुट distribution है; Constitutional AI में feedback model की दो विकल्पों की normalized probability, जो preference model प्रशिक्षित करती है। p जितना चरम हो, माँगा reward अंतर ln(p/(1-p)) उतना बड़ा होता है, इसलिऔ 0-या-1 के पास की chain-of-thought labels को 40-60% में काटा गया।

- शोधपत्र विश्लेषण: [Constitutional AI: Harmlessness from AI Feedback](https://dmxsf.com/hi/blog/constitutional-ai-harmlessness-from-ai-feedback/)
- यह भी देखें: [RLAIF](https://dmxsf.com/hi/glossary/#rlaif), [Bradley-Terry model](https://dmxsf.com/hi/glossary/#bradley-terry), [Distillation](https://dmxsf.com/hi/glossary/#distillation)

### Softmax

वह फलन जो वास्तविक संख्याओं के vector को 1 में जुड़ने वाली धनात्मक संख्याओं में बदलता है: softmax(z_i) = exp(z_i) / Σ_j exp(z_j)। स्कोर के बीच अंतर जितना बड़ा, वितरण उतना तीखा।

- पूरा पाठ पढ़ें: [Transformer attention तंत्र की शुरुआत](https://dmxsf.com/hi/wiki/architecture/attention-basics/)
- यह भी देखें: [Logits](https://dmxsf.com/hi/glossary/#logits), [Temperature](https://dmxsf.com/hi/glossary/#temperature), [Self-attention](https://dmxsf.com/hi/glossary/#self-attention)

### SoftMax1

हर बने भाजक में एक अतिरिक्त 1 वाला softmax variant: SoftMax1(x)_i = exp(x_i) / (1 + sum_j exp(x_j))। यह आगे ऐसा token जोड़ने के बराबर है जिसकी key और value शून्य हैं, इसलिए भारों का योग 1 से कम हो सकता है और head कहीं ध्यान न दे सकता। Evan Miller ने 2023 में प्रस्तावित किया; StreamingLLM इसे Zero Sink कहता है। OpenAI के gpt-oss में सीखा denominator bias है।

- अन्य नाम: SoftMax-off-by-one, Off-by-one attention
- शोधपत्र विश्लेषण: [StreamingLLM: Keep the First Few Tokens in the KV Cache and Sliding Windows Stop Breaking](https://dmxsf.com/hi/blog/efficient-streaming-language-models-with-attention-sinks/)
- यह भी देखें: [Softmax](https://dmxsf.com/hi/glossary/#softmax), [Attention sink](https://dmxsf.com/hi/glossary/#attention-sink), [Sink token](https://dmxsf.com/hi/glossary/#sink-token)

### Span corruption

Denoising pre-training उद्देश्य: लगभग 15% tokens चुने जाते हैं, लगातार चुने tokens की हर बारी एक अनोखे sentinel से बदली जाती है, और मॉडल गिराए गए spans लौटाता है। T5 औसत span लंबाई 3 रखता है; लक्ष्य स्वतंत्र token corruption से छोटे होते हैं, इसलिए प्रशिक्षण सस्ता।

- शोधपत्र विश्लेषण: [T5: transfer learning ki limits](https://dmxsf.com/hi/blog/t5-exploring-the-limits-of-transfer-learning/)
- यह भी देखें: [T5](https://dmxsf.com/hi/glossary/#t5), [Encoder-decoder मॉडल](https://dmxsf.com/hi/glossary/#encoder-decoder), [Next-token prediction](https://dmxsf.com/hi/glossary/#next-token-prediction)

### Sparse autoencoder (SAE)

ऐसा autoencoder जो मॉडल के activation को चौड़े, विरल vector में encode करके रेखीय decoder से फिर बनाता है, संपीड़ित activation को feature दिशाओं में तोड़ने के लिए। विरलता L1 penalty या TopK कट से आती है जो k सबसे बड़ी activations रखती है। कम पुनर्निर्माण त्रुटि इसका मतलब नहीं कि सच्चे features मिले, और metrics यादृच्छिक models से धोखा खा सकती हैं (Heap et al., 2025)।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Superposition](https://dmxsf.com/hi/glossary/#superposition), [Polysemanticity](https://dmxsf.com/hi/glossary/#polysemanticity), [Dead latent](https://dmxsf.com/hi/glossary/#dead-latent)

### Spearman-Brown formula (Spearman–Brown formula)

परीक्षा को n गुना लंबा करने के बाद उसकी भरोसेमंदी की भविष्यवाणी: ρ_n = nρ/(1+(n−1)ρ); उलटकर, लक्ष्य भरोसेमंदी ρ_t पाने में ρ_t(1−ρ)/(ρ(1−ρ_t)) गुने items लगते हैं। भरोसेमंदी परीक्षार्थियों के फैलाव पर निर्भर: वही 100 items, चौड़े फैले मॉडलों के pool की भरोसेमंदी 0.853 और पास के मॉडलों के pool की केवल 0.334।

- अन्य नाम: Test reliability
- पूरा पाठ पढ़ें: [Eval set banana: question sources, label quality aur question information](https://dmxsf.com/hi/wiki/evaluation/building-eval-sets/)
- यह भी देखें: [Confidence interval](https://dmxsf.com/hi/glossary/#confidence-interval), [Benchmark](https://dmxsf.com/hi/glossary/#benchmark)

### Speculative decoding

सस्ता draft model एक साथ कई tokens प्रस्तावित करता है और बड़ा मॉडल उन्हें समानांतर जाँचकर सही prefix स्वीकार करता है। आउटपुट distribution अकेले बड़े मॉडल जैसी ही रहती है, पर generation तेज़ होता है।

- पूरा पाठ पढ़ें: [Speculative decoding](https://dmxsf.com/hi/wiki/inference/speculative-decoding/)
- शोधपत्र विश्लेषण: [Fast Inference from Transformers via Speculative Decoding](https://dmxsf.com/hi/blog/speculative-decoding-fast-inference-from-transformers/)
- यह भी देखें: [Prefill और decode](https://dmxsf.com/hi/glossary/#prefill-decode), [Memory-bound](https://dmxsf.com/hi/glossary/#memory-bound), [Acceptance rate](https://dmxsf.com/hi/glossary/#acceptance-rate), [Draft model](https://dmxsf.com/hi/glossary/#draft-model)

### State space model (SSM)

ऐसा sequence model जो input को नियत आकार के hidden state की recurrence से बढ़ाता है, इसलिए inference पर प्रति चरण लागत sequence लंबाई पर निर्भर नहीं। Mamba में input पर निर्भर selection mechanism जुड़ता है।

- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- शोधपत्र विश्लेषण: [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://dmxsf.com/hi/blog/mamba-linear-time-sequence-modeling-with-selective-state-spaces/)
- यह भी देखें: [Mamba](https://dmxsf.com/hi/glossary/#mamba), [Linear attention](https://dmxsf.com/hi/glossary/#linear-attention), [Parallel scan](https://dmxsf.com/hi/glossary/#parallel-scan), [Hybrid architecture](https://dmxsf.com/hi/glossary/#hybrid-architecture)

### Stitching

Offline RL की एक क्षमता: कई घटिया trajectories के अच्छे खंडों को जोड़कर डेटा की किसी भी trajectory से बेहतर policy बनाना। Q-learning में यह है क्योंकि values states के पार फैलती हैं; पूरी trajectory के return पर शर्त रखने वाली विधियाँ, जैसे Decision Transformer, प्रायः इससे वंचित हैं, और QDT dynamic-programming परिणामों से returns दोबारा label करके यह जोड़ता है।

- शोधपत्र विश्लेषण: [Decision Transformer: Reinforcement Learning as Conditional Sequence Modeling](https://dmxsf.com/hi/blog/decision-transformer-reinforcement-learning-via-sequence-modeling/)
- यह भी देखें: [Offline RL](https://dmxsf.com/hi/glossary/#offline-rl), [Return-conditioned supervised learning](https://dmxsf.com/hi/glossary/#rcsl), [Decision Transformer](https://dmxsf.com/hi/glossary/#decision-transformer)

### Streamable HTTP

MCP का दूरस्थ transport: client JSON-RPC संदेश HTTP POST से भेजता है और server JSON या event stream से उत्तर देता है; HTTP+SSE के बदले 2025-03-26 संशोधन में पेश हुआ। 2026-07-28 संशोधन sessions हटाता है, MCP-Protocol-Version माँगता है, method और tool नाम Mcp-Method और Mcp-Name headers में झलकता है जिन्हें server जाँचे, और Origin validation माँगता है।

- पूरा पाठ पढ़ें: [MCP aur tool ecosystem: protocol kaise chalta hai, tools zyada hon to kya](https://dmxsf.com/hi/wiki/applications/mcp-and-tool-ecosystem/)
- यह भी देखें: [Model Context Protocol](https://dmxsf.com/hi/glossary/#mcp), [JSON-RPC](https://dmxsf.com/hi/glossary/#json-rpc)

### StreamingLLM

बिना fine-tuning चलने वाली KV-cache नीति: हमेशा पहले कुछ tokens (paper में 4, attention sinks) और हाल के tokens का sliding window रखो, बाकी निकाल दो, और cache के भीतर positions सौंपो। आकार नियत रहता है, इसलिए मॉडल असीमित टेक्स्ट पर नहीं टूटता, पर window से निकली बातें चली जाती हैं: यह context नहीं बढ़ाता और स्मृति नहीं मज़बूत करता। Xiao et al., ICLR 2024।

- अन्य नाम: Rolling KV cache with sinks
- पूरा पाठ पढ़ें: [Long context: स्थिति extrapolation, प्रशिक्षण नुस्खा व लागत](https://dmxsf.com/hi/wiki/architecture/long-context/)
- शोधपत्र विश्लेषण: [StreamingLLM: Keep the First Few Tokens in the KV Cache and Sliding Windows Stop Breaking](https://dmxsf.com/hi/blog/efficient-streaming-language-models-with-attention-sinks/)
- यह भी देखें: [Attention sink](https://dmxsf.com/hi/glossary/#attention-sink), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Sliding-window attention](https://dmxsf.com/hi/glossary/#sliding-window-attention), [SoftMax1](https://dmxsf.com/hi/glossary/#softmax-off-by-one), [Sink token](https://dmxsf.com/hi/glossary/#sink-token)

### Strided perplexity

Context window से लंबे टेक्स्ट को स्कोर देने का तरीका: उस पर ओवरलैप वाले windows फिसलाओ और हर window में केवल नए tokens गिनो, बाकी को context बनाओ। छोटा stride हर token को अधिक context और निम्न perplexity देता है, अधिक compute की लागत पर। यह पृष्ठ 1024 window और 512 stride उपयोग करता है, ताकि शुरुआत छोड़कर हर token के पास कम-से-कम 512 tokens context हों।

- अन्य नाम: Sliding-window perplexity
- पूरा पाठ पढ़ें: [भाषा मॉडलिंग से अगले टोकन की भविष्यवाणी तक](https://dmxsf.com/hi/wiki/foundations/next-token-prediction/)
- शोधपत्र विश्लेषण: [GPT-1, GPT-2, GPT-3: From Fine-Tuning to In-Context Learning, Recomputed from the Papers](https://dmxsf.com/hi/blog/gpt-series-evolution/)
- यह भी देखें: [Perplexity](https://dmxsf.com/hi/glossary/#perplexity), [Per-word perplexity](https://dmxsf.com/hi/glossary/#per-word-perplexity), [Context window](https://dmxsf.com/hi/glossary/#context-window)

### Strong-to-weak distillation

हर मॉडल पर पूरा post-training recipe चलाने के बजाय बड़े teacher के आउटपुट से छोटे मॉडल प्रशिक्षित करना। Qwen3 पहले teacher आउटपुटों पर फ़ाइन-ट्यून करता है (off-policy), फिर student को अपने उत्तर लिखने देकर teacher के logits से KL divergence घटाता है (on-policy)। 8B मॉडल के लिऔ paper 1,800 GPU घंटे रिपोर्ट करता है reinforcement learning के 17,920 के बदले।

- शोधपत्र विश्लेषण: [Qwen3 Technical Report](https://dmxsf.com/hi/blog/qwen3-technical-report/)
- यह भी देखें: [Distillation](https://dmxsf.com/hi/glossary/#distillation), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence), [Thinking mode](https://dmxsf.com/hi/glossary/#thinking-mode)

### Structured output

मॉडल के आउटपुट को JSON Schema या व्याकरण में बाँधना, प्रायः ऐसे constrained decoding से जो हर चरण पर format तोड़ने वाले tokens को mask कर देता है।

- पूरा पाठ पढ़ें: [Structured output aur function calling: JSON mode se constrained decoding tak](https://dmxsf.com/hi/wiki/applications/structured-output-and-function-calling/)
- यह भी देखें: [Constrained decoding](https://dmxsf.com/hi/glossary/#constrained-decoding), [JSON Schema](https://dmxsf.com/hi/glossary/#json-schema), [JSON mode](https://dmxsf.com/hi/glossary/#json-mode), [Function calling](https://dmxsf.com/hi/glossary/#function-calling)

### Suffix array

Sequence के सभी suffixes के आरंभिक स्थानों का क्रमबद्ध array। समान substrings पास आ जाते हैं, इसलिए एक रेखीय स्कैन दी गई लंबाई से अधिक हर दोहराया खंड खोज लेता है। Lee et al. (2022) ने इससे C4 में 50 या अधिक tokens की शब्दशः पुनरावृत्तियाँ खोजीं (ExactSubstr), उसके 7.18% tokens हटाए और पूरे-document वाली विधियों से छूटे प्रतिरूप पकड़े।

- पूरा पाठ पढ़ें: [Pretraining data engineering: छँटाई, dedup व मिश्रण](https://dmxsf.com/hi/wiki/pretraining/data-engineering/)
- यह भी देखें: [Deduplication](https://dmxsf.com/hi/glossary/#deduplication), [MinHash](https://dmxsf.com/hi/glossary/#minhash)

### Superficial Alignment Hypothesis (SAH)

LIMA पेपर (Zhou et al., 2023) की परिकल्पना कि मॉडल का लगभग सारा ज्ञान और क्षमता pretraining से आती है, और alignment प्रायः केवल उपयोगकर्ता को उत्तरने की शैली और format सिखाता है, इसलिऔ कुछ सोच-समझकर चुने उदाहरण काफ़ी हैं। यह परिकल्पना है, प्रमेय नहीं: नया मानचित्रण चाहने वाले कार्यों, जैसे वाक्यों को दर्जनों custom classes में बाँटना, में डेटा आकार अब भी मायने रखता है।

- पूरा पाठ पढ़ें: [SFT data ka nirman aur quality control](https://dmxsf.com/hi/wiki/post-training/sft-data/)
- यह भी देखें: [Supervised fine-tuning](https://dmxsf.com/hi/glossary/#sft), [Instruction tuning](https://dmxsf.com/hi/glossary/#instruction-tuning)

### Superposition

Network गैर-लांबिक दिशाओं में features रखकर अपने dimensions से अधिक features सँजोता है। जब features विरल और कभी-कभार साथ आते हैं, ReLU और bias हस्तक्षेप छान देते हैं, ताकि अतिरिक्त features रखना उन्हें गिराने से बेहतर रहे (Elhage et al., 2022)। फिर एक ही neuron कई असंबद्ध features पर प्रतिक्रिया करता है, इसलिऔ विश्लेषण की इकाई दिशा है, neuron नहीं।

- पूरा पाठ पढ़ें: [Mechanistic interpretability: superposition, SAE aur circuits](https://dmxsf.com/hi/wiki/frontier/interpretability/)
- यह भी देखें: [Polysemanticity](https://dmxsf.com/hi/glossary/#polysemanticity), [Sparse autoencoder](https://dmxsf.com/hi/glossary/#sparse-autoencoder)

### Supervised fine-tuning (SFT)

निर्देश और आदर्श-उत्तर जोड़ों पर pretraining जैसी ही next-token loss के साथ प्रशिक्षण जारी रखना (प्रायः केवल उत्तर पर गणना), ताकि मॉडल निर्देशों और बातचीत के format सीखे।

- पूरा पाठ पढ़ें: [SFT data ka nirman aur quality control](https://dmxsf.com/hi/wiki/post-training/sft-data/)
- यह भी देखें: [Instruction tuning](https://dmxsf.com/hi/glossary/#instruction-tuning), [Fine-tuning](https://dmxsf.com/hi/glossary/#fine-tuning), [Reinforcement learning from human feedback](https://dmxsf.com/hi/glossary/#rlhf)

### SWA Bounded Replay

DeepSeek-V4.1-Flash cache miss पर sliding-window KV कैसे फिर बनाता है। L layers का सही पुनर्निर्माण L×n_win replayed tokens चाहता है (यहाँ 40×128=5,120); Bounded Replay केवल अंतिम 128 replay करके window उस खंड तक सिमटा देता है, जिससे अनुमानित state बनता है जो cache hit की जगह पर निर्भर है। बदले में sliding-window KV स्थायी cache से बाहर हो जाती है। Paper कोई ablation नहीं देता।

- शोधपत्र विश्लेषण: [DeepSeek-V4.1-Flash: Getting the Global KV Cache Down to 890 Bytes per Token](https://dmxsf.com/hi/blog/deepseek-v41-flash-pushing-the-limits-of-kv-cache-compression/)
- यह भी देखें: [Sliding-window attention](https://dmxsf.com/hi/glossary/#sliding-window-attention), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Causal encoder-decoder](https://dmxsf.com/hi/glossary/#causal-encoder-decoder)

### SwiGLU

Gated FFN activation: SwiGLU(x) = (Swish(xW₁) ⊙ xW₃)W₂। यह साधारण ReLU या GELU FFN से बेहतर है और Llama, Qwen आदि में प्रयुक्त।

- पूरा पाठ पढ़ें: [आधुनिक मॉडल architecture: GPT-2 से Llama, Qwen व DeepSeek तक](https://dmxsf.com/hi/wiki/architecture/modern-llm-architecture/)
- यह भी देखें: [Feed-forward network](https://dmxsf.com/hi/glossary/#ffn)

### Switch layer

Switch Transformer की mixture-of-experts layer: router हर token के लिए ठीक एक expert चुनता है (top-1), और आउटपुट उस expert का आउटपुट router दी गई प्रायिकता से गुणा होकर आता है, ताकि router differentiable रहे। Top-2 routing से कम routing गणना और संचार चाहिए।

- अन्य नाम: Top-1 routing
- पूरा पाठ पढ़ें: [Mixture of Experts (MoE): routing, load balancing व sparse activation](https://dmxsf.com/hi/wiki/architecture/mixture-of-experts/)
- शोधपत्र विश्लेषण: [Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity](https://dmxsf.com/hi/blog/switch-transformers-scaling-to-trillion-parameter-models/)
- यह भी देखें: [Mixture of Experts](https://dmxsf.com/hi/glossary/#moe), [Router](https://dmxsf.com/hi/glossary/#router), [Capacity factor](https://dmxsf.com/hi/glossary/#capacity-factor), [Token dropping](https://dmxsf.com/hi/glossary/#token-dropping)

### symlog transform

symlog(x) = sign(x)·ln(|x|+1) शून्य के पास पहचान फलन के जैसा है और चिह्न बनाए रखते हुए बड़े मानों को लघांगीय रूप से सिमटाता है; इसका उलटा symexp(x) = sign(x)·(e^|x| − 1) है। DreamerV3 इसे vector observations और regression लक्ष्यों पर लगाता है ताकि network को पैमाने की चिंता न रहे और बड़े लक्ष्य विशाल gradients न बनाएँ।

- अन्य नाम: symexp
- शोधपत्र विश्लेषण: [DreamerV3: One Set of Hyperparameters for 150+ Tasks with a World-Model Agent](https://dmxsf.com/hi/blog/dreamerv3-mastering-diverse-domains-through-world-models/)
- यह भी देखें: [Twohot encoding](https://dmxsf.com/hi/glossary/#twohot-encoding), [Return normalization](https://dmxsf.com/hi/glossary/#return-normalization)

### Synthetic data

मॉडल या program से बना डेटा जिससे मॉडल प्रशिक्षित किया जाए: प्रबल मॉडल के उत्तर, मॉडल के खुद सेट किए-हल किए समस्याएँ, ज्ञात उत्तरों वाले programmatic समस्याएँ, फिर लिखे web पन्ने। यह सूचना केवल बाहरी छँटाई (verifier, प्रबल teacher, मानव चयन), ताज़ा वास्तविक डेटा या inductive bias से जोड़ता है; अन्यथा वह मॉडल की अपनी distribution की शोर भरी प्रति है।

- पूरा पाठ पढ़ें: [Synthetic data aur self-improvement](https://dmxsf.com/hi/wiki/frontier/synthetic-data-and-self-improvement/)
- यह भी देखें: [Self-training](https://dmxsf.com/hi/glossary/#self-training), [Model collapse](https://dmxsf.com/hi/glossary/#model-collapse), [Distillation](https://dmxsf.com/hi/glossary/#distillation), [Rejection sampling fine-tuning](https://dmxsf.com/hi/glossary/#rejection-sampling-finetuning), [Data mixture](https://dmxsf.com/hi/glossary/#data-mixture)

## T

### T5

Google के encoder-decoder मॉडलों का परिवार (60M से 11B parameters): हर NLP कार्य को टेक्स्ट अंदर, टेक्स्ट बाहर के रूप में लिखा जाता है; मॉडल C4 corpus पर span-corruption उद्देश्य से pre-trained होकर हर कार्य पर fine-tune किए जाते हैं।

- अन्य नाम: Text-to-Text Transfer Transformer
- शोधपत्र विश्लेषण: [T5: transfer learning ki limits](https://dmxsf.com/hi/blog/t5-exploring-the-limits-of-transfer-learning/)
- यह भी देखें: [Encoder-decoder मॉडल](https://dmxsf.com/hi/glossary/#encoder-decoder), [Span corruption](https://dmxsf.com/hi/glossary/#span-corruption), [Instruction tuning](https://dmxsf.com/hi/glossary/#instruction-tuning)

### Temperature

एक sampling parameter T जो softmax से पहले logits को भाग देता है। 1 से कम T वितरण को तीखा और आउटपुट को अधिक निश्चित बनाता है, 1 से ऊपर T उसे सपाट कर विविधता जोड़ता है, और 0 की ओर T greedy decoding के बराबर है।

- पूरा पाठ पढ़ें: [Decoding aur sampling: temperature, Top-k, Top-p aur beam search](https://dmxsf.com/hi/wiki/inference/decoding-and-sampling/)
- यह भी देखें: [Logits](https://dmxsf.com/hi/glossary/#logits), [Top-k sampling](https://dmxsf.com/hi/glossary/#top-k), [Top-p sampling](https://dmxsf.com/hi/glossary/#top-p), [Greedy decoding](https://dmxsf.com/hi/glossary/#greedy-decoding)

### Temperature scaling

सबसे सरल post-hoc calibration विधि: validation सेट पर एक स्केलर T फ़िट करो, softmax से पहले logits को T से भाग दो, और ऋणात्मक log-likelihood घटाओ। यह argmax अपरिवर्तित रखता है, इसलिऔ सटीकता नहीं बदलती केवल भरोसा बदलता है; Guo et al. (2017) ने इससे आधुनिक neural networks का अति-आत्मविश्वास सुधारा।

- पूरा पाठ पढ़ें: [Hallucination aur calibration: model vajah se pakka galat kaise bolta hai](https://dmxsf.com/hi/wiki/safety/hallucination-and-calibration/)
- यह भी देखें: [Calibration](https://dmxsf.com/hi/glossary/#calibration), [Temperature](https://dmxsf.com/hi/glossary/#temperature), [Softmax](https://dmxsf.com/hi/glossary/#softmax)

### Tensor Core

NVIDIA GPUs में छोटे matrix tiles पर multiply-accumulate के लिए समर्पित hardware इकाई, FP16, BF16 और FP8 जैसे कम-सटीक formats सहती है, सामान्य FP32 इकाइयों से बहुत ऊँची throughput के साथ। LLM प्रशिक्षण और inference के लगभग सारे matrix गुणन tensor cores पर चलते हैं, इसीलिऔ कम-सटीक formats गति खरीदते हैं।

- पूरा पाठ पढ़ें: [GPU और Roofline मॉडल: बड़े मॉडल अक्सर मेमोरी bandwidth पर क्यों अटकते हैं](https://dmxsf.com/hi/wiki/systems/gpu-and-roofline/)
- यह भी देखें: [Roofline model](https://dmxsf.com/hi/glossary/#roofline-model), [BF16](https://dmxsf.com/hi/glossary/#bf16), [FP8 training](https://dmxsf.com/hi/glossary/#fp8-training)

### Tensor parallelism

Layer के भीतर के बड़े matrices को कई devices में बाँटना जो साथ गणना करते हैं। संचार बार-बार होता है, इसलिए प्रायः एक ही मशीन के तेज़ interconnect वाले devices तक सीमित रखा जाता है।

- पूरा पाठ पढ़ें: [Distributed training का परिचय: data, tensor व pipeline parallelism](https://dmxsf.com/hi/wiki/pretraining/distributed-training/)
- यह भी देखें: [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism), [Pipeline parallelism](https://dmxsf.com/hi/glossary/#pipeline-parallelism)

### Tensor shape

Tensor के हर axis पर उसकी लंबाई। Shapes आकार बताते हैं, जबकि axes के अर्थ तय करते हैं कि indexing या reduction उचित है या नहीं।

- पूरा पाठ पढ़ें: [Python और टेन्सर के आकार: तालिका से रैखिक परत तक](https://dmxsf.com/hi/wiki/foundations/tensors-and-shapes/)

### Test-time compute

Inference पर अधिक गणना खर्च करना (लंबी तर्क-शृंखलाएँ, मतदान के साथ बार-बार sampling, खोज) बेहतर नतीजों के लिए, प्रशिक्षण बढ़ाने के विरुद्ध।

- पूरा पाठ पढ़ें: [Test-time compute: inference par kharch karna](https://dmxsf.com/hi/wiki/frontier/test-time-compute/)
- शोधपत्र विश्लेषण: [Scaling LLM Test-Time Compute Optimally: Spending Inference Compute by Difficulty Can Beat a Bigger Model](https://dmxsf.com/hi/blog/scaling-llm-test-time-compute-optimally-can-be-more-effective-than-scaling-model-parameters/)
- यह भी देखें: [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model), [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought)

### Thinking budget

Inference समय पर thinking tokens की संख्या की सीमा: जब thinking दहलीज़ पहुँचे, serving code उसे रोकता है, नियत समाप्ति वाक्य और end-of-thinking चिह्न डालता है, और मॉडल को अधूरे तर्क से उत्तर देने देता है। Qwen3 paper कहता है कि यह क्षमता स्पष्ट रूप से प्रशिक्षित नहीं हुई बल्कि thinking-mode fusion से उभरी। यह latency के बदले सटीकता खरीदता है।

- शोधपत्र विश्लेषण: [Qwen3 Technical Report](https://dmxsf.com/hi/blog/qwen3-technical-report/)
- यह भी देखें: [Thinking mode](https://dmxsf.com/hi/glossary/#thinking-mode), [Test-time compute](https://dmxsf.com/hi/glossary/#test-time-compute), [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model)

### Thinking mode

एक मॉडल को तय करने देना कि उत्तर से पहले लंबी तर्क-शृंखला लिखे या नहीं। Thinking mode में वह think block के भीतर तर्क करके उत्तर देता है; गैर-thinking mode में chat template उत्तर के आरंभ में खाली think block रखता है। Qwen3 template argument enable_thinking (कठोर) और उपयोगकर्ता संदेश में /think या /no_think (मुलायम, अंतिम चिह्न जीतता है) से बदलता है।

- अन्य नाम: Hybrid thinking
- शोधपत्र विश्लेषण: [Qwen3 Technical Report](https://dmxsf.com/hi/blog/qwen3-technical-report/)
- यह भी देखें: [Reasoning model](https://dmxsf.com/hi/glossary/#reasoning-model), [Thinking budget](https://dmxsf.com/hi/glossary/#thinking-budget), [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought), [Test-time compute](https://dmxsf.com/hi/glossary/#test-time-compute)

### Throughput

इकाई समय में बनाए गए tokens (या सँभाले गए अनुरोधों) की संख्या। प्रायः किसी एक अनुरोध की latency से सौदे में रहती है।

- पूरा पाठ पढ़ें: [LLM inference service: latency metrics, measurement aur engine selection](https://dmxsf.com/hi/wiki/inference/serving/)
- यह भी देखें: [Time to first token](https://dmxsf.com/hi/glossary/#ttft), [Continuous batching](https://dmxsf.com/hi/glossary/#continuous-batching)

### Time per output token (TPOT)

दो लगातार आउटपुट tokens के बीच का समय, जो टेक्स्ट के बहने की सुचारता तय करता है। End-to-end latency time to first token और इन अंतरालों के N−1 का जोड़ है। बड़ा batch हर चरण धीमा कर अंतराल लंबा कर देता है।

- अन्य नाम: ITL, Inter-token latency
- पूरा पाठ पढ़ें: [LLM inference service: latency metrics, measurement aur engine selection](https://dmxsf.com/hi/wiki/inference/serving/)
- यह भी देखें: [Time to first token](https://dmxsf.com/hi/glossary/#ttft), [Throughput](https://dmxsf.com/hi/glossary/#throughput), [Prefill और decode](https://dmxsf.com/hi/glossary/#prefill-decode)

### Time to first token (TTFT)

अनुरोध भेजने से पहला आउटपुट token मिलने तक का समय, प्रायः queueing और prefill से तय होता है।

- पूरा पाठ पढ़ें: [LLM inference service: latency metrics, measurement aur engine selection](https://dmxsf.com/hi/wiki/inference/serving/)
- यह भी देखें: [Prefill और decode](https://dmxsf.com/hi/glossary/#prefill-decode), [Throughput](https://dmxsf.com/hi/glossary/#throughput)

### Token

मॉडल जिस इकाई में टेक्स्ट पढ़ता और लिखता है: tokenizer से बना एक टुकड़ा, जो एक पूर्ण शब्द, शब्द का हिस्सा, एक अक्षर या एक byte हो सकता है। vocabulary में हर token का एक पूर्णांक id होता है।

- पूरा पाठ पढ़ें: [शब्द एम्बेडिंग और Tokenizer का सिद्धांत](https://dmxsf.com/hi/wiki/foundations/tokenizer-and-embeddings/)
- यह भी देखें: [Tokenizer](https://dmxsf.com/hi/glossary/#tokenizer), [Vocabulary](https://dmxsf.com/hi/glossary/#vocabulary), [Context window](https://dmxsf.com/hi/glossary/#context-window)

### Token dropping

जब MoE का किसी expert को capacity से अधिक tokens मिलें, तो अतिरिक्त tokens उस layer के हर expert को छोड़कर अपरिवर्तित residual connection से गुज़र जाते हैं। Switch Transformer रिपोर्ट करता है कि प्रशिक्षण में प्रायः 1% से कम tokens छोड़े जाते हैं।

- अन्य नाम: Expert overflow
- पूरा पाठ पढ़ें: [Mixture of Experts (MoE): routing, load balancing व sparse activation](https://dmxsf.com/hi/wiki/architecture/mixture-of-experts/)
- शोधपत्र विश्लेषण: [Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity](https://dmxsf.com/hi/blog/switch-transformers-scaling-to-trillion-parameter-models/)
- यह भी देखें: [Capacity factor](https://dmxsf.com/hi/glossary/#capacity-factor), [Expert load balancing](https://dmxsf.com/hi/glossary/#load-balancing), [Residual connection](https://dmxsf.com/hi/glossary/#residual-connection)

### Token passthrough

MCP server का client से ऐसा access token स्वीकार करना जो server को जारी नहीं हुआ था, और उसे अपरिवर्तित downstream API को भेजना। यह audience जाँच, rate limits और auditing को टाल जाता है, इसलिऔ downstream यह नहीं बता सकता कि सच में कौन बुला रहा है। Specification इसे मना करती है: server केवल स्पष्ट रूप से उसे जारी tokens ही स्वीकार कर सकता है।

- पूरा पाठ पढ़ें: [MCP aur tool ecosystem: protocol kaise chalta hai, tools zyada hon to kya](https://dmxsf.com/hi/wiki/applications/mcp-and-tool-ecosystem/)
- यह भी देखें: [Model Context Protocol](https://dmxsf.com/hi/glossary/#mcp), [Confused deputy](https://dmxsf.com/hi/glossary/#confused-deputy)

### Tokenizer

वह घटक जो टेक्स्ट को tokens में काटता है, उन्हें पूर्णांक ids में बदलता है और ids को वापस टेक्स्ट में लौटाता है। सामान्य एल्गोरिद्म BPE, WordPiece और Unigram हैं।

- पूरा पाठ पढ़ें: [शब्द एम्बेडिंग और Tokenizer का सिद्धांत](https://dmxsf.com/hi/wiki/foundations/tokenizer-and-embeddings/)
- यह भी देखें: [Token](https://dmxsf.com/hi/glossary/#token), [Byte-pair encoding](https://dmxsf.com/hi/glossary/#bpe), [Vocabulary](https://dmxsf.com/hi/glossary/#vocabulary)

### Toolformer

Meta AI और साझेदारों का 2023 का self-supervised tool-learning तरीका: 6.7B-parameter GPT-J साधारण टेक्स्ट में API कॉल लिखता है, कॉल चलाए जाते हैं, केवल वही रखे जाते हैं जिनका नतीजा अगले tokens के भारित cross entropy साफ़ घटाता है, और मॉडल रखे टेक्स्ट पर फ़ाइन-ट्यून होता है। Tools: calculator, प्रश्न-उत्तर, Wikipedia खोज, अनुवाद, calendar।

- पूरा पाठ पढ़ें: [Structured output aur function calling: JSON mode se constrained decoding tak](https://dmxsf.com/hi/wiki/applications/structured-output-and-function-calling/)
- शोधपत्र विश्लेषण: [Toolformer: Language Models Can Teach Themselves to Use Tools](https://dmxsf.com/hi/blog/toolformer-self-supervised-tool-use-for-language-models/)
- यह भी देखें: [Function calling](https://dmxsf.com/hi/glossary/#function-calling), [ReAct](https://dmxsf.com/hi/glossary/#react), [Toolformer filter](https://dmxsf.com/hi/glossary/#toolformer-filter)

### Toolformer filter

Toolformer sample किए API कॉलों में से कौन रखे, उसका नियम: L+ अगले पाँच tokens का भारित cross entropy है जिसमें कॉल और उसका नतीजा टेक्स्ट से पहले रखा गया; L- बिना कॉल और कॉल-बिना-नतीजे वाले losses में छोटा है। कॉल तभी रखी जाती है जब L- घटा L+ दहलीज़ तक पहुँचे। नियम फ़ाइन-ट्यून होने वाले मॉडल के आपेक्षिक है।

- शोधपत्र विश्लेषण: [Toolformer: Language Models Can Teach Themselves to Use Tools](https://dmxsf.com/hi/blog/toolformer-self-supervised-tool-use-for-language-models/)
- यह भी देखें: [Toolformer](https://dmxsf.com/hi/glossary/#toolformer), [Cross-entropy](https://dmxsf.com/hi/glossary/#cross-entropy), [Perplexity](https://dmxsf.com/hi/glossary/#perplexity)

### Top-k sampling

केवल k सबसे संभावित candidates रखना, उन्हें फिर से normalize करके उनमें से sampling करना, जिससे अविश्वसनीय लंबी पूँछ कट जाती है।

- पूरा पाठ पढ़ें: [Decoding aur sampling: temperature, Top-k, Top-p aur beam search](https://dmxsf.com/hi/wiki/inference/decoding-and-sampling/)
- यह भी देखें: [Top-p sampling](https://dmxsf.com/hi/glossary/#top-p), [Temperature](https://dmxsf.com/hi/glossary/#temperature)

### Top-p sampling (Top-p (nucleus) sampling)

सबसे छोटे candidates-सेट से sampling, जिसकी संचयी प्रायिकता p तक पहुँच जाए, ताकि candidates की संख्या वितरण की तीखेपन के अनुसार बदले। Holtzman et al. ने 2019 में प्रस्तावित किया।

- अन्य नाम: Nucleus sampling
- पूरा पाठ पढ़ें: [Decoding aur sampling: temperature, Top-k, Top-p aur beam search](https://dmxsf.com/hi/wiki/inference/decoding-and-sampling/)
- यह भी देखें: [Top-k sampling](https://dmxsf.com/hi/glossary/#top-k), [Temperature](https://dmxsf.com/hi/glossary/#temperature)

### Training data extraction

हमलावर का केवल मॉडल से पूछकर प्रशिक्षण सेट के अंश निकालना। Carlini et al. (2020) ने GPT-2 से सैकड़ों शब्दशः sequences निकाले, जिनमें फ़ोन नंबर और ईमेल थे, हर एक केवल एक प्रशिक्षण document में; Nasr et al. (2023) का divergence attack ChatGPT से प्रशिक्षण डेटा सामान्य से 150 गुना दर पर निकलवाता है।

- अन्य नाम: Extraction attack
- पूरा पाठ पढ़ें: [Memorization aur privacy](https://dmxsf.com/hi/wiki/safety/memorization-and-privacy/)
- यह भी देखें: [Memorization](https://dmxsf.com/hi/glossary/#memorization), [Membership inference](https://dmxsf.com/hi/glossary/#membership-inference), [Extractable memorization](https://dmxsf.com/hi/glossary/#extractable-memorization)

### Transformer

अटेंशन के इर्द-गिर्द बनी, residual connections और normalization के साथ ढेर की गई neural network architecture। Vaswani et al. के 2017 पेपर Attention Is All You Need में प्रस्तुत; लगभग हर आधुनिक LLM की नींव यही है।

- पूरा पाठ पढ़ें: [Transformer attention तंत्र की शुरुआत](https://dmxsf.com/hi/wiki/architecture/attention-basics/)
- शोधपत्र विश्लेषण: [Attention Is All You Need: the Transformer, with self-attention instead of recurrence and convolution](https://dmxsf.com/hi/blog/attention-is-all-you-need/)
- यह भी देखें: [Self-attention](https://dmxsf.com/hi/glossary/#self-attention), [Decoder-only मॉडल](https://dmxsf.com/hi/glossary/#decoder-only), [Encoder-decoder मॉडल](https://dmxsf.com/hi/glossary/#encoder-decoder)

### Trust region policy optimization (TRPO)

Policy optimization एल्गोरिद्म (Schulman et al., 2015) जो हर अद्यतन में नई और पुरानी policy के बीच KL को दहलीज़ δ से नीचे रखने को माँगता है, ताकि एक चरण प्रदर्शन न बर्बाद कर दे। शर्त हल करने के लिए लगभग द्वितीय-कोटि विधि (conjugate gradient) चाहिए; PPO ने उसे केवल प्रथम-कोटि अनुकूलन चाहने वाले clipped objective से बदला।

- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- यह भी देखें: [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo), [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence)

### Twohot encoding

सतत स्केलर को bins पर soft label के रूप में अंकित करना: केवल दो निकटतम bins शून्येतर होते हैं, भार दूरी के अनुसार रेखीय होकर 1 में जुड़ते हैं। DreamerV3 का reward head और critic चरघातांकी दूरी पर बँटे bins पर softmax देते हैं, cross-entropy से प्रशिक्षित होकर expectation के रूप में पढ़े जाते हैं, ताकि gradient आकार लक्ष्य के परिमाण पर न निर्भर हो और बहुरूपी यादृच्छिक लक्ष्य फिट हो जाएँ।

- अन्य नाम: symexp twohot loss
- शोधपत्र विश्लेषण: [DreamerV3: One Set of Hyperparameters for 150+ Tasks with a World-Model Agent](https://dmxsf.com/hi/blog/dreamerv3-mastering-diverse-domains-through-world-models/)
- यह भी देखें: [symlog transform](https://dmxsf.com/hi/glossary/#symlog), [Cross-entropy](https://dmxsf.com/hi/glossary/#cross-entropy), [Softmax](https://dmxsf.com/hi/glossary/#softmax)

### Typographic attack

Image पर शब्द लिखना ताकि image classifier उस शब्द की class पर बदल जाए। CLIP images के भीतर का टेक्स्ट पढ़ सकता है, और टेक्स्ट प्रायः उसकी प्रतिनिधित्व में तस्वीर से भारी होता है, इसलिऔ दूसरी class का नाम लिखा नोट उसे ग़लत उत्तर करवा देता है। OpenAI का 2021 लेख Multimodal Neurons in Artificial Neural Networks इस घटना को दिखाकर नाम दिया।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- शोधपत्र विश्लेषण: [CLIP: Learning Transferable Visual Models From Natural Language Supervision](https://dmxsf.com/hi/blog/clip-learning-transferable-visual-models/)
- यह भी देखें: [CLIP](https://dmxsf.com/hi/glossary/#clip), [Zero-shot](https://dmxsf.com/hi/glossary/#zero-shot)

## U

### U-Net

सिकुड़ते और फैलते रास्तों वाला pixel-भविष्यवानी network जिन्हें skip connections जोड़ते हैं। ऊँचे-विभेदन features segmentation और diffusion backbones में स्थानिक विवरण लौटाते हैं।

- शोधपत्र विश्लेषण: [U-Net: Convolutional Networks for Biomedical Image Segmentation](https://dmxsf.com/hi/blog/u-net-convolutional-networks-for-biomedical-image-segmentation/)

## V

### Value function

V(s): वर्तमान policy जारी रहे तो state s (prompt और अब तक बना prefix) से अपेक्षित return। उसे फ़िट करने वाला neural network critic है। PPO उसे baseline और GAE के लिए लेता है, policy जितने बड़े एक और मॉडल की लागत पर; GRPO और RLOO उसके बजाय group के दूसरे उत्तरों के rewards उपयोग करते हैं।

- अन्य नाम: Critic
- पूरा पाठ पढ़ें: [RL fundamentals: policy gradient, advantage estimation aur PPO](https://dmxsf.com/hi/wiki/post-training/rl-fundamentals/)
- यह भी देखें: [Advantage](https://dmxsf.com/hi/glossary/#advantage), [Generalized advantage estimation](https://dmxsf.com/hi/glossary/#gae), [Proximal policy optimization](https://dmxsf.com/hi/glossary/#ppo), [Group relative policy optimization](https://dmxsf.com/hi/glossary/#grpo)

### Vanishing gradient

Backpropagation कई layers (या कई समय चरणों) के Jacobians गुणा करता है; उनके norms 1 से नीचे हों तो gradient चरघातांकी रूप से गिरता और पहली layers लगभग कुछ नहीं सीखतीं, ऊपर हों तो फट जाता है। Residual connections, gating, normalization और अच्छी initialization गायब gradients लड़ती हैं; gradient clipping प्रायः फटने का उपाय है।

- अन्य नाम: Exploding gradient
- पूरा पाठ पढ़ें: [RNN से attention तक: Transformer क्यों उभरा](https://dmxsf.com/hi/wiki/architecture/from-rnn-to-attention/)
- यह भी देखें: [Recurrent neural network](https://dmxsf.com/hi/glossary/#rnn), [Long short-term memory](https://dmxsf.com/hi/glossary/#lstm), [Residual connection](https://dmxsf.com/hi/glossary/#residual-connection), [Gradient clipping](https://dmxsf.com/hi/glossary/#gradient-clipping)

### Variational autoencoder (VAE)

ऐसा generative model जो input को Gaussian के माध्य और प्रसरण में encode करता है, उसमें से latent sample करके वापस decode करता है; loss में पुनर्निर्माण त्रुटि और एक KL term जुड़ता है जो posterior को prior के पास रखता है। मिला हुआ निम्न-विमीय latent सुचार और सतत होता है, और प्रायः दूसरे मॉडलों के लिए सिमटी हुई प्रतिनिधित्व के रूप में इस्तेमाल होता है।

- शोधपत्र विश्लेषण: [World Models: Compress the World into a Generative Model and Let the Agent Train in Its Own Dream](https://dmxsf.com/hi/blog/world-models-ha-schmidhuber/)
- यह भी देखें: [KL divergence](https://dmxsf.com/hi/glossary/#kl-divergence)

### Variational autoencoder

Latent-variable generative model जो अनुमानित posterior encoder, decoder और ELBO से प्रशिक्षित होता है। Reparameterization यादृच्छिक sampling को differentiable बनाता है।

- अन्य नाम: VAE
- शोधपत्र विश्लेषण: [VAE: Reparameterized variational inference for generative modeling](https://dmxsf.com/hi/blog/auto-encoding-variational-bayes/)

### Vector database

Embedding vectors सँजोने और लगभग-निकटतम पड़ोसी (ANN) खोज सहने वाला database, RAG का सामान्य retrieval backend।

- पूरा पाठ पढ़ें: [RAG system banane ka hands-on guide](https://dmxsf.com/hi/wiki/applications/rag/)
- यह भी देखें: [Retrieval-augmented generation](https://dmxsf.com/hi/glossary/#rag), [Embedding](https://dmxsf.com/hi/glossary/#embedding)

### Vision Transformer (ViT)

ऐसा मॉडल जो image को नियत आकार के patches में काटकर हर patch को सपाट कर रेखीय रूप से vector में बदलता है और इन्हें tokens की तरह Transformer को देता है। Patches की संख्या (H/P)(W/P) होती है, और self-attention की लागत उसके वर्ग के अनुसार बढ़ती है। अधिकांश vision-language models vision encoder के रूप में ViT लेते हैं।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- शोधपत्र विश्लेषण: [ViT: An Image Is Worth 16x16 Words, Fed Straight to a Transformer](https://dmxsf.com/hi/blog/vit-an-image-is-worth-16x16-words/)
- यह भी देखें: [Visual token](https://dmxsf.com/hi/glossary/#visual-token), [Transformer](https://dmxsf.com/hi/glossary/#transformer), [CLIP](https://dmxsf.com/hi/glossary/#clip)

### Vision-language model (VLM)

ऐसा मॉडल जो images और टेक्स्ट को साथ समझता है, प्रायः vision encoder, connector और भाषा मॉडल से बना; LLaVA इसका प्रतिनिधि उदाहरण है।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- शोधपत्र विश्लेषण: [LLaVA: Visual Instruction Tuning](https://dmxsf.com/hi/blog/llava-visual-instruction-tuning/)
- यह भी देखें: [CLIP](https://dmxsf.com/hi/glossary/#clip), [Cross-attention](https://dmxsf.com/hi/glossary/#cross-attention)

### Vision-language-action model (VLA)

Camera images और टेक्स्ट निर्देश अंदर जाते हैं, robot क्रियाएँ बाहर आती हैं। RT-2 क्रियाओं को tokens में अंकित कर web image-text डेटा के साथ फ़ाइन-ट्यून करता है; बाद के मॉडल सतत action heads (diffusion या flow matching) लेते हैं। VLA अपने vision-language model का सांकेतिक ज्ञान पाता है, पर प्रशिक्षण डेटा में न आई चालें नहीं सीखता।

- शोधपत्र विश्लेषण: [RT-2: Transferring Web Knowledge to Robot Control with a Vision-Language-Action Model](https://dmxsf.com/hi/blog/rt-2-vision-language-action-models-transfer-web-knowledge-to-robotic-control/)
- यह भी देखें: [Vision-language model](https://dmxsf.com/hi/glossary/#vlm), [Action tokenization](https://dmxsf.com/hi/glossary/#action-tokenization), [Behavior cloning](https://dmxsf.com/hi/glossary/#behavior-cloning)

### Visual instruction tuning

Multimodal मॉडल को (image, निर्देश, उत्तर) तिकड़ियों पर फ़ाइन-ट्यून करना ताकि वह image के बारे में उपयोगकर्ता के कहे काम करे, केवल वर्णन करने के बजाय। LLaVA की विधि: हर COCO image को captions और bounding boxes से लिखवाकर, केवल-टेक्स्ट GPT-4 से 158K बातचीत, विस्तृत-वर्णन और जटिल-तर्क नमूने बनवाकर, भाषा मॉडल को projector के साथ ट्यून करना।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- शोधपत्र विश्लेषण: [LLaVA: Visual Instruction Tuning](https://dmxsf.com/hi/blog/llava-visual-instruction-tuning/)
- यह भी देखें: [Instruction tuning](https://dmxsf.com/hi/glossary/#instruction-tuning), [Vision-language model](https://dmxsf.com/hi/glossary/#vlm), [Projector](https://dmxsf.com/hi/glossary/#projector), [CLIP](https://dmxsf.com/hi/glossary/#clip)

### Visual token

Image के vision encoder, मिलान और projection से गुज़रने के बाद भाषा मॉडल में जाने वाले vectors। टेक्स्ट tokens जैसे ही ये context window और KV cache घेरते हैं, और उनकी संख्या image resolution के साथ बढ़ती है।

- अन्य नाम: Image token
- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- यह भी देखें: [Vision Transformer](https://dmxsf.com/hi/glossary/#vit), [Projector](https://dmxsf.com/hi/glossary/#projector), [KV cache](https://dmxsf.com/hi/glossary/#kv-cache), [Context window](https://dmxsf.com/hi/glossary/#context-window)

### Vocabulary

Tokenizer के ज्ञात सभी tokens और उनके ids का पूरा सेट। इसका आकार embedding matrix और output layer का आकार तय करता है; आधुनिक मॉडलों में प्रविष्टियाँ हज़ारों से लाखों तक होती हैं।

- यह भी देखें: [Token](https://dmxsf.com/hi/glossary/#token), [Tokenizer](https://dmxsf.com/hi/glossary/#tokenizer), [Embedding](https://dmxsf.com/hi/glossary/#embedding)

## W

### WebText

GPT-2 का प्रशिक्षण corpus: कम से कम 3 karma पाने वाली Reddit पोस्टों से जुड़े पन्ने (लगभग 45 लाख लिंक), टेक्स्ट निकाला, दोहराव हटाया, heuristic से साफ़ किया, और सारे Wikipedia documents हटाए। Paper में उपयोग प्रारंभिक version दिसंबर 2017 के बाद के लिंक नहीं रखता और उसमें थोड़े 80 लाख से अधिक documents, 40 GB टेक्स्ट हैं। Karma गुणवत्ता के मानव चयन का बदला है।

- पूरा पाठ पढ़ें: [बड़े मॉडल की प्रशिक्षण pipeline का पूरा दृश्य](https://dmxsf.com/hi/wiki/pretraining/training-pipeline/)
- शोधपत्र विश्लेषण: [GPT-1, GPT-2, GPT-3: From Fine-Tuning to In-Context Learning, Recomputed from the Papers](https://dmxsf.com/hi/blog/gpt-series-evolution/)
- यह भी देखें: [Generative Pre-trained Transformer](https://dmxsf.com/hi/glossary/#gpt), [Byte-pair encoding](https://dmxsf.com/hi/glossary/#bpe), [Benchmark contamination](https://dmxsf.com/hi/glossary/#contamination)

### WordPiece

Subword segmentation एल्गोरिद्म जो vocabulary को अक्षरों से बढ़ाता है, हर चरण वह जोड़ी मिलाते हुए जो प्रशिक्षण corpus की भाषा-मॉडल likelihood सबसे बढ़ाती है (BPE आवृत्ति से मिलाता है)। जो टुकड़े शब्द की शुरुआत नहीं करते उन पर ## prefix होता है, ताकि playing के play और ##ing बनें। BERT लगभग 30,000 प्रविष्टियों का WordPiece vocabulary रखता है।

- पूरा पाठ पढ़ें: [शब्द एम्बेडिंग और Tokenizer का सिद्धांत](https://dmxsf.com/hi/wiki/foundations/tokenizer-and-embeddings/)
- शोधपत्र विश्लेषण: [BERT: pre-training a bidirectional Transformer by filling in masked words, then one thin output layer per task](https://dmxsf.com/hi/blog/bert-pre-training-of-deep-bidirectional-transformers/)
- यह भी देखें: [Byte-pair encoding](https://dmxsf.com/hi/glossary/#bpe), [Tokenizer](https://dmxsf.com/hi/glossary/#tokenizer), [BERT](https://dmxsf.com/hi/glossary/#bert)

### World model

पर्यावरण क्रियाओं के अधीन कैसे बदलता है, इसका सीखा हुआ भविष्यवानी मॉडल: वर्तमान observation (प्रायः latent में सिमटा हुआ) और क्रिया देखकर अगला observation, reward या समाप्ति भविष्यवानी करता है। Agent कम वास्तविक अंतःक्रियाओं में कल्पना में योजना या policy प्रशिक्षण कर सकता है; जोखिम यह कि policy मॉडल की त्रुटियों का फ़ायदा उठाकर कल्पना में अच्छा करे पर वास्तविकता में फेल हो जाए।

- पूरा पाठ पढ़ें: [World models और planning: state का पूर्वानुमान से closed-loop control तक](https://dmxsf.com/hi/wiki/multimodal/world-models/)
- शोधपत्र विश्लेषण: [World Models: Compress the World into a Generative Model and Let the Agent Train in Its Own Dream](https://dmxsf.com/hi/blog/world-models-ha-schmidhuber/)

## X

### Xavier initialization

प्रारंभिक weight प्रसरण layer के input और output आकारों से सेट करना (2/(fan_in+fan_out)) ताकि activation और gradient प्रसरण layers के पार लगभग स्थिर रहें और गहरे network गायब या फटे gradients से शुरू न हों। Glorot और Bengio (2010) ने प्रस्तावित किया; ReLU के लिए He initialization 2/fan_in उपयोग करता है।

- अन्य नाम: Glorot initialization
- पूरा पाठ पढ़ें: [न्यूरल नेटवर्क की मूल बातें: रैखिक परत से backpropagation तक](https://dmxsf.com/hi/wiki/foundations/neural-network-basics/)
- यह भी देखें: [Backpropagation](https://dmxsf.com/hi/glossary/#backpropagation), [Vanishing gradient](https://dmxsf.com/hi/glossary/#vanishing-gradient)

## Y

### YaRN

RoPE context-extension विधि जो dimension जोड़ों को प्रशिक्षण लंबाई के भीतर घूर्णनों की संख्या के अनुसार बाँटती है: तेज़ जोड़े जैसे हैं वैसे रखे जाते हैं, एक घूर्णन से कम वालों को s से भाग दिया जाता है, बीच के रेखीय रूप से मिलाए जाते हैं। यह attention logits को 0.1·ln s + 1 से भी गुणा करता है। Peng et al. ने 2023 में प्रस्तावित किया; DeepSeek-V3 इससे 128K window तक पहुँचता है।

- अन्य नाम: Yet another RoPE extensioN
- पूरा पाठ पढ़ें: [Long context: स्थिति extrapolation, प्रशिक्षण नुस्खा व लागत](https://dmxsf.com/hi/wiki/architecture/long-context/)
- शोधपत्र विश्लेषण: [YaRN: Extending RoPE Models to a 128K Context Window with Light Fine-Tuning](https://dmxsf.com/hi/blog/yarn-efficient-context-window-extension-of-large-language-models/)
- यह भी देखें: [Position interpolation](https://dmxsf.com/hi/glossary/#position-interpolation), [Rotary position embedding](https://dmxsf.com/hi/glossary/#rope), [Context window](https://dmxsf.com/hi/glossary/#context-window)

## Z

### ZeRO

DeepSpeed की data parallelism के लिए स्मृति अनुकूलन: optimizer states, gradients और parameters को क्रमशः devices में बाँटा जाता है, हर device के पास पूरी प्रति रखने के बजाय।

- पूरा पाठ पढ़ें: [Distributed training का परिचय: data, tensor व pipeline parallelism](https://dmxsf.com/hi/wiki/pretraining/distributed-training/)
- शोधपत्र विश्लेषण: [ZeRO: Partition the Model States Across GPUs So Data Parallelism Can Hold 100B+ Parameters](https://dmxsf.com/hi/blog/zero-memory-optimizations-toward-training-trillion-parameter-models/)
- यह भी देखें: [Data parallelism](https://dmxsf.com/hi/glossary/#data-parallelism), [Mixed-precision training](https://dmxsf.com/hi/glossary/#mixed-precision)

### Zero-order hold discretization

सतत-समय state space parameters (Δ, A, B) को यह मानकर discrete पुनरावृत्ति parameters में बदलने का नियम कि input हर चरण Δ के दौरान स्थिर रहे: Ā = exp(ΔA) और B̄ = (ΔA)⁻¹(exp(ΔA) − I)·ΔB। Mamba paper का प्रमेय 1 इसी नियम के अधीन सही है (selective SSM gated RNN के बराबर); आधिकारिक code वास्तव में सरल B̄ = ΔB, पहली-कोटि Euler approximation, उपयोग करता है।

- अन्य नाम: ZOH
- पूरा पाठ पढ़ें: [State space model व hybrid architecture: नियत state से KV Cache हटाना](https://dmxsf.com/hi/wiki/architecture/state-space-and-hybrid/)
- शोधपत्र विश्लेषण: [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://dmxsf.com/hi/blog/mamba-linear-time-sequence-modeling-with-selective-state-spaces/)
- यह भी देखें: [State space model](https://dmxsf.com/hi/glossary/#ssm), [Selection mechanism](https://dmxsf.com/hi/glossary/#selection-mechanism)

### Zero-shot

बिना कोई उदाहरण और बिना कार्य-विशिष्ट प्रशिक्षण काम करना। उदाहरण: CLIP किसी image को classify करने के लिऔ class नामों को वाक्यों में लिखकर देखता है कि किसका vector image से सबसे पास है।

- पूरा पाठ पढ़ें: [Multimodal LLM: image kaise token banti hai](https://dmxsf.com/hi/wiki/multimodal/multimodal-llms/)
- यह भी देखें: [CLIP](https://dmxsf.com/hi/glossary/#clip), [Few-shot prompting](https://dmxsf.com/hi/glossary/#few-shot), [In-context learning](https://dmxsf.com/hi/glossary/#in-context-learning)

### Zero-shot chain of thought

प्रश्न के बाद केवल चलो चरण दर चरण सोचें जोड़ना, बिना कोई उदाहरण, चरण-दर-चरण तर्क उभारने के लिए (Kojima et al., 2022)। मूल विधि दो चरण: पहले मॉडल को तर्क लिखने दो, फिर दूसरे prompt से अंतिम उत्तर निकालो। हाथ से लिखे few-shot chain of thought से प्रायः कमज़ोर है, पर उदाहरण लिखने की लागत बचाता है।

- पूरा पाठ पढ़ें: [Prompt engineering: spec se message tak](https://dmxsf.com/hi/wiki/applications/prompt-engineering/)
- शोधपत्र विश्लेषण: [Chain-of-thought prompting: exemplars with intermediate steps let large models solve multi-step problems](https://dmxsf.com/hi/blog/chain-of-thought-prompting/)
- यह भी देखें: [Chain of thought](https://dmxsf.com/hi/glossary/#chain-of-thought), [Zero-shot](https://dmxsf.com/hi/glossary/#zero-shot), [Self-consistency](https://dmxsf.com/hi/glossary/#self-consistency)
