मुख्य सामग्री पर जाएँ

कोड जनरेशन

विवरण से चलने योग्य कोड लिखना

इनपुटटेक्स्टकोड

यह पृष्ठ अंग्रेज़ी में प्रस्तुत है; शीर्षक और सारांश का स्थानीयकरण किया गया है।

यह क्षमता क्या है

Takes a description — write a function that reads a CSV into a list of dicts and skips blank lines — and outputs the corresponding source. Unlike code completion it targets a new feature or a whole piece of logic, usually written from scratch; unlike reasoning the deliverable is compilable, runnable code rather than a textual conclusion.

तकनीकी रूप से कैसे

The base is a language model pre-trained on large code corpora; strict syntax makes code easier to verify by execution than prose, so unit-test pass signals work well as reward for reinforcement learning or rejection-sampling fine-tuning. Training and evaluation use problems with test cases such as HumanEval and MBPP, and generation can sample several candidates and discard the ones that fail.

प्रतिनिधि उत्पाद

11

OpenAI

GPT-4o

मूल रूप से बहुविध सामान्य मॉडल — पाठ, चित्र और ऑडियो एक ही द्वार से

4क्षमता
मॉडल बंद स्रोत
टेक्स्टइमेजऑडियोटेक्स्टऑडियो
2024

Anthropic

Claude

लंबे संदर्भ और सुरक्षा-संरेखण के लिए जाना जाने वाला सामान्य संवाद मॉडल

4क्षमता
मॉडल बंद स्रोत
टेक्स्टइमेजटेक्स्ट
2023

DeepSeek

DeepSeek-V3

671B पैरामीटर वाला ओपन-वेट MoE, प्रति टोकन केवल 37B सक्रिय

4क्षमता
मॉडल खुले वेट
टेक्स्टटेक्स्ट
2024

Alibaba (Qwen)

Qwen

अनेक आकारों और बहुविध संस्करणों वाला ओपन-वेट परिवार

4क्षमता
मॉडल खुले वेट
टेक्स्टइमेजटेक्स्ट
2023

Google DeepMind

Gemini

मूल रूप से बहुविध, अति-लंबे संदर्भ के लिए बना सामान्य मॉडल

4क्षमता
मॉडल बंद स्रोत
टेक्स्टइमेजऑडियोवीडियोटेक्स्ट
2023

Microsoft

GitHub Copilot

एडिटर में संदर्भ के अनुसार कोड पूरा करता और बदलता है

2क्षमता
टूल फ़्रीमियम
टेक्स्टकोडकोड
2021

OpenAI

o3

उत्तर देने से पहले लंबी तर्क-श्रृंखला, अनुमान के समय गणना से अधिक सटीकता

3क्षमता
मॉडल बंद स्रोत
टेक्स्टइमेजटेक्स्ट
2025

Anthropic

Claude Code

टर्मिनल से बहु-चरणीय कोडिंग कार्य पूरे करने वाला एजेंट

3क्षमता
टूल बंद स्रोत
टेक्स्टकोडकोड
2025

DeepSeek

DeepSeek-R1

तर्क-श्रृंखला पर RL से प्रशिक्षित तर्क मॉडल, भार MIT लाइसेंस के तहत खुले

4क्षमता
मॉडल खुले वेट
टेक्स्टटेक्स्ट
2025

Cognition (Devin)

Devin

अपने शेल, एडिटर और ब्राउज़र वाला स्वायत्त कोडिंग एजेंट

4क्षमता
ऐप बंद स्रोत
टेक्स्टकोडकोड
2024

Anysphere (Cursor)

Cursor

डेस्कटॉप कोड एडिटर जो पूरे रिपॉज़िटरी को संदर्भ बनाता है

3क्षमता
ऐप फ़्रीमियम
टेक्स्टकोडकोड
2023

संबंधित संस्थान

सामान्य उपयोग

  • New features and utility scripts
  • Data cleaning and transformation scripts
  • Test cases and project scaffolding
  • Porting code across languages and frameworks

इसका मूल्यांकन कैसे होता है

pass@k
Share of problems with at least one sample passing all tests out of k
Benchmark pass rate
Pass rate on fixed sets such as HumanEval
Compile and lint pass rate
Whether generated code passes the compiler and type checks as-is

सीमाएँ और कठिनाइयाँ

  • It invents libraries or methods, producing plausible interfaces that do not exist
  • Code can pass unit tests yet leave holes in edge cases, error handling and security
  • Multi-file changes are inconsistent, with call sites disagreeing with definitions

इसके पीछे की अवधारणाएँ

प्राकृतिक भाषा प्रसंस्करण और बड़े भाषा मॉडल

Transformer आर्किटेक्चरमध्यवर्ती

शब्द-दर-शब्द relay की जगह वह कक्ष जहाँ सब एक साथ बोलते हैं, जिससे दूर की निर्भरताएँ एक कदम पर आ जाती हैं

4संबंध
आरेख 2 · डेटा 2

प्राकृतिक भाषा प्रसंस्करण और बड़े भाषा मॉडल

प्री-ट्रेनिंग और फाइन-ट्यूनिंगमध्यवर्ती

पहले विशाल अलेबल पाठ से भाषा सीखना, फिर थोड़े डेटा से विशेषज्ञ बनना — आधुनिक एआई का सबसे डेटा-कुशल प्रतिमान

5संबंध
आरेख 1 · डेटा 1