# Module: tff.simulation.datasets.shakespeare

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

Libraries for the Shakespeare dataset for federated learning simulation.

## Functions

[`get_synthetic(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/shakespeare/get_synthetic): Creates [`tff.simulation.datasets.ClientData`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/ClientData) for a synthetic in-memory example of Shakespeare.

[`load_data(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/shakespeare/load_data): Loads the federated Shakespeare dataset.