code: def wandb_process(
      x: TensorText,
      y: TensorCategory | TensorMultiCategory,
      samples,
      outs,
      preds,
  ):
      data = [[s[0], s[1], o[0]] for s, o in zip(samples, outs)]
      return {
          "Prediction_Samples": wandb.Table(
              data=data, columns=["Text", "Target", "Prediction"]
          )
      }
  
imports: from __future__ import annotations
  from ..basics import *
  from .progress import *
  from ..text.data import TensorText
  from ..tabular.all import TabularDataLoaders, Tabular
  from .hook import total_params
  from .tracker import SaveModelCallback
  import wandb
label_desc: Use image node_id 12 for calling a global function with example usage: wandb_process(x, y, samples, outs, preds) and returns: dict