hezar.models.image2text.vit_gpt2 package¶
Submodules¶
- hezar.models.image2text.vit_gpt2.vit_gpt2_image2text module
- hezar.models.image2text.vit_gpt2.vit_gpt2_image2text_config module
DecoderConfig
DecoderConfig.add_cross_attention
DecoderConfig.attn_pdrop
DecoderConfig.bos_token_id
DecoderConfig.embd_pdrop
DecoderConfig.eos_token_id
DecoderConfig.gradient_checkpointing
DecoderConfig.initializer_range
DecoderConfig.layer_norm_epsilon
DecoderConfig.model_type
DecoderConfig.n_ctx
DecoderConfig.n_embd
DecoderConfig.n_head
DecoderConfig.n_inner
DecoderConfig.n_layer
DecoderConfig.n_positions
DecoderConfig.name
DecoderConfig.resid_pdrop
DecoderConfig.summary_activation
DecoderConfig.summary_first_dropout
DecoderConfig.use_cache
DecoderConfig.vocab_size
EncoderConfig
EncoderConfig.attention_probs_dropout_prob
EncoderConfig.encoder_stride
EncoderConfig.hidden_act
EncoderConfig.hidden_dropout_prob
EncoderConfig.hidden_size
EncoderConfig.image_size
EncoderConfig.initializer_range
EncoderConfig.intermediate_size
EncoderConfig.layer_norm_eps
EncoderConfig.name
EncoderConfig.num_attention_heads
EncoderConfig.num_channels
EncoderConfig.num_hidden_layers
EncoderConfig.patch_size
EncoderConfig.qkv_bias
GenerationConfig
ViTGPT2Image2TextConfig