{ "model_type": "gpt2", "n_ctx": 2048, "n_positions": 2048, "n_embd": 1536, "n_layer": 24, "n_head": 16, "vocab_size": 50257, "resid_pdrop": 0.1, "embd_pdrop": 0.1, "attn_pdrop": 0.1, "layer_norm_epsilon": 1e-5, "initializer_range": 0.02, "bos_token_id": 0, "eos_token_id": 2, "summary_type": "cls_index", "summary_use_proj": true, "summary_activation": "tanh", "summary_proj_to_labels": true, "summary_first_dropout": 0.1, "scale_attn_weights": true, "use_cache": true, "architectures": [ "GPT2LMHeadModel" ], "task_specific_params": { "text-generation": { "do_sample": true, "max_length": 50 } } }