Dramatron
Try Dramatron
Dramatron can be run in Python as a Colab, by opening colab/dramatron.ipynb
.
The Colab is provided ``unplugged'', without a large language model interface. To use it, you will need to implement functions __init__
and `sample`, by adding your code to sample from your own large language model.
Details
Dramatron uses existing, pre-trained large language models to generate long, coherent text and could be useful for authors for co-writing theatre scripts and screenplays. Dramatron uses hierarchical story generation for consistency across the generated text. Starting from a log line, Dramatron interactively generates character descriptions, plot points, location descriptions, and dialogue. These generations provide human authors with material for compilation, editing, and rewriting.
Dramatron is conceived as a writing tool and as a source of inspiration and exploration for writers. To evaluate Dramatron’s usability and capabilities, we engaged 15 playwrights and screenwriters in two-hour long user study sessions to co-write scripts alongside Dramatron.
One concrete illustration of how Dramatron can be utilised by creative communities is how one playwright staged 4 heavily edited and rewritten scripts co-written alongside Dramatron. In the public theatre show, Plays by Bots, a talented cast of experienced actors with improvisational skills gave meaning to Dramatron scripts through acting and interpretation.
During the development of Dramatron and through discussions with industry professionals, we made several important observations:
- Dramatron is a co-writing system that has only been used in collaboration with human writers, and was not conceived or evaluated to be used autonomously.
- Dramatron’s top-down hierarchical story generation structure does not correspond to every writer's writing process.
- The output of a language model may include elements of the text used to train the language model. One possible mitigation is for the human co-writer to search for substrings from outputs to help to identify plagiarism.
- Dramatron may reproduce biases and stereotypes found in the corpus, and may generate offensive text. One possible mitigation is to use the Perspective API for estimating toxicity scores of the language outputs, and filtering generations based on the Perspective API analysis.
In our SIG CHI 2023 paper Mirowski, Mathewson et al (2023) Co-Writing Screenplays and Theatre Scripts with Language Models: An Evaluation by Industry Professionals (and in the 2022 pre-print on arXiv), we share many reflections including how playwrights reflected that they "wouldn't use [Dramatron] to write a full play," and that Dramatron's output can be "formulaic." Rather, they would use Dramatron for "world building," for exploring alternative stories by changing characters or plot elements, and for creative idea generation.
We are looking forward to learning if and how you might incorporate Dramatron into your own artistic practices. If you’d like to share thoughts, comments, or observations or have any questions, please contact us at [email protected].
The guide for contributors to Dramatron can be found here.
Cite Dramatron
@article{mirowski2022cowriting,
title={Co-Writing Screenplays and Theatre Scripts with Language Models: An Evaluation by Industry Professionals},
author={Mirowski, Piotr and Mathewson, Kory W and Pittman, Jaylen and Evans, Richard},
journal={arXiv preprint arXiv:2209.14958},
year={2022}
}
License and Disclaimer
Copyright 2022 DeepMind Technologies Limited
All software is licensed under the Apache License, Version 2.0 (Apache 2.0); you may not use this file except in compliance with the Apache 2.0 license. You may obtain a copy of the Apache 2.0 license at: https://www.apache.org/licenses/LICENSE-2.0
All other materials are licensed under the Creative Commons Attribution 4.0 International License (CC-BY). You may obtain a copy of the CC-BY license at: https://creativecommons.org/licenses/by/4.0/legalcode
Unless required by applicable law or agreed to in writing, all software and materials distributed here under the Apache 2.0 or CC-BY licenses are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the licenses for the specific language governing permissions and limitations under those licenses.
This is not an official Google product.