IsmaelMousa
commited on
Commit
•
6cf08d1
1
Parent(s):
8033139
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,90 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
task_categories:
|
4 |
+
- summarization
|
5 |
+
- text-generation
|
6 |
+
- fill-mask
|
7 |
+
sub_tasks:
|
8 |
+
- language-modeling
|
9 |
+
- masked-language-modeling
|
10 |
+
language:
|
11 |
+
- en
|
12 |
+
tags:
|
13 |
+
- movies
|
14 |
+
- NLP
|
15 |
+
libraries:
|
16 |
+
- datasets
|
17 |
+
- pandas
|
18 |
+
- polars
|
19 |
+
pretty_name: movies
|
20 |
+
size_categories:
|
21 |
+
- 1K<n<10K
|
22 |
+
modalities: text
|
23 |
+
formats: json
|
24 |
+
---
|
25 |
+
|
26 |
+
# Movie Scripts Dataset
|
27 |
+
|
28 |
+
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.
|
29 |
+
|
30 |
+
## Details
|
31 |
+
|
32 |
+
The dataset contains 2 columns:
|
33 |
+
|
34 |
+
- **Name**: The title of the movie.
|
35 |
+
- **Script**: The full script of the movie in English.
|
36 |
+
|
37 |
+
## Usage
|
38 |
+
|
39 |
+
The Movie Scripts Dataset is ideal for training and evaluating models for dialogue generation, script summarization, and other text analysis tasks.
|
40 |
+
It offers a diverse set of scripts that can be used to explore various aspects of movie dialogues and narratives.
|
41 |
+
|
42 |
+
### Example Usage
|
43 |
+
|
44 |
+
Here’s a quick example of how to load and explore the dataset:
|
45 |
+
|
46 |
+
```python
|
47 |
+
from datasets import load_dataset
|
48 |
+
|
49 |
+
movies = load_dataset("IsmaelMousa/movies", split="train")
|
50 |
+
|
51 |
+
sample = train[5]
|
52 |
+
print(f"Movie Name: {sample['Name']}")
|
53 |
+
print(f"Script: {sample['Script'][10000:11000]}...")
|
54 |
+
```
|
55 |
+
Output
|
56 |
+
|
57 |
+
```
|
58 |
+
Movie Name: Belle
|
59 |
+
Script: n this
|
60 |
+
moment, but hold this in your
|
61 |
+
heart...you are loved...Just as
|
62 |
+
I loved your mother.
|
63 |
+
A tear spills and DIDO's little fingers come up to wipe it
|
64 |
+
from his cheek. He presses his lips to her hand, sobbing a
|
65 |
+
moment, and then he is gone - to stay any longer would be
|
66 |
+
too much to bare.
|
67 |
+
6.
|
68 |
+
|
69 |
+
|
70 |
+
7 INT. KENWOOD HOUSE. STAIRS/ENTRANCE HALL/GALLERY - DAY. 2 7 *
|
71 |
+
|
72 |
+
ON ELIZABETH seated at the grand staircase as LADY MARY and
|
73 |
+
DIDO emerge. Like ELIZABETH, DIDO is now freshly dressed in
|
74 |
+
rich silks, an adorable sight as they move through corridors
|
75 |
+
ELIZABETH
|
76 |
+
Are you...a nee-gro?
|
77 |
+
ELIZABETH makes her way across...taking her aunt's hand as
|
78 |
+
all three walk. DIDO is silent.
|
79 |
+
|
80 |
+
ELIZABETH (CONT'D)
|
81 |
+
Are you what they call `a negro?'
|
82 |
+
I heard them talking.
|
83 |
+
LADY M...
|
84 |
+
```
|
85 |
+
|
86 |
+
## Source
|
87 |
+
The scripts in this dataset are sourced from various movie script repositories and are provided in their original form.
|
88 |
+
|
89 |
+
## License
|
90 |
+
This dataset is provided under the `Apache 2.0` license for both personal and commercial use, with proper attribution.
|