code: def convert_dataset(in_directory, out_directory, short_name):
      """
      Reads in train, validation, and test data and converts them to .json file
      """
      filenames = ("IOB2_train.txt", "IOB2_valid.txt", "IOB2_test.txt")
      for shard, filename in zip(SHARDS, filenames):
          input_filename = os.path.join(in_directory, filename)
          output_filename = os.path.join(
              out_directory, "%s.%s.bio" % (short_name, shard)
          )
          shutil.copy(input_filename, output_filename)
      convert_bio_to_json(
          out_directory, out_directory, short_name, "bio"
      )
  
imports: import argparse
  import os
  import shutil
  from stanza.utils.datasets.ner.utils import convert_bio_to_json, SHARDS
label_desc: Use image node_id 1 for calling a global function with example usage: convert_dataset(in_directory, out_directory, short_name) without return types