Dolly v2

Dolly v2 7B

by Databricks Data + AI Platform · Legacy open-weight model; downloadable for self-hosted use

Databricks Dolly v2 7B is an approximately 6.9-billion-parameter, open-weight instruction-following model derived from Pythia 6.9B. It supports local text generation for summarization, classification, question answering, brainstorming, and information extraction, but its 2,048-token context limit and weaknesses in reasoning, coding, mathematics, factuality, and open-ended answers make it more suitable for experimentation and lightweight private applications than demanding production workloads.

Text Reasoning Coding
Dolly v2 7B is a 6.9-billion-parameter causal language model released by Databricks in April 2023. It is an older, downloadable model intended for local or private deployments, where users control the inference environment instead of sending prompts to a managed per-token API. The model can follow instructions across several common text tasks, but its relatively short context window and documented weaknesses in reasoning, coding, mathematics, factual accuracy, and open-ended question answering make it better suited to experimentation and lightweight applications than to high-reliability production systems.
Outputs

What Dolly v2 7B can produce

Text
Inputs

What it can understand

Text
Capabilities

Support features

Fine-tuning
Model profile

Performance characteristics

3/10 Reasoning
3/10 Coding
5/10 Speed
9/10 Cost efficiency
Specifications

Technical details

Family Dolly v2
Type General Purpose
Context window 2K tokens
Max output tokens tokens
Release date 2023-04-12
Status Legacy open-weight model; downloadable for self-hosted use
Knowledge cutoff notes

No authoritative model-specific knowledge cutoff was identified in the available Databricks or model-card documentation. The instruction-tuning data was produced during March and April 2023, but that does not establish the underlying pretraining knowledge cutoff.

Model notes

Dolly v2 7B is the approximately 6.9-billion-parameter member of the Dolly v2 family. It is derived from EleutherAI Pythia 6.9B and fine-tuned on approximately 15,000 instruction-response examples from Databricks employees. The official model configuration specifies a 2,048-token maximum position length. It is distributed as downloadable weights rather than a Databricks per-token hosted API model, so hosted input and output prices are not applicable. Databricks documentation identifies weaknesses in complex prompts, programming, mathematics, factual accuracy, dates and times, open-ended question answering, hallucination, exact list generation, stylistic imitation, and humor. Editorial scores are comparative estimates, not provider-published benchmarks.

Model guide

Dolly v2 7B: Databricks’ Open-Weight Model for Local Instruction Following

Databricks Dolly v2 7B is a commercially licensed, open-weight instruction-following language model derived from EleutherAI Pythia 6.9B. With approximately 6.9 billion parameters and a 2,048-token context limit, it is designed for self-hosted text generation tasks such as summarization, classification, question answering, brainstorming, and information extraction rather than demanding reasoning, coding, or long-context production workloads.

What is Dolly v2 7B?

Dolly v2 7B is an open-weight, instruction-following language model provided by Databricks. “Open-weight” means that the trained model files can be downloaded and run in a compatible environment, rather than accessed only through a hosted service. This makes Dolly v2 7B relevant to developers and researchers who need local inference, private prototypes, or hands-on experience with an instruction-tuned language model.

Databricks released the model on April 12, 2023, as part of the Dolly v2 family. The family also includes Dolly v2 3B and Dolly v2 12B, but this page focuses on the 7B model. Dolly v2 7B is derived from EleutherAI’s Pythia 6.9B foundation model and was fine-tuned on approximately 15,000 instruction-response examples created by Databricks employees.

The fine-tuning dataset, known as databricks-dolly-15k, covers brainstorming, classification, closed-domain and open-domain question answering, generation, information extraction, and summarization. Some categories include reference passages, including material from Wikipedia. The dataset and model have separate licensing and attribution considerations, so commercial users should review the current model card and repository terms before deployment.

Technical profile and context limit

Dolly v2 7B is a GPT-NeoX causal language model with approximately 6.9 billion parameters. A causal language model generates text one token at a time, using the preceding text as context. Its official configuration specifies a maximum position length of 2,048 tokens. A token is a piece of text used internally by the model and does not correspond exactly to a word, so the practical amount of readable text depends on the language and formatting of the prompt.

SpecificationDetails
ProviderDatabricks
Model familyDolly v2
ArchitectureGPT-NeoX causal language model
Parameter countApproximately 6.9 billion
Maximum context length2,048 tokens
Input typeText
Output typeGenerated text
Hosted API pricingNot applicable to the downloadable model

The supplied research does not identify a model-specific maximum output-token value separate from the 2,048-token position limit. In practice, the available prompt and generated continuation must fit the model’s supported sequence length and the limits imposed by the deployment software.

What Dolly v2 7B can do

Dolly v2 7B is primarily a general-purpose instruction-following model for text. It can be used to generate responses to natural-language requests, transform supplied text, and produce simple structured content. Supported task categories include:

  • Summarizing short documents or passages
  • Classifying text into user-defined categories
  • Extracting requested facts or fields from text
  • Answering questions about a supplied passage
  • Generating ideas, drafts, and other written content
  • Answering some open-domain questions

Its strongest practical advantage is deployment flexibility rather than frontier-level output quality. Because the weights are downloadable, an organization can experiment with local inference without relying on a Databricks per-token model endpoint. This can be useful when a team wants to keep prompts and outputs within its own infrastructure, provided it has the technical resources and permissions required to operate the model.

Limitations in reasoning, coding, and factuality

Databricks documented that the Dolly family is not state of the art. The model can struggle with syntactically complex prompts, programming, mathematical operations, factual accuracy, dates and times, open-ended question answering, hallucinations, exact list lengths, stylistic imitation, and humor.

These limitations affect how its output should be evaluated. Dolly v2 7B may be adequate for a rough summary, a draft classification workflow, or a private experiment, but its answers should not automatically be treated as verified facts. Applications involving legal, financial, medical, operational, or other high-consequence information require validation and should not depend on the model’s unsupported assertions.

Its coding and reasoning ability should also be considered modest. The editorial assessment supplied with this record rates reasoning and coding at 3 out of 10, but these are comparative editorial scores, not Databricks-published benchmarks. They indicate the expected trade-off of using an older 7B-scale model rather than a newer model designed for advanced reasoning or software development.

Input, output, and tool support

Dolly v2 7B accepts text and produces text. It does not natively accept images, audio, or video, and it does not directly generate those media types. The model itself also does not provide first-party web search, function calling, tool use, structured-output enforcement, or a managed hosted inference API.

External software could potentially wrap generated text in an application workflow, but that would be an application-level integration rather than a native model capability. Developers should therefore avoid treating Dolly v2 7B as a drop-in replacement for modern API models that offer schema-constrained JSON, tool invocation, streaming services, or integrated retrieval.

Deployment, speed, and cost

Dolly v2 7B is intended for self-hosted or custom inference. Databricks documentation indicates that the model can run on A10-class GPUs, while reduced-precision inference can lower memory requirements. The repository also documents configurations involving A100 and V100 GPUs. Actual speed and memory use depend on hardware, precision, batching, software versions, and generation settings.

There is no provider per-token input or output price for the downloadable model in the supplied research. That does not mean deployment is free: users may still incur costs for GPUs, storage, electricity, hosting, engineering, monitoring, and maintenance. The editorial record gives Dolly v2 7B a speed score of 5 out of 10 and a cost score of 9 out of 10. These are subjective comparative ratings, not published Databricks measurements. The cost rating reflects the absence of hosted token charges and the relatively manageable size of a 6.9-billion-parameter model, while self-hosting still has infrastructure costs.

When to choose Dolly v2 7B

Dolly v2 7B is a reasonable choice when the main requirement is a downloadable instruction-following model for experimentation. Suitable uses include educational projects, private prototypes, model research, lightweight summarization, basic classification, information extraction, and simple content generation. It may also be useful when local control is more important than the strongest available reasoning or factual performance.

Choose a newer or managed model instead when the application needs reliable coding, mathematical reasoning, current factual answers, long documents, multimodal input, native tool calling, constrained JSON, or production support around a hosted API. A larger or more recent model may provide better quality, while a smaller specialized model may offer lower resource requirements for a narrowly defined task. Within the Dolly family, the 3B and 12B versions are relevant size comparisons, but the supplied research does not establish detailed performance or cost differences between those siblings.

Overall assessment

Dolly v2 7B is best understood as a historically important, accessible open-weight instruction model rather than a current frontier system. Its approximately 6.9-billion-parameter architecture, downloadable weights, commercial-use positioning, and broad instruction-tuning dataset make it useful for learning and private experimentation. Its 2,048-token context limit, text-only design, lack of native tools, and documented weaknesses in reasoning, coding, mathematics, and factuality place clear boundaries on production use.

For a team evaluating it today, the central question is whether local model ownership and low dependence on hosted inference outweigh the quality and maintenance advantages of newer alternatives. If the workload is lightweight and outputs can be reviewed, Dolly v2 7B remains a practical experimental model. If accuracy, long context, advanced reasoning, or integrated application features are essential, another option is more appropriate.


Answers to Frequently Asked Questions

How is Dolly v2 7B deployed and what does it cost?
Dolly v2 7B is designed for self-hosted or custom inference and can run on hardware such as A10-class GPUs, with reduced-precision inference potentially lowering memory requirements. The downloadable model has no provider per-token charge, but users still pay for infrastructure, storage, electricity, hosting, engineering, monitoring, and maintenance.
What are the main limitations of Dolly v2 7B?
Dolly v2 7B can struggle with complex prompts, programming, mathematics, factual accuracy, dates and times, open-ended questions, hallucinations, exact list lengths, and advanced reasoning. It is also text-only, has no native tool calling or web search, and does not provide built-in structured-output enforcement or a managed hosted API.
What can Dolly v2 7B be used for?
Dolly v2 7B can support lightweight text tasks such as summarization, classification, information extraction, passage-based question answering, brainstorming, drafting, and basic content generation. It is particularly suited to local experimentation, education, and private prototypes.
What is Dolly v2 7B?
Dolly v2 7B is an open-weight, instruction-following language model released by Databricks on April 12, 2023. It is derived from EleutherAI’s Pythia 6.9B foundation model and fine-tuned on approximately 15,000 instruction-response examples.
What is the context length of Dolly v2 7B?
Dolly v2 7B has a maximum context length of 2,048 tokens. The prompt and generated continuation must fit within this supported sequence length, subject to deployment software limits.


Sources 5
AI Provider

About Databricks Data + AI Platform