code: def __init__(
      self,
      parent,
      batch_size=13,
      seq_length=7,
      is_training=True,
      use_labels=False,
      vocab_size=99,
      hidden_size=16,
      num_hidden_layers=2,
      num_attention_heads=4,
      intermediate_size=4,
      hidden_act="gelu",
      hidden_dropout_prob=0.1,
      attention_probs_dropout_prob=0.1,
      max_position_embeddings=20,
      eos_token_id=2,
      pad_token_id=1,
      bos_token_id=0,
  ):
      self.parent = parent
      self.batch_size = batch_size
      self.seq_length = seq_length
      self.is_training = is_training
      self.use_labels = use_labels
      self.vocab_size = vocab_size
      self.hidden_size = hidden_size
      self.num_hidden_layers = num_hidden_layers
      self.num_attention_heads = num_attention_heads
      self.intermediate_size = intermediate_size
      self.hidden_act = hidden_act
      self.hidden_dropout_prob = hidden_dropout_prob
      self.attention_probs_dropout_prob = attention_probs_dropout_prob
      self.max_position_embeddings = max_position_embeddings
      self.eos_token_id = eos_token_id
      self.pad_token_id = pad_token_id
      self.bos_token_id = bos_token_id
  
      # forcing a certain token to be generated, sets all other tokens to -inf
      # if however the token to be generated is already at -inf then it can lead token
      # `nan` values and thus break generation
      self.forced_bos_token_id = None
      self.forced_eos_token_id = None
  
imports: import tempfile
  import unittest
  from transformers import BlenderbotConfig, is_torch_available
  from transformers.testing_utils import require_sentencepiece, require_tokenizers, 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 1 to create a new BlenderbotModelTester object  with example: obj = BlenderbotModelTester(parent, batch_size, seq_length, is_training, use_labels, vocab_size, hidden_size, num_hidden_layers, num_attention_heads, intermediate_size, hidden_act, hidden_dropout_prob, attention_probs_dropout_prob, max_position_embeddings, eos_token_id, pad_token_id, bos_token_id)