code: def split_gsm8k_gpt3_generations_to_steps(
      reasoning: str,
  ) -> List[str]:
      """
      This logic is copied directly from the code that parsed GSM8K generations into steps
      for annotation.
      """
      return [
          split
          for s in sent_tokenize(reasoning)
          for split in s.split("\n")
          if len(split) > 0
      ]
  
file_path: ParlAI/projects/roscoe/utils.py
imports: import numpy
  import os
  import pathlib
  from nltk.tokenize import sent_tokenize
  from typing import Callable, Dict, Iterable, List, Tuple
  import torch
label_desc: Use image node_id 6 for calling a global function with example usage: split_gsm8k_gpt3_generations_to_steps(reasoning) and returns: unknown