Team Ai
Modelpublic

peft-internal-testing/tiny-random-GPT2LMHeadModel

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes65kdownloads
config.json36 linesDownload Raw Back to root
1{2  "activation_function": "gelu",3  "architectures": [4    "GPT2LMHeadModel"5  ],6  "attn_pdrop": 0.1,7  "bos_token_id": 0,8  "dtype": "float32",9  "embd_pdrop": 0.1,10  "eos_token_id": 0,11  "gradient_checkpointing": false,12  "initializer_range": 0.02,13  "is_decoder": true,14  "layer_norm_epsilon": 1e-05,15  "model_type": "gpt2",16  "n_embd": 32,17  "n_head": 4,18  "n_inner": 37,19  "n_layer": 5,20  "n_positions": 512,21  "pad_token_id": 1023,22  "reorder_and_upcast_attn": false,23  "resid_pdrop": 0.1,24  "scale_attn_by_inverse_layer_idx": false,25  "scale_attn_weights": true,26  "summary_activation": null,27  "summary_first_dropout": 0.1,28  "summary_proj_to_labels": true,29  "summary_type": "cls_index",30  "summary_use_proj": true,31  "transformers_version": "5.0.0.dev0",32  "type_vocab_size": 16,33  "use_cache": true,34  "vocab_size": 102435}36