code: def get_start_end(
      real_shard, base=0, server_num=10, server_name="GPU"
  ):
      import socket
  
      host = int(socket.gethostname().split(server_name)[-1])
  
      fin_list = real_shard[server_num * base + host - 1]
      print(fin_list)
      print(
          f"I am server {host}, process {server_num * base + host - 1}, len {len(fin_list)}"
      )
      return fin_list, host
  
file_path: ColossalAI/examples/community/roberta/preprocessing/sentence_split.py
imports: import argparse
  import functools
  import json
  import multiprocessing
  import os
  import re
  import time
  from typing import List
  from tqdm import tqdm
label_desc: Use image node_id 4 for calling a global function with example usage: get_start_end(real_shard, base, server_num, server_name) and returns: fin_list,  host