system HF staff commited on
Commit
1f82b82
1 Parent(s): 790d1f1

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +4 -26
config.json CHANGED
@@ -1,24 +1,14 @@
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": 1024,
@@ -26,25 +16,13 @@
26
  "n_layer": 24,
27
  "n_positions": 1024,
28
  "n_special": 0,
29
- "num_beams": 1,
30
- "num_labels": 2,
31
- "num_return_sequences": 1,
32
- "output_attentions": false,
33
- "output_hidden_states": false,
34
  "output_past": true,
35
  "predict_special_tokens": true,
36
- "pruned_heads": {},
37
- "repetition_penalty": 1.0,
38
  "resid_pdrop": 0.1,
39
  "summary_activation": null,
40
  "summary_first_dropout": 0.1,
41
  "summary_proj_to_labels": true,
42
  "summary_type": "cls_index",
43
  "summary_use_proj": true,
44
- "temperature": 1.0,
45
- "top_k": 50,
46
- "top_p": 1.0,
47
- "torchscript": false,
48
- "use_bfloat16": false,
49
  "vocab_size": 50257
50
- }
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": 1024,
16
  "n_layer": 24,
17
  "n_positions": 1024,
18
  "n_special": 0,
 
 
 
 
 
19
  "output_past": true,
20
  "predict_special_tokens": true,
 
 
21
  "resid_pdrop": 0.1,
22
  "summary_activation": null,
23
  "summary_first_dropout": 0.1,
24
  "summary_proj_to_labels": true,
25
  "summary_type": "cls_index",
26
  "summary_use_proj": true,
 
 
 
 
 
27
  "vocab_size": 50257
28
+ }