movies / README.md
IsmaelMousa's picture
Update README.md
6cf08d1 verified
|
raw
history blame
2.63 kB
metadata
license: apache-2.0
task_categories:
  - summarization
  - text-generation
  - fill-mask
sub_tasks:
  - language-modeling
  - masked-language-modeling
language:
  - en
tags:
  - movies
  - NLP
libraries:
  - datasets
  - pandas
  - polars
pretty_name: movies
size_categories:
  - 1K<n<10K
modalities: text
formats: json

Movie Scripts Dataset

The Movie Scripts Dataset consists of scripts from 1,172 movies, providing a comprehensive collection of movie dialogues and narratives. This dataset is designed to support various natural language processing (NLP) tasks, including dialogue generation, script summarization, and text analysis.

Details

The dataset contains 2 columns:

  • Name: The title of the movie.
  • Script: The full script of the movie in English.

Usage

The Movie Scripts Dataset is ideal for training and evaluating models for dialogue generation, script summarization, and other text analysis tasks. It offers a diverse set of scripts that can be used to explore various aspects of movie dialogues and narratives.

Example Usage

Here’s a quick example of how to load and explore the dataset:

from datasets import load_dataset

movies = load_dataset("IsmaelMousa/movies", split="train")

sample = train[5]
print(f"Movie Name: {sample['Name']}")
print(f"Script: {sample['Script'][10000:11000]}...")

Output

Movie Name: Belle
Script: n this
          moment, but hold this in your
          heart...you are loved...Just as
          I loved your mother.
A tear spills and DIDO's little fingers come up to wipe it
from his cheek. He presses his lips to her hand, sobbing a
moment, and then he is gone - to stay any longer would be
too much to bare.
                                                                 6.


7   INT. KENWOOD HOUSE. STAIRS/ENTRANCE HALL/GALLERY - DAY. 2    7    *

    ON ELIZABETH seated at the grand staircase as LADY MARY and
    DIDO emerge. Like ELIZABETH, DIDO is now freshly dressed in
    rich silks, an adorable sight as they move through corridors
                        ELIZABETH
              Are you...a nee-gro?
    ELIZABETH makes her way across...taking her aunt's hand as
    all three walk. DIDO is silent.

                        ELIZABETH (CONT'D)
              Are you what they call `a negro?'
              I heard them talking.
                        LADY M...

Source

The scripts in this dataset are sourced from various movie script repositories and are provided in their original form.

License

This dataset is provided under the Apache 2.0 license for both personal and commercial use, with proper attribution.