code: def test_90_generation_from_long_input(self):
      src_text = [
          "Social anxiety\nWow, I am never shy. Do you have anxiety?\nYes. I end up sweating and blushing and feel"
          " like       i'm going to throw up.\nand why is that?"
      ]
  
      model_inputs = self.tokenizer(src_text, return_tensors="pt").to(
          torch_device
      )
  
      assert isinstance(self.tokenizer, BlenderbotSmallTokenizer)
      generated_ids = self.model.generate(**model_inputs)[0]
      reply = self.tokenizer.decode(
          generated_ids,
          skip_special_tokens=True,
          clean_up_tokenization_spaces=True,
      )
  
      assert reply in (
          "i don't know. i just feel like i'm going to throw up. it's not fun.",
          "i'm not sure. i just feel like i've been feeling like i have to be in a certain place",
      )
  
imports: import tempfile
  import unittest
  from transformers import BlenderbotSmallConfig, is_torch_available
  from transformers.testing_utils import require_torch, slow, torch_device
  from transformers.utils import cached_property
  from ...generation.test_generation_utils import GenerationTesterMixin
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_common import ModelTesterMixin, ids_tensor
label_desc: Use image node_id 3 for calling the Blenderbot90MIntegrationTests obj's underlying member method code with example usage: obj.test_90_generation_from_long_input() without return types