MrRobson9 commited on
Commit
60a3613
·
verified ·
1 Parent(s): 72ca074

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +61 -0
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForTokenClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6",
19
+ "7": "LABEL_7",
20
+ "8": "LABEL_8"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "label2id": {
24
+ "LABEL_0": 0,
25
+ "LABEL_1": 1,
26
+ "LABEL_2": 2,
27
+ "LABEL_3": 3,
28
+ "LABEL_4": 4,
29
+ "LABEL_5": 5,
30
+ "LABEL_6": 6,
31
+ "LABEL_7": 7,
32
+ "LABEL_8": 8
33
+ },
34
+ "layer_norm_epsilon": 1e-05,
35
+ "model_type": "gpt2",
36
+ "n_ctx": 1024,
37
+ "n_embd": 768,
38
+ "n_head": 12,
39
+ "n_inner": null,
40
+ "n_layer": 12,
41
+ "n_positions": 1024,
42
+ "reorder_and_upcast_attn": false,
43
+ "resid_pdrop": 0.1,
44
+ "scale_attn_by_inverse_layer_idx": false,
45
+ "scale_attn_weights": true,
46
+ "summary_activation": null,
47
+ "summary_first_dropout": 0.1,
48
+ "summary_proj_to_labels": true,
49
+ "summary_type": "cls_index",
50
+ "summary_use_proj": true,
51
+ "task_specific_params": {
52
+ "text-generation": {
53
+ "do_sample": true,
54
+ "max_length": 50
55
+ }
56
+ },
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.42.4",
59
+ "use_cache": true,
60
+ "vocab_size": 50257
61
+ }