File size: 1,046 Bytes
d4c4a75
9389cf3
 
 
 
 
 
 
 
 
 
 
d4c4a75
9389cf3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
language:
- en
license: cc0-1.0
task_categories:
- text-generation
pretty_name: Shakespeare Complete Works - Dialogue Format
tags:
- shakespeare
- dialogue
- drama
- literature
---

Taken from Andrej Karpathy and repurposed for UofT's CSC 413 Deep Learning 
40,000 lines of Shakespeare from a variety of Shakespeare's plays. Featured in Andrej Karpathy's blog post 'The Unreasonable Effectiveness of Recurrent Neural Networks': http://karpathy.github.io/2015/05/21/rnn-effectiveness/.



## Usage

To use for e.g. character modelling:

```python
from datasets import load_dataset

# Load the dataset
dataset = load_dataset("r-three/shakespeare-sonnet-dialogue-blob")


```

## Source

Public domain works by William Shakespeare, sourced from the Karpathy char-rnn repository.

To cite:
```
@misc{
  author={Karpathy, Andrej},
  title={char-rnn},
  year={2015},
  howpublished={\url{https://github.com/karpathy/char-rnn}}
}
```


## License

This dataset is in the public domain (CC0-1.0) as Shakespeare's works are no longer under copyright.