Team Ai
Modelpublic

peft-internal-testing/tiny-random-gpt2

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