system HF staff commited on
Commit
46036fd
1 Parent(s): 5630d64

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +4 -27
config.json CHANGED
@@ -1,49 +1,26 @@
1
  {
 
2
  "architectures": [
3
  "GPT2LMHeadModel"
4
  ],
5
  "attn_pdrop": 0.1,
6
- "do_sample": false,
7
  "embd_pdrop": 0.1,
8
- "finetuning_task": null,
9
- "id2label": {
10
- "0": "LABEL_0",
11
- "1": "LABEL_1"
12
- },
13
  "initializer_range": 0.02,
14
- "is_decoder": false,
15
- "label2id": {
16
- "LABEL_0": 0,
17
- "LABEL_1": 1
18
- },
19
  "layer_norm_epsilon": 1e-05,
20
- "length_penalty": 1.0,
21
- "max_length": 20,
22
  "model_type": "gpt2",
23
  "n_ctx": 1024,
24
  "n_embd": 768,
25
  "n_head": 12,
26
  "n_layer": 12,
27
  "n_positions": 1024,
28
- "num_beams": 1,
29
- "num_labels": 2,
30
- "num_return_sequences": 1,
31
- "output_attentions": false,
32
- "output_hidden_states": false,
33
  "output_past": true,
34
- "pad_token_id": null,
35
- "pruned_heads": {},
36
- "repetition_penalty": 1.0,
37
  "resid_pdrop": 0.1,
38
  "summary_activation": null,
39
  "summary_first_dropout": 0.1,
40
  "summary_proj_to_labels": true,
41
  "summary_type": "cls_index",
42
  "summary_use_proj": true,
43
- "temperature": 1.0,
44
- "top_k": 50,
45
- "top_p": 1.0,
46
- "torchscript": false,
47
- "use_bfloat16": false,
48
  "vocab_size": 50257
49
- }
1
  {
2
+ "activation_function": "gelu_new",
3
  "architectures": [
4
  "GPT2LMHeadModel"
5
  ],
6
  "attn_pdrop": 0.1,
7
+ "bos_token_id": 50256,
8
  "embd_pdrop": 0.1,
9
+ "eos_token_id": 50256,
 
 
 
 
10
  "initializer_range": 0.02,
 
 
 
 
 
11
  "layer_norm_epsilon": 1e-05,
 
 
12
  "model_type": "gpt2",
13
  "n_ctx": 1024,
14
  "n_embd": 768,
15
  "n_head": 12,
16
  "n_layer": 12,
17
  "n_positions": 1024,
 
 
 
 
 
18
  "output_past": true,
 
 
 
19
  "resid_pdrop": 0.1,
20
  "summary_activation": null,
21
  "summary_first_dropout": 0.1,
22
  "summary_proj_to_labels": true,
23
  "summary_type": "cls_index",
24
  "summary_use_proj": true,
 
 
 
 
 
25
  "vocab_size": 50257
26
+ }