code: def clean_iob_prefixes(labels) -> np.array:
      """Remove the initial character of IOB labels (B- and I- and such) if they exist."""
      return np.array(
          [
              label[2:]
              if label and label[:2] in ["B-", "I-", "O-"]
              else label
              for label in labels
          ]
      )
  
imports: from collections import Counter
  from typing import Dict, List
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: clean_iob_prefixes(labels) and returns: np