code: def __init__(
      self,
      vocab_size=100,
      batch_size=256,
      action_weight=5,
      reward_weight=1,
      value_weight=1,
      block_size=249,
      action_dim=6,
      observation_dim=17,
      transition_dim=25,
      n_layer=4,
      n_head=4,
      n_embd=128,
      embd_pdrop=0.1,
      attn_pdrop=0.1,
      resid_pdrop=0.1,
      learning_rate=0.0006,
      max_position_embeddings=512,
      type_vocab_size=2,
      initializer_range=0.02,
      layer_norm_eps=1e-12,
      kaiming_initializer_range=1,
      use_cache=True,
      is_encoder_decoder=False,
      pad_token_id=1,
      bos_token_id=50256,
      eos_token_id=50256,
      **kwargs,
  ):
      self.vocab_size = vocab_size
      self.batch_size = batch_size
      self.action_weight = action_weight
      self.reward_weight = reward_weight
      self.value_weight = value_weight
      self.max_position_embeddings = max_position_embeddings
      self.block_size = block_size
      self.action_dim = action_dim
      self.observation_dim = observation_dim
      self.transition_dim = transition_dim
      self.learning_rate = learning_rate
      self.n_layer = n_layer
      self.n_head = n_head
      self.n_embd = n_embd
      self.embd_pdrop = embd_pdrop
      self.attn_pdrop = attn_pdrop
      self.resid_pdrop = resid_pdrop
      self.initializer_range = initializer_range
      self.type_vocab_size = type_vocab_size
      self.layer_norm_eps = layer_norm_eps
      self.kaiming_initializer_range = kaiming_initializer_range
      self.use_cache = use_cache
      super().__init__(
          pad_token_id=pad_token_id,
          bos_token_id=bos_token_id,
          eos_token_id=eos_token_id,
          **kwargs,
      )
  
imports: from ...configuration_utils import PretrainedConfig
  from ...utils import logging
label_desc: Use image node_id 1 to create a new TrajectoryTransformerConfig object from inherited base classes: PretrainedConfig with example: obj = TrajectoryTransformerConfig(vocab_size, batch_size, action_weight, reward_weight, value_weight, block_size, action_dim, observation_dim, transition_dim, n_layer, n_head, n_embd, embd_pdrop, attn_pdrop, resid_pdrop, learning_rate, max_position_embeddings, type_vocab_size, initializer_range, layer_norm_eps, kaiming_initializer_range, use_cache, is_encoder_decoder, pad_token_id, bos_token_id, eos_token_id)