Dataset Viewer
Auto-converted to Parquet Duplicate
document_id
stringlengths
14
32
source
stringclasses
3 values
source_id
stringlengths
2
15
title
stringlengths
3
68
language
stringclasses
1 value
license
stringclasses
2 values
text
large_stringlengths
335
135k
text_sha256
stringlengths
64
64
character_count
int64
335
135k
byte_count
int64
335
135k
line_count
int64
6
1.29k
cornell_movie_dialogs:m10
cornell_movie_dialogs
m10
affliction
en
other
I'm sorry for the screw-up. But I couldn't help it it's too late to go trick-or-treating now. I couldn't help it I had to stop at Penny's for the costume. And you were hungry, remember. Who's fault is it then if it's not yours? You're the one in charge, Daddy. Yeah. Look. Those kids are still trick-or- treating. They'r...
79c200ca210e2057c4e4ef5a2efd5410d7e1dc8656ce603566d2bad7a77d4dda
36,714
36,714
627
cornell_movie_dialogs:m101
cornell_movie_dialogs
m101
the insider
en
other
Coffee? Yeah... Thank you. How have you liked your stay? What I've seen... I've liked. Please to explain, why I should agree to interview... with pro-Zionist American media? Because I think Hezbollah is trying to broaden into a political party right now. So you care about what you're thought of in America. And in Amer...
3191fb9eaa376e3d37a0cec7c72a9720336003fa2f29dacf7f869f2f84b34276
44,802
44,802
641
cornell_movie_dialogs:m102
cornell_movie_dialogs
m102
intolerable cruelty
en
other
Rex. Get away from the door. Look, Marylin, can't we have a civilized discussion about this? We are. And it's winding down. But Marylin, you know a divorce would ruin me right now. Everything I have -- everything we have -- is tied up in my business. The business is my entire life. Are you forgetting about the Atcheson...
73c08257d0c5bd35f2542ea562dcd223b699f2de3cf2266df4c4490cfbe23894
36,136
36,136
680
cornell_movie_dialogs:m103
cornell_movie_dialogs
m103
it happened one night
en
other
On a hunger strike, huh? When'd she eat last? She hasn't had a thing yesterdayor today. Been sending her meals in regularly? Yessir. She refuses them all. Why didn't you jam it down her throat? It's not quite that simple. I've dealt with prisoners in my time, but this one Absurd! All this fuss over a snip of a girl. I'...
7d68bff99c4156de50d4e726d0b8d25435cad11d8dcb546c6843e12897d5690c
52,998
52,998
862
cornell_movie_dialogs:m104
cornell_movie_dialogs
m104
jfk
en
other
"What's wrong, Lou?\nBoss, the President's been shot. In Dallas. Five minutes ago.\n\nOh no!... How (...TRUNCATED)
34eb5f6adae8bb9331a1a3705b1351bfc2e50e4a202716efef4d0e8fdf84bea6
86,666
86,666
740
cornell_movie_dialogs:m105
cornell_movie_dialogs
m105
jackie brown
en
other
"Thanks, Baby.\nWho's your partner?\n\nGet that for me, will ya baby?\nYou know it's for you.\n\nIt'(...TRUNCATED)
a651b8f4c9cb845a3c5ff0fc8a5255df22213e921097a73dd7e899ab1152b299
68,302
68,302
1,214
cornell_movie_dialogs:m106
cornell_movie_dialogs
m106
jacob's ladder
en
other
"Excuse me, do you know if we've passed Nostrand Avenue yet? Excuse me. Look, I'm asking a simple qu(...TRUNCATED)
4cd0c1c41cf24ad4552014812315be6a2918c39f69fe85f062f688a7a5e5d91c
39,386
39,386
749
cornell_movie_dialogs:m107
cornell_movie_dialogs
m107
jason x
en
other
"I'm missing two!\nShit! Temp's dropping! We should have left this rock an hour ago!\n\nYo, Teach, w(...TRUNCATED)
9ae0786b9bee74d3e2e37f8f4e5023dc5ad6e981c3d2ec7ff45c32e58698b3d8
19,594
19,594
504
cornell_movie_dialogs:m108
cornell_movie_dialogs
m108
jaws
en
other
"How come the sun didn't used to shine in here?\n'cause when we bought the house it was Autumn. This(...TRUNCATED)
eb5dcbdc0e4f0560ffba717ed827222629f24f6288c00403935c7c61eb47e57e
24,832
24,832
413
cornell_movie_dialogs:m109
cornell_movie_dialogs
m109
juno
en
other
"Well, well. If it isn't MacGuff the Crime Dog! Back for another test?\nI think the last one was def(...TRUNCATED)
744334e2e636f902c967c4b8808e50e9ee05c82a10770ba74ff7de5016e64ef7
41,510
41,510
673
End of preview. Expand in Data Studio

MovieGPT

An English-language, document-oriented dialogue corpus prepared for causal language-model training. All sources use one shared schema and one set of train/validation/test splits. The source field records provenance without separating the corpora into different dataset configurations.

Current data

Source Documents Train Validation Test
Friends 236 — — —
Cornell Movie-Dialogs 617 — — —
OpenSubtitles v2024 English 2092508 — — —
Unified total 2093361 1883987 105007 104367

Every row is one complete source document with a stable document_id and a text field. Friends documents correspond to episodes, Cornell documents to movies, and OpenSubtitles documents to artificial 512-line chunks because the OPUS plain-text archive does not preserve movie boundaries. Utterances are separated by newlines and every document ends with GPT-2's <|endoftext|> token. Train, validation, and test assignment is a stable SHA-256-based 90/5/5 split, so adding sources later will not reshuffle existing documents.

Load for GPT-2

from datasets import load_dataset
from transformers import AutoTokenizer

dataset = load_dataset("relentlessml/moviegpt")
tokenizer = AutoTokenizer.from_pretrained("gpt2")
block_size = min(tokenizer.model_max_length, 1024)

tokenized = dataset.map(
    lambda batch: tokenizer(batch["text"], add_special_tokens=False),
    batched=True,
    remove_columns=dataset["train"].column_names,
)

def group_texts(batch):
    concatenated = {key: sum(batch[key], []) for key in batch}
    usable = len(concatenated["input_ids"]) // block_size * block_size
    result = {
        key: [
            values[index:index + block_size]
            for index in range(0, usable, block_size)
        ]
        for key, values in concatenated.items()
    }
    result["labels"] = [ids.copy() for ids in result["input_ids"]]
    return result


language_model_data = tokenized.map(group_texts, batched=True)

Use dataset.filter(lambda row: row["source"] == "friends") when a single source is needed. The Hub repository intentionally exposes one unified configuration.

Fields

  • document_id: globally unique, stable ID prefixed by source.
  • source and source_id: corpus provenance.
  • title, language, and license: document metadata.
  • text: GPT-2-ready document text ending in <|endoftext|>.
  • text_sha256, character_count, byte_count, and line_count: integrity and auditing fields.

Cleaning and provenance

Friends excludes transcript notes and nonverbal-only rows, removes stage directions and transcript-parser artifacts, preserves scene boundaries, and does not serialize speaker or annotation metadata into the training text. Cornell Movie-Dialogs reconstructs each reply chain, removes empty utterances and known screenplay-formatting tags, and preserves conversation boundaries. OpenSubtitles removes subtitle markup, nonverbal cues, music-marked lines, caption credits, and immediate duplicates before fixed-size chunking.

The Friends source is ConvoKit's Friends Corpus, whose documentation identifies the original Emory NLP data as Apache-2.0. Cornell data comes from ConvoKit's Cornell Movie-Dialogs Corpus, and subtitle text comes from OPUS OpenSubtitles v2024. Licensing is recorded per document because the sources use different terms. Users remain responsible for reviewing source-specific rights before redistribution or model release.

Build metadata and counts are recorded in dataset_summary.json.

Downloads last month
35