code: def map_to_numpy(data):
      return np.asarray(data)
  
file_path: ColossalAI/examples/community/roberta/preprocessing/get_mask.py
imports: import collections
  import logging
  import random
  import jieba
  import re
  import mask
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: map_to_numpy(data) and returns: np