dacorvo HF staff commited on
Commit
86c2f75
·
1 Parent(s): 737f08e

Upload checkpoint/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. checkpoint/config.json +40 -0
checkpoint/config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 98,
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
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.31.0.dev0",
37
+ "type_vocab_size": 16,
38
+ "use_cache": true,
39
+ "vocab_size": 1000
40
+ }