hezar.models.image2text.trocr package¶
Submodules¶
- hezar.models.image2text.trocr.trocr_image2text module
- hezar.models.image2text.trocr.trocr_image2text_config module
DecoderConfig
DecoderConfig.add_cross_attention
DecoderConfig.attention_probs_dropout_prob
DecoderConfig.bos_token_id
DecoderConfig.classifier_dropout
DecoderConfig.eos_token_id
DecoderConfig.gradient_checkpointing
DecoderConfig.hidden_act
DecoderConfig.hidden_dropout_prob
DecoderConfig.hidden_size
DecoderConfig.initializer_range
DecoderConfig.intermediate_size
DecoderConfig.is_decoder
DecoderConfig.layer_norm_eps
DecoderConfig.max_position_embeddings
DecoderConfig.num_attention_heads
DecoderConfig.num_hidden_layers
DecoderConfig.pad_token_id
DecoderConfig.position_embedding_type
DecoderConfig.type_vocab_size
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.num_attention_heads
EncoderConfig.num_channels
EncoderConfig.num_hidden_layers
EncoderConfig.patch_size
EncoderConfig.qkv_bias
GenerationConfig
TrOCRImage2TextConfig