Back to gpt-3-base
OpenAI /

AI
davinci-002

Closed SourceDeprecatedChat & ReasoningtextUpdated August 22, 2023

davinci-002

Model Overview

davinci-002 is a large language model developed by OpenAI, released in July 2023. It was introduced as a foundational "base model" designed to replace the legacy GPT-3 base models, specifically the original davinci and curie engines. Unlike instruction-tuned models (such as gpt-3.5-turbo or text-davinci-003), davinci-002 is raw and lacks reinforcement learning from human feedback (RLHF). It is explicitly intended for developers who need a robust text-completion foundation to fine-tune on custom, specialized datasets.

Capabilities

  • Raw Text Completion: Excels at continuing text generation based on a given prompt until a stop sequence is reached, rather than interacting in a conversational or Q&A format.
  • Custom Fine-Tuning: Serves as a highly adaptable base for custom fine-tuning, allowing developers to bake in specific formatting, tone, or domain knowledge.
  • Pattern Matching: Highly capable of recognizing and continuing complex patterns in text data, making it useful for few-shot learning scenarios when properly prompted.

Example Use Cases

  • Specialized Domain Fine-Tuning: Training the model on proprietary company data to generate highly specific legal, medical, or technical documents.
  • Legacy Application Support: Serving as a drop-in replacement for older applications built around the legacy Completions API that relied on the original GPT-3 davinci model.
  • Creative Text Continuation: Writing long-form fiction, code, or poetry where raw continuation is preferred over a conversational AI assistant.
  • Formatting Tasks: When fine-tuned, standardizing messy data inputs into strictly formatted JSON, XML, or CSV outputs.

Performance & Benchmarks

  • Comparison to Instruct Models: As a base model, davinci-002 performs poorly on zero-shot instruction following compared to gpt-3.5-turbo-instruct or gpt-4, as it attempts to complete the text rather than answer the prompt.
  • Efficiency: Offers a more consistent and updated architecture compared to the original 2020 GPT-3 models it replaced, resulting in more stable fine-tuning runs.
  • Context Window: Like its contemporaries in the base-model class, it supports standard context lengths, though for modern, long-context reasoning, newer models are generally preferred.

Intended Use & Limitations

  • Intended Use: Primarily designed for API integration where raw text completion or specialized fine-tuning is required. It is accessed via the legacy Completions API.
  • Limitations:
    • No Instruction Following: Will not naturally answer questions or follow direct commands (e.g., "Write a poem about...") without specific few-shot prompting or fine-tuning; it will likely just generate more questions or related text.
    • Not for Chat: Unsuitable for conversational agents or chatbots out-of-the-box.
    • General Capability: Lacks the advanced reasoning, coding, and logical capabilities of the newer GPT-4 class models.
    • Deprecation Context: While it replaced older models, OpenAI generally recommends gpt-3.5-turbo-instruct for most standard completion tasks unless specific base-model fine-tuning is required.

About OpenAI

OpenAI is a leading artificial intelligence research and deployment company dedicated to ensuring that artificial general intelligence (AGI) benefits all of humanity. Known for its foundational research and commercial API offerings, OpenAI develops state-of-the-art models across text, image, and audio modalities.

You might also want to compare

Verified Sources

Model Specs

closed-source

Parameters

Unknown

Context Window

Unknown

License

Proprietary

Deployment

api-only

Cost Tiers

babbage-002

Resources & Links

Lineage

Model Family

Part of the gpt-3-base family

Only release in this line currently tracked.

Curator Notes

Deprecated with shutdown date set for September 28, 2026 per official OpenAI deprecations documentation.

Compare Specs

Compare parameters, context windows, modalities, and benchmark scores of this model side-by-side with others.

Compare Model