MPT

MPT-7B-StoryWriter

by Databricks Data + AI Platform · Legacy open-weight model; downloadable and historically documented

MPT-7B-StoryWriter is a MosaicML open-weight causal language model, now associated with Databricks, that was fine-tuned on long fiction excerpts. Its documented 65,536-token context and ALiBi design support book-scale narrative continuation, while its lack of instruction tuning, tool support, multimodal features, and verified hosted pricing make it a specialized legacy model.

Text Reasoning Coding
MPT-7B-StoryWriter is a specialized language model for continuing long-form fiction rather than a general-purpose chat assistant. Released by MosaicML and now associated with Databricks, it provides downloadable Apache 2.0 weights, a 65,536-token documented context window, and a design intended to handle book-scale narrative prompts.
Outputs

What MPT-7B-StoryWriter can produce

Text
Inputs

What it can understand

Text
Capabilities

Support features

Fine-tuning
Model profile

Performance characteristics

2/10 Reasoning
2/10 Coding
2/10 Speed
5/10 Cost efficiency
Specifications

Technical details

Family MPT
Type General Purpose
Context window 66K tokens
Max output tokens tokens
Release date 2023-05-05
Status Legacy open-weight model; downloadable and historically documented
Knowledge cutoff notes

No authoritative source reviewed specifies a knowledge-cutoff date for this exact checkpoint. The model's training and release documentation describe its pretraining and fiction fine-tuning data but do not provide a formal cutoff field.

Model notes

Canonical Hugging Face identifier: mosaicml/mpt-7b-storywriter. The model is also referred to in MosaicML and Databricks materials as MPT-7B-StoryWriter-65k+. It was fine-tuned from MPT-7B for 2,500 steps on 65k-token excerpts of fiction from the Books3 corpus using next-token prediction. MosaicML reported context extrapolation demonstrations at approximately 68k tokens and tests up to 84k tokens with ALiBi, but 65,536 tokens is the documented model context length. The model is distributed as downloadable Apache 2.0 weights, with no verified current first-party hosted API pricing. Editorial scores reflect the model's age, specialization, and deployment profile rather than provider-published benchmark scores. No authoritative model-specific knowledge cutoff was found.

Model guide

MPT-7B-StoryWriter: An Open-Weight Model for Book-Length Fiction

MPT-7B-StoryWriter is a 6.7-billion-parameter, open-weight causal language model from MosaicML, now associated with Databricks. It was fine-tuned on long fiction excerpts for narrative continuation and supports a documented 65,536-token context length through an ALiBi-based long-context design.

What is MPT-7B-StoryWriter?

MPT-7B-StoryWriter is an open-weight, decoder-only causal language model created by MosaicML as part of the MPT family. Databricks is the associated provider in current catalog information. The model contains approximately 6.7 billion parameters and was released on May 5, 2023.

Its main purpose is long-form fiction continuation. Instead of behaving primarily like a conversational assistant that follows varied instructions, StoryWriter predicts the next text after a prompt. A suitable prompt might contain several chapters of a manuscript followed by a section heading or narrative cue. The model then attempts to continue the story in the same general context.

The model is best understood as a specialized research and creative-writing checkpoint. It is available as downloadable weights rather than as a verified current first-party hosted service with model-specific token pricing. Its canonical Hugging Face identifier is mosaicml/mpt-7b-storywriter.

Long-context capabilities and context length

The documented model context length is 65,536 tokens. A token is a small unit of text used by a language model; the exact number of words represented by a token varies with the language and content. A 65,536-token window is therefore large enough to place a substantial manuscript or extensive narrative history in one prompt, although the usable amount depends on the tokenizer, formatting, and the length of the requested continuation.

StoryWriter was fine-tuned for 2,500 steps on 65k-token excerpts of fiction from the Books3 corpus. The training objective remained next-token prediction, so the model learned to continue text rather than to produce answers through a modern instruction-tuning process.

MPT models use Attention with Linear Biases, commonly abbreviated as ALiBi, instead of conventional learned positional embeddings. This design adds distance-related bias to attention calculations and was used to support longer-context behavior. MosaicML reported demonstrations at approximately 68k tokens and tests reaching up to 84k tokens under the stated hardware and inference conditions. Those figures are provider-reported demonstrations, not a universal guarantee. The documented model context remains 65,536 tokens, and quality or resource requirements may change when operating beyond that limit.

What the model can do

StoryWriter can generate text continuations for novels, short stories, serialized fiction, and other narrative drafts. Its long context makes it particularly relevant when the prompt needs to preserve details such as character relationships, setting descriptions, plot threads, or earlier chapters.

Useful applications include:

  • Continuing a partially written novel or long story.
  • Generating alternative scenes from an existing narrative setup.
  • Experimenting with book-scale language-model prompting.
  • Analyzing or extending long fictional passages.
  • Researching long-context behavior in an open-weight model.

Because it is a causal completion model, the prompt usually needs to provide the structure that a chat-oriented model might otherwise infer. For example, a manuscript followed by a heading such as Chapter 8 or a narrative transition can give the model a clearer continuation target than a short instruction alone.

Limitations and quality trade-offs

StoryWriter is not an instruction-tuned or chat-optimized checkpoint according to the supplied documentation. It may therefore be less dependable for direct question answering, multi-turn dialogue, strict formatting, tool use, or business workflows than a modern instruction-following model. Its fiction fine-tuning also does not make its output factually reliable.

The model does not provide verified native support for function calling, tool use, structured output, web search, or multimodal input and output. It is a text-in, text-out model. There is no verified model-specific knowledge-cutoff date in the authoritative material reviewed, so users should not treat it as a source of current information.

Long contexts have practical costs. Processing a very large prompt requires more memory and compute than processing a short one, and extending context beyond the documented length may reduce coherence or increase implementation-specific problems. The reported 68k- and 84k-token results should be treated as experimental context extrapolation rather than guaranteed production limits.

Editorial capability assessments place the model's reasoning and coding usefulness low because it is an older, fiction-specialized completion model rather than a reasoning or programming checkpoint. These are editorial evaluations, not provider-published benchmark scores. Its strongest relative characteristic is the combination of open weights and long-context narrative generation.

Deployment, availability, and licensing

MPT-7B-StoryWriter is distributed as downloadable weights under the Apache 2.0 license according to MosaicML's release documentation. It can be loaded with Hugging Face-compatible tooling and used within the MosaicML LLM Foundry ecosystem.

Running the model locally or on private infrastructure gives users control over deployment and avoids dependence on a model-specific hosted API. However, deployment still requires suitable compute and memory, particularly for long prompts. The research does not specify one universally applicable hardware configuration, latency figure, or maximum generated-output limit, so those values should be determined by the selected inference software, precision, hardware, and available memory.

There is no verified current first-party hosted API pricing for this exact checkpoint. Consequently, there is no reliable per-token input or output price to report. The economic trade-off is primarily between the infrastructure cost of running downloadable weights and the convenience of a managed, current hosted model.

Capability summary

CapabilityVerified or editorial assessment
Model typeDecoder-only causal language model
ParametersApproximately 6.7 billion
Documented context65,536 tokens
Input and outputText input and text output
Multimodal supportNo verified image, audio, or video input or output
Tool or function callingNo verified support
Fine-tuningSupported as an open-weight model, subject to the selected tooling and infrastructure
LicenseApache 2.0
Hosted pricingNo verified current model-specific first-party API pricing
Maximum output tokensNot specified in the supplied research

When to choose MPT-7B-StoryWriter

Choose MPT-7B-StoryWriter when the main requirement is open-weight, long-context text completion for fiction and you are prepared to manage the deployment environment. It is a reasonable fit for experimenting with manuscript-scale prompts, studying ALiBi-based context extrapolation, or generating narrative continuations without relying on a proprietary hosted endpoint.

Its open license and downloadable form may also be useful when local or controlled deployment matters more than access to the newest instruction-following features. The model's specialization can be an advantage for creative-writing experiments, but it should not be confused with a current general-purpose assistant.

When another option may be more appropriate

A modern instruction-tuned model is likely more appropriate for reliable question answering, structured business processes, tool calling, coding assistance, or multi-turn conversational use. A hosted model may also be preferable when the priority is simple access, managed scaling, predictable service operations, or usage-based billing rather than downloadable weights.

For factual research, current information, or citation-sensitive work, use a system designed for those tasks and verify its knowledge and retrieval behavior. For multimodal applications, choose a model with explicit image, audio, or video support. For strict JSON or other structured workflows, select a model with documented structured-output capabilities instead of assuming that StoryWriter will follow a schema consistently.

Bottom line

MPT-7B-StoryWriter remains notable for its 65,536-token documented context and its focus on long-form fiction continuation. Its Apache 2.0 open-weight distribution makes it practical for experimentation and controlled deployment, while ALiBi provides the basis for the long-context behavior reported by MosaicML. Its age, lack of instruction tuning, missing verified hosted pricing, and absence of documented tool or multimodal capabilities make it a specialized legacy model rather than a general-purpose choice for modern production assistants.


Answers to Frequently Asked Questions

Does MPT-7B-StoryWriter have a hosted API or support multimodal and tool-based features?
There is no verified current first-party hosted API pricing for this exact checkpoint. It is a text-in, text-out model with no verified support for image, audio, or video input and output, function calling, tool use, or web search.
What license does MPT-7B-StoryWriter use, and how can it be deployed?
MPT-7B-StoryWriter is distributed under the Apache 2.0 license as downloadable weights. It can be deployed locally or on private infrastructure using Hugging Face-compatible tooling and the MosaicML LLM Foundry ecosystem.
Is MPT-7B-StoryWriter an instruction-following or chat model?
No. MPT-7B-StoryWriter is a causal text-completion model rather than an instruction-tuned or chat-optimized checkpoint. It may be less reliable for question answering, multi-turn dialogue, strict formatting, tool use, and business workflows.
What is MPT-7B-StoryWriter designed for?
MPT-7B-StoryWriter is an open-weight, decoder-only causal language model designed primarily to continue long-form fiction, including novels, short stories, serialized narratives, and manuscript drafts.
How much context can MPT-7B-StoryWriter handle?
Its documented context length is 65,536 tokens. MosaicML also reported experimental demonstrations at approximately 68,000 tokens and tests up to 84,000 tokens, but those figures are not guaranteed production limits.


Sources 4
AI Provider

About Databricks Data + AI Platform