ThePyProgrammer commited on
Commit
76e92ca
1 Parent(s): ce70653

Upload config.json

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