Datasets:

Modalities:
Text
Formats:
csv
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
character_id
stringlengths
14
57
x
stringlengths
80
80
y
stringclasses
79 values
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
You sad Andronici, have done with woes; Give sentence on the execrable wretch Th
a
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ou sad Andronici, have done with woes; Give sentence on the execrable wretch Tha
t
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
u sad Andronici, have done with woes; Give sentence on the execrable wretch That
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
sad Andronici, have done with woes; Give sentence on the execrable wretch That
h
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
sad Andronici, have done with woes; Give sentence on the execrable wretch That h
a
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ad Andronici, have done with woes; Give sentence on the execrable wretch That ha
t
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
d Andronici, have done with woes; Give sentence on the execrable wretch That hat
h
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
Andronici, have done with woes; Give sentence on the execrable wretch That hath
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
Andronici, have done with woes; Give sentence on the execrable wretch That hath
b
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ndronici, have done with woes; Give sentence on the execrable wretch That hath b
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
dronici, have done with woes; Give sentence on the execrable wretch That hath be
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ronici, have done with woes; Give sentence on the execrable wretch That hath bee
n
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
onici, have done with woes; Give sentence on the execrable wretch That hath been
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
nici, have done with woes; Give sentence on the execrable wretch That hath been
b
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ici, have done with woes; Give sentence on the execrable wretch That hath been b
r
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ci, have done with woes; Give sentence on the execrable wretch That hath been br
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
i, have done with woes; Give sentence on the execrable wretch That hath been bre
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
, have done with woes; Give sentence on the execrable wretch That hath been bree
d
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
have done with woes; Give sentence on the execrable wretch That hath been breed
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
have done with woes; Give sentence on the execrable wretch That hath been breede
r
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ave done with woes; Give sentence on the execrable wretch That hath been breeder
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ve done with woes; Give sentence on the execrable wretch That hath been breeder
o
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
e done with woes; Give sentence on the execrable wretch That hath been breeder o
f
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
done with woes; Give sentence on the execrable wretch That hath been breeder of
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
done with woes; Give sentence on the execrable wretch That hath been breeder of
t
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
one with woes; Give sentence on the execrable wretch That hath been breeder of t
h
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ne with woes; Give sentence on the execrable wretch That hath been breeder of th
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
e with woes; Give sentence on the execrable wretch That hath been breeder of the
s
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
with woes; Give sentence on the execrable wretch That hath been breeder of thes
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
with woes; Give sentence on the execrable wretch That hath been breeder of these
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ith woes; Give sentence on the execrable wretch That hath been breeder of these
d
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
th woes; Give sentence on the execrable wretch That hath been breeder of these d
i
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
h woes; Give sentence on the execrable wretch That hath been breeder of these di
r
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
woes; Give sentence on the execrable wretch That hath been breeder of these dir
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
woes; Give sentence on the execrable wretch That hath been breeder of these dire
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
oes; Give sentence on the execrable wretch That hath been breeder of these dire
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
es; Give sentence on the execrable wretch That hath been breeder of these dire e
v
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
s; Give sentence on the execrable wretch That hath been breeder of these dire ev
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
; Give sentence on the execrable wretch That hath been breeder of these dire eve
n
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
Give sentence on the execrable wretch That hath been breeder of these dire even
t
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
Give sentence on the execrable wretch That hath been breeder of these dire event
s
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ive sentence on the execrable wretch That hath been breeder of these dire events
.
THE_TRAGEDY_OF_TITUS_ANDRONICUS_A_ROMAN
ve sentence on the execrable wretch That hath been breeder of these dire events.
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
Give us the proudest prisoner of the Goths, That we may hew his limbs, and on a
p
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
ive us the proudest prisoner of the Goths, That we may hew his limbs, and on a p
i
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
ve us the proudest prisoner of the Goths, That we may hew his limbs, and on a pi
l
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
e us the proudest prisoner of the Goths, That we may hew his limbs, and on a pil
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
us the proudest prisoner of the Goths, That we may hew his limbs, and on a pile
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
us the proudest prisoner of the Goths, That we may hew his limbs, and on a pile
A
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
s the proudest prisoner of the Goths, That we may hew his limbs, and on a pile A
d
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
the proudest prisoner of the Goths, That we may hew his limbs, and on a pile Ad
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
the proudest prisoner of the Goths, That we may hew his limbs, and on a pile Ad
m
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
he proudest prisoner of the Goths, That we may hew his limbs, and on a pile Ad m
a
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
e proudest prisoner of the Goths, That we may hew his limbs, and on a pile Ad ma
n
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
proudest prisoner of the Goths, That we may hew his limbs, and on a pile Ad man
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
proudest prisoner of the Goths, That we may hew his limbs, and on a pile Ad mane
s
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
roudest prisoner of the Goths, That we may hew his limbs, and on a pile Ad manes
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
oudest prisoner of the Goths, That we may hew his limbs, and on a pile Ad manes
f
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
udest prisoner of the Goths, That we may hew his limbs, and on a pile Ad manes f
r
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
dest prisoner of the Goths, That we may hew his limbs, and on a pile Ad manes fr
a
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
est prisoner of the Goths, That we may hew his limbs, and on a pile Ad manes fra
t
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
st prisoner of the Goths, That we may hew his limbs, and on a pile Ad manes frat
r
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
t prisoner of the Goths, That we may hew his limbs, and on a pile Ad manes fratr
u
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
prisoner of the Goths, That we may hew his limbs, and on a pile Ad manes fratru
m
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
prisoner of the Goths, That we may hew his limbs, and on a pile Ad manes fratrum
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
risoner of the Goths, That we may hew his limbs, and on a pile Ad manes fratrum
s
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
isoner of the Goths, That we may hew his limbs, and on a pile Ad manes fratrum s
a
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
soner of the Goths, That we may hew his limbs, and on a pile Ad manes fratrum sa
c
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
oner of the Goths, That we may hew his limbs, and on a pile Ad manes fratrum sac
r
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
ner of the Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacr
i
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
er of the Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacri
f
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
r of the Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacrif
i
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
of the Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacrifi
c
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
of the Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacrific
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
f the Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
the Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice
h
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
the Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice h
i
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
he Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice hi
s
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
e Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice his
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice his
f
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
Goths, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice his f
l
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
oths, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice his fl
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
ths, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice his fle
s
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
hs, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice his fles
h
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
s, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
, That we may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh
B
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
That we may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh B
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
That we may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Be
f
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
hat we may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Bef
o
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
at we may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Befo
r
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
t we may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Befor
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
we may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Before
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
we may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Before
t
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
e may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Before t
h
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Before th
i
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
may hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Before thi
s
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
ay hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Before this
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
y hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Before this
e
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Before this e
a
THE_TRAGEDY_OF_TITUS_ANDRONICUS_LUCIUS
hew his limbs, and on a pile Ad manes fratrum sacrifice his flesh Before this ea
r

Dataset Card for Dataset Name

This dataset is a part of the LEAF benchmark. The Shakespeare dataset is built from The Complete Works of William Shakespeare with the goal of the next character prediction.

Dataset Details

Dataset Description

Each sample is comprised of a text of 80 characters (x) and a next character (y).

  • Curated by: LEAF
  • Language(s) (NLP): English
  • License: BSD 2-Clause License

Dataset Sources

The code from the original repository was adopted to post it here.

Uses

This dataset is intended to be used in Federated Learning settings. A pair of a character and a play denotes a unique user in the federation.

Direct Use

This dataset is designed to be used in FL settings. We recommend using Flower Dataset (flwr-datasets) and Flower (flwr).

To partition the dataset, do the following.

  1. Install the package.
pip install flwr-datasets
  1. Use the HF Dataset under the hood in Flower Datasets.
from flwr_datasets import FederatedDataset
from flwr_datasets.partitioner import NaturalIdPartitioner

fds = FederatedDataset(
    dataset="flwrlabs/shakespeare",
    partitioners={"train": NaturalIdPartitioner(partition_by="character_id")}
)
partition = fds.load_partition(partition_id=0)

Dataset Structure

The dataset contains only train split. The split in the paper happens at each node only (no centralized dataset). The dataset is comprised of columns:

  • character_id: str - id denoting a pair of character + play (node in federated learning settings)
  • x: str - text of 80 characters
  • y: str - single character following the x

Please note that the data is temporal. Therefore, caution is needed when dividing it so as not to leak the information from the train set.

Dataset Creation

Curation Rationale

This dataset was created as a part of the LEAF benchmark.

Source Data

The Complete Works of William Shakespeare

Data Collection and Processing

For the preprocessing details, please refer to the original paper and the source code.

Who are the source data producers?

William Shakespeare

Citation

When working on the LEAF benchmark, please cite the original paper. If you're using this dataset with Flower Datasets, you can cite Flower.

BibTeX:

@article{DBLP:journals/corr/abs-1812-01097,
  author       = {Sebastian Caldas and
                  Peter Wu and
                  Tian Li and
                  Jakub Kone{\v{c}}n{\'y} and
                  H. Brendan McMahan and
                  Virginia Smith and
                  Ameet Talwalkar},
  title        = {{LEAF:} {A} Benchmark for Federated Settings},
  journal      = {CoRR},
  volume       = {abs/1812.01097},
  year         = {2018},
  url          = {http://arxiv.org/abs/1812.01097},
  eprinttype    = {arXiv},
  eprint       = {1812.01097},
  timestamp    = {Wed, 23 Dec 2020 09:35:18 +0100},
  biburl       = {https://dblp.org/rec/journals/corr/abs-1812-01097.bib},
  bibsource    = {dblp computer science bibliography, https://dblp.org}
}
@article{DBLP:journals/corr/abs-2007-14390,
  author       = {Daniel J. Beutel and
                  Taner Topal and
                  Akhil Mathur and
                  Xinchi Qiu and
                  Titouan Parcollet and
                  Nicholas D. Lane},
  title        = {Flower: {A} Friendly Federated Learning Research Framework},
  journal      = {CoRR},
  volume       = {abs/2007.14390},
  year         = {2020},
  url          = {https://arxiv.org/abs/2007.14390},
  eprinttype    = {arXiv},
  eprint       = {2007.14390},
  timestamp    = {Mon, 03 Aug 2020 14:32:13 +0200},
  biburl       = {https://dblp.org/rec/journals/corr/abs-2007-14390.bib},
  bibsource    = {dblp computer science bibliography, https://dblp.org}
}

Dataset Card Contact

In case of any doubts, please contact Flower Labs.

Downloads last month
122
Edit dataset card