hezar.models.text_generation.gpt2 package¶
Submodules¶
- hezar.models.text_generation.gpt2.gpt2_text_generation module
- hezar.models.text_generation.gpt2.gpt2_text_generation_config module
GPT2TextGenerationConfig
GPT2TextGenerationConfig.add_cross_attention
GPT2TextGenerationConfig.attn_pdrop
GPT2TextGenerationConfig.bos_token_id
GPT2TextGenerationConfig.embd_pdrop
GPT2TextGenerationConfig.eos_token_id
GPT2TextGenerationConfig.generation
GPT2TextGenerationConfig.gradient_checkpointing
GPT2TextGenerationConfig.initializer_range
GPT2TextGenerationConfig.layer_norm_epsilon
GPT2TextGenerationConfig.model_type
GPT2TextGenerationConfig.n_ctx
GPT2TextGenerationConfig.n_embd
GPT2TextGenerationConfig.n_head
GPT2TextGenerationConfig.n_inner
GPT2TextGenerationConfig.n_layer
GPT2TextGenerationConfig.n_positions
GPT2TextGenerationConfig.name
GPT2TextGenerationConfig.resid_pdrop
GPT2TextGenerationConfig.summary_activation
GPT2TextGenerationConfig.summary_first_dropout
GPT2TextGenerationConfig.use_cache
GPT2TextGenerationConfig.vocab_size
GenerationConfig