# Module: tff.simulation.baselines.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 constructing baseline tasks for the Shakespeare dataset.

## Functions

[`create_character_prediction_task(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/baselines/shakespeare/create_character_prediction_task): Creates a baseline task for next-character prediction on Shakespeare.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| DEFAULT_SEQUENCE_LENGTH | `80` |
| VOCAB_LENGTH | `90` |

<br />