Skip to content

En perplexity

tiny_shakespeare

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'.

References:

  • Hugging Face Dataset
    {
      class_path: 'Perplexity',
      init_args: {
        eval_dataset: {
          class_path: 'HFTextDataset',
          init_args: {
            path: 'karpathy/tiny_shakespeare',
            split: 'test',
            text_template: '{{ text }}',
          },
        },
      },
    }