code: def _test_tiny_shakespeare():
      from labml import lab
  
      _ = TextFileDataset(
          lab.get_data_path() / "tiny_shakespeare.txt",
          lambda x: list(x),
          url="https://raw.githubusercontent.com/karpathy/char-rnn/master/data/tinyshakespeare/input.txt",
      )
  
imports: import random
  from pathlib import PurePath, Path
  from typing import List, Callable, Dict, Optional
  import torch
  from torch.utils.data import IterableDataset, Dataset
  from labml import monit
  from labml.utils.download import download_file
label_desc: Use image node_id 1 for calling a global function with example usage: _test_tiny_shakespeare() without return types