Module: tff.simulation.baselines.shakespeare

Stay organized with collections Save and categorize content based on your preferences.

Libraries for constructing baseline tasks for the Shakespeare dataset.

Functions

create_character_prediction_task(...): Creates a baseline task for next-character prediction on Shakespeare.

DEFAULT_SEQUENCE_LENGTH 80
VOCAB_LENGTH 90