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

कोड जनरेशन

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

कोड और सॉफ़्टवेयरप्रारंभिक #33
इनपुटटेक्स्टकोड

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

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

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

GPT-4o

2024
OpenAI

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

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

Claude

2023
Anthropic

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

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

DeepSeek-V3

2024
DeepSeek

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

मॉडल खुले वेट
टेक्स्टटेक्स्ट

Qwen

2023
Alibaba (Qwen)

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

मॉडल खुले वेट
टेक्स्टइमेजटेक्स्ट

Gemini

2023
Google DeepMind

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

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

GitHub Copilot

2021
Microsoft

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

टूल फ़्रीमियम
टेक्स्टकोडकोड

o3

2025
OpenAI

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

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

Claude Code

2025
Anthropic

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

टूल बंद स्रोत
टेक्स्टकोडकोड

DeepSeek-R1

2025
DeepSeek

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

मॉडल खुले वेट
टेक्स्टटेक्स्ट

Devin

2024
Cognition (Devin)

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

ऐप बंद स्रोत
टेक्स्टकोडकोड

Cursor

2023
Anysphere (Cursor)

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

ऐप फ़्रीमियम
टेक्स्टकोडकोड

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

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

  • 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

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