code: def text_generation_assert(x, y):
      return set(res["generated_text"] for res in x) == set(
          res["generated_text"] for res in y
      )
  
imports: import os
  import time
  import torch
  import pytest
  import itertools
  import deepspeed
  from deepspeed.git_version_info import torch_info
  from unit.common import DistributedTest
  from packaging import version
  from deepspeed.ops.op_builder import OpBuilder
  from transformers import pipeline
  from transformers.models.t5.modeling_t5 import T5Block
  from transformers.models.roberta.modeling_roberta import RobertaLayer
  from huggingface_hub import HfApi
label_desc: Use image node_id 12 for calling a global function with example usage: text_generation_assert(x, y) and returns: unknown