asier-gutierrez commited on
Commit
1f42896
1 Parent(s): b0e4171
Files changed (1) hide show
  1. config.json +10 -28
config.json CHANGED
@@ -3,39 +3,18 @@
3
  "GPT2LMHeadModel"
4
  ],
5
  "attn_pdrop": 0.0,
6
- "bos_token_id": null,
7
- "do_sample": false,
8
  "embd_pdrop": 0.0,
9
- "eos_token_ids": null,
10
- "finetuning_task": null,
11
- "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1"
14
- },
15
  "initializer_range": 0.02,
16
- "label2id": {
17
- "LABEL_0": 0,
18
- "LABEL_1": 1
19
- },
20
  "layer_norm_epsilon": 1e-06,
21
- "length_penalty": 1.0,
22
- "max_length": 20,
23
  "model_type": "gpt2",
24
  "n_ctx": 512,
25
  "n_embd": 1280,
26
  "n_head": 20,
27
  "n_layer": 36,
28
  "n_positions": 512,
29
- "num_beams": 5,
30
- "num_labels": 2,
31
- "num_return_sequences": 5,
32
- "output_attentions": false,
33
- "output_hidden_states": false,
34
- "output_past": true,
35
  "pad_token_id": 1,
36
- "prefix": "</s>",
37
- "pruned_heads": {},
38
- "repetition_penalty": 1.0,
39
  "resid_pdrop": 0.0,
40
  "summary_activation": null,
41
  "summary_first_dropout": 0.0,
@@ -43,9 +22,12 @@
43
  "summary_type": "cls_index",
44
  "summary_use_proj": true,
45
  "temperature": 1.0,
46
- "top_k": 50,
47
- "top_p": 1.0,
48
- "torchscript": false,
49
- "use_bfloat16": false,
50
- "vocab_size": 50261
 
 
 
51
  }
 
3
  "GPT2LMHeadModel"
4
  ],
5
  "attn_pdrop": 0.0,
6
+ "bos_token_id": 2,
 
7
  "embd_pdrop": 0.0,
8
+ "eos_token_id": 2,
 
 
 
 
 
9
  "initializer_range": 0.02,
 
 
 
 
10
  "layer_norm_epsilon": 1e-06,
 
 
11
  "model_type": "gpt2",
12
  "n_ctx": 512,
13
  "n_embd": 1280,
14
  "n_head": 20,
15
  "n_layer": 36,
16
  "n_positions": 512,
 
 
 
 
 
 
17
  "pad_token_id": 1,
 
 
 
18
  "resid_pdrop": 0.0,
19
  "summary_activation": null,
20
  "summary_first_dropout": 0.0,
 
22
  "summary_type": "cls_index",
23
  "summary_use_proj": true,
24
  "temperature": 1.0,
25
+ "task_specific_params": {
26
+ "text-generation": {
27
+ "do_sample": true,
28
+ "max_length": 50
29
+ }
30
+ },
31
+ "vocab_size": 50261,
32
+ "prefix": "</s>"
33
  }