code: def main():
      model, ds = get_model_dataset("074d4004cc6b11ecad7a0242ac1c0002")
      model.eval()
  
      with monit.section("greedy"):
          sample(model, ds, GreedySampler(), 4, 32, 128, "It is")
  
      with monit.section("temperature=1."):
          sample(
              model, ds, TemperatureSampler(1.0), 4, 32, 128, "It is"
          )
      with monit.section("temperature=.1"):
          sample(
              model, ds, TemperatureSampler(0.1), 4, 32, 128, "It is"
          )
      with monit.section("temperature=10."):
          sample(
              model, ds, TemperatureSampler(10.0), 4, 32, 128, "It is"
          )
  
      with monit.section("top_k=5"):
          sample(
              model,
              ds,
              TopKSampler(2, TemperatureSampler(1.0)),
              4,
              32,
              128,
              "It is",
          )
  
      with monit.section("nucles p=.95"):
          sample(
              model,
              ds,
              NucleusSampler(0.95, TemperatureSampler(1.0)),
              4,
              32,
              128,
              "It is",
          )
      with monit.section("nucles p=.95"):
          sample(
              model,
              ds,
              NucleusSampler(0.1, TemperatureSampler(1.0)),
              4,
              32,
              128,
              "It is",
          )
  
file_path: annotated_deep_learning_paper_implementations/labml_nn/sampling/experiment_tiny.py
imports: from typing import Tuple
  import torch
  from labml import experiment, monit
  from labml import logger
  from labml.logger import Text
  from labml_helpers.datasets.text import TextDataset
  from labml_nn.sampling import Sampler
  from labml_nn.sampling.greedy import GreedySampler
  from labml_nn.sampling.nucleus import NucleusSampler
  from labml_nn.sampling.temperature import TemperatureSampler
  from labml_nn.sampling.top_k import TopKSampler
  from labml_nn.transformers.basic.autoregressive_experiment import Configs, AutoregressiveTransformer
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types