code: def get_arabic_mnist_labels(file_path):
      regex = "label_(.+).png"
      label = re.search(regex, str(file_path)).group(1)
      return arabic_mnist_labels[int(label) - 1]
  
imports: import logging
  import os
  import regex
  from aim.fastai import AimCallback
  from fastai.vision.all import CategoryBlock, CrossEntropyLossFlat, DataBlock, GrandparentSplitter, ImageBlock, Normalize, Resize, accuracy, aug_transforms, cnn_learner, get_image_files, imagenet_stats, resnet18
label_desc: Use image node_id 1 for calling a global function with example usage: get_arabic_mnist_labels(file_path) and returns: arabic_mnist_labels