code: def get_prompts(interactive: bool) -> Iterable[list[str]]:
      if interactive:
          while True:
              try:
                  prompts = input("enter prompt: ").split("\n")
              except EOFError:
                  print("exiting")
                  sys.exit(0)
              yield prompts
      else:
          yield [
              "abc",
              "can you write a hello world program in C#",
              "peux tu resoudre le probleme des tours de Hanoi en ocaml",
          ]
  
imports: import json
  import os
  import readline
  import sys
  import time
  from dataclasses import dataclass
  from pathlib import Path
  from typing import Iterable, Optional, Tuple, Union
  import fire
  import model
  import mp_utils
  import sample_utils
  import torch
  from stats import Stats
  from tokenizer import Tokenizer
  from xformers.ops.fmha.attn_bias import BlockDiagonalCausalWithOffsetPaddedKeysMask
label_desc: Use image node_id 1 for calling a global function with example usage: get_prompts(interactive) without return types