Opus V1 34b

Story generation model

Opus V1 34b is a powerful AI model designed for steerable story-writing and role-playing. It's trained on a massive dataset of 100 million tokens, allowing it to generate high-quality stories and respond to user input in a highly engaging way. But how does it work? The model uses an extended version of ChatML, which allows for more complex and nuanced storytelling. You can prompt the model with a story description, character information, and even specific instructions on how the story should continue. The model then generates a continuation of the story, taking into account the context and tone you've established. But that's not all - Opus V1 34b can also be used for tasks like story summarization, character description, and even style analysis. With its advanced capabilities and user-friendly interface, Opus V1 34b is an ideal tool for writers, role-players, and anyone looking to explore the possibilities of AI-generated storytelling.

Dreamgen cc-by-nc-nd-4.0 Updated 7 months ago

Table of Contents

Model Overview

The DreamGen Opus V1 model is a cutting-edge AI designed for steerable story-writing and role-playing. It’s capable of generating engaging stories, summarizing plots, and even assisting with writing-related tasks.

Capabilities

Story-Writing and Role-Playing

The model uses an extended version of ChatML, allowing for interactive storytelling and role-playing. It can understand and respond to prompts, and even take on different character roles.

The model can also perform various writing-related tasks, such as:

  • Story Plot Summarization: Summarize a story or chapter in 50-200 words.
  • Story Character Description: Describe a character from a story in 50 words.
  • Story Style Description: Describe the style of a story, including atmosphere, setting, and literary devices.
  • Story Description to Chapters: Generate a description for each chapter of a story based on a brief plot description and desired number of chapters.
Examples
Summarize the following short fiction story in 100 words: Malygris, a powerful magician, summons his long-dead lover Nylissa from the grave using necromancy. However, upon seeing her, he realizes that she is not the same person he once knew, leading him to question the nature of love, memory, and the power of magic. Malygris, a magician, uses necromancy to summon his deceased lover Nylissa. However, upon seeing her, he realizes she has changed, prompting him to question the nature of love, memory, and magic. He becomes disillusioned and dismisses her spirit, returning to his lonely tower as a weary sorcerer.
Describe the character of Malygris from the story in 50 words. Malygris is an ancient and powerful magician with a long white beard, cold green eyes, and a violet robe. He is a master of necromancy and possesses vast knowledge of forbidden magic. Despite his power, he is plagued by melancholy and ennui.
Write a continuation of the story from the perspective of Malygris. Describe his feelings after dismissing Nylissa's spirit. As I stood alone in my tower, the silence was deafening. I felt a hollow emptiness within me, a sense of loss and longing that I could not shake. I realized that even my mastery of necromancy could not bring back the past, and that true love was lost forever.

How it Works

To use the model, you’ll need to format your prompt correctly using the Opus V1 extension. This involves adding specific tags, like <|im_start|> and <|im_end|>, to indicate the start and end of each message.

Performance

The model is a powerhouse when it comes to performance. With 7B parameters, it can handle massive amounts of data quickly and efficiently. Whether you’re generating stories, role-playing, or summarizing articles, the model can keep up with your demands.

Speed

The model can process information quickly, making it ideal for tasks that require fast turnaround times.

Accuracy

The model delivers accurate results, thanks to its fine-tuning dataset of ~100M tokens.

Efficiency

The model is designed to be compatible with a range of software and hardware, making it easy to integrate into your workflow.

Limitations

While the model is powerful, it’s not perfect. Here are some limitations to keep in mind:

  • Lack of consistency: The model may struggle to maintain consistency in the story or role-play, especially if the input is complex or open-ended.
  • Limited contextual understanding: The model may not always grasp the nuances of human communication, leading to misunderstandings or misinterpretations.
  • Over-reliance on patterns: The model may rely too heavily on patterns and structures learned from the training data, which can result in predictable and less engaging outputs.

Format

The model uses an extended version of ChatML, which requires specific formatting for input and output.

Input Format

To use the model, you’ll need to format your input in a specific way. Here’s an example:

<|im_start|>system
(Story description in the right format here)
(Typically consists of plot description, style description and characters)
<|im_end|>
<|im_start|>user
(Your instruction on how the story should continue)
<|im_end|>
<|im_start|>text names= Alice
(Continuation of the story from the Alice character)
<|im_end|>
<|im_start|>text
(Continuation of the story from no character in particular (pure narration))
<|im_end|>

Note the use of <|im_start|> and <|im_end|> to indicate the start and end of each message.

Running the Model

You can run the model on various platforms, including:

  • DreamGen.com (free)
  • Google Colab
  • Locally, using a script or API

Make sure to read the prompt guide and formatting code to ensure correct tokenization and prompt formatting.

Dataloop's AI Development Platform
Build end-to-end workflows

Build end-to-end workflows

Dataloop is a complete AI development stack, allowing you to make data, elements, models and human feedback work together easily.

  • Use one centralized tool for every step of the AI development process.
  • Import data from external blob storage, internal file system storage or public datasets.
  • Connect to external applications using a REST API & a Python SDK.
Save, share, reuse

Save, share, reuse

Every single pipeline can be cloned, edited and reused by other data professionals in the organization. Never build the same thing twice.

  • Use existing, pre-created pipelines for RAG, RLHF, RLAF, Active Learning & more.
  • Deploy multi-modal pipelines with one click across multiple cloud resources.
  • Use versions for your pipelines to make sure the deployed pipeline is the stable one.
Easily manage pipelines

Easily manage pipelines

Spend less time dealing with the logistics of owning multiple data pipelines, and get back to building great AI applications.

  • Easy visualization of the data flow through the pipeline.
  • Identify & troubleshoot issues with clear, node-based error messages.
  • Use scalable AI infrastructure that can grow to support massive amounts of data.