Wonder-Griffin commited on
Commit
137d1e4
·
verified ·
1 Parent(s): d3d5757

Upload model

Browse files
Files changed (2) hide show
  1. config.json +43 -108
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,108 +1,43 @@
1
- {
2
- "_name_or_path_": "Wonder-Griffin/Judge-GPT2",
3
- "activation_function": "gelu_new",
4
- "architectures": [
5
- "GPT2LMHeadModel",
6
- "JudgeModel",
7
- "JudgeCasualLMHead",
8
- "JudgeWithQA",
9
- "JudgeClassifier"
10
- ],
11
- "attn_pdrop": 0.1,
12
- "batch_size": 32,
13
- "bias": true,
14
- "block_size": 512,
15
- "bos_token_id": 50256,
16
- "dim_feedforward": 3072,
17
- "dropout": 0.1,
18
- "embd_pdrop": 0.1,
19
- "eos_token_id": 50256,
20
- "ff_expansion_factor": 4,
21
- "hidden_act": "gelu",
22
- "id2label": {
23
- "0": "LABEL_0",
24
- "1": "LABEL_1",
25
- "2": "LABEL_2",
26
- "3": "LABEL_3",
27
- "4": "LABEL_4"
28
- },
29
- "inference_mode": true,
30
- "initializer_range": 0.02,
31
- "label2id": {
32
- "LABEL_0": 0,
33
- "LABEL_1": 1,
34
- "LABEL_2": 2,
35
- "LABEL_3": 3,
36
- "LABEL_4": 4
37
- },
38
- "label_smoothing": 0.1,
39
- "layer_norm_epsilon": 1e-05,
40
- "learning_rate": 0.0003,
41
- "log_interval": 100,
42
- "max_grad_norm": 1.0,
43
- "model_type": "gpt2",
44
- "n_embd": 768,
45
- "n_head": 12,
46
- "n_inner": null,
47
- "n_layer": 12,
48
- "n_positions": 512,
49
- "output_dir": "C:/Users/wonde/output",
50
- "reorder_and_upcast_attn": false,
51
- "resid_pdrop": 0.1,
52
- "scale_attn_by_inverse_layer_idx": false,
53
- "scale_attn_weights": true,
54
- "summary_activation": null,
55
- "summary_first_dropout": 0.1,
56
- "summary_proj_to_labels": true,
57
- "summary_type": "cls_index",
58
- "summary_use_proj": true,
59
- "task_heads": {
60
- "classifier_head": {
61
- "params": {
62
- "num_labels": 5
63
- },
64
- "type": "JudgeClassifier"
65
- },
66
- "lm_head": {
67
- "params": {
68
- "vocab_size": 50257
69
- },
70
- "type": "JudgeCasualLMHead"
71
- },
72
- "qa_head": {
73
- "params": {
74
- "num_labels": 2
75
- },
76
- "type": "JudgeWithQA"
77
- }
78
- },
79
-
80
- "task_specific_params": {
81
- "text-generation": {
82
- "do_sample": true,
83
- "max_length": 100
84
- },
85
- "question-answering": {
86
- "max_answer_length": 100
87
- },
88
- "sequence-classification": {
89
- "eval_steps": 500
90
- }
91
- },
92
-
93
- "pretrained_weights": "Wonder-Griffin/Judge-GPT2",
94
- "tokenizer": {
95
- "type": "AutoTokenizer",
96
- "params": {
97
- "vocab_size": 50257
98
- }
99
- },
100
-
101
- "torch_dtype": "float32",
102
- "total_steps": 10000,
103
- "transformers_version": "4.43.3",
104
- "use_cache": true,
105
- "vocab_size": 50257,
106
- "warmup_steps": 1000,
107
- "weight_decay": 0.01
108
- }
 
1
+ {
2
+ "architectures": [
3
+ "JudgeModel"
4
+ ],
5
+ "batch_size": 32,
6
+ "bias": true,
7
+ "block_size": 512,
8
+ "dim_feedforward": 3072,
9
+ "dropout": 0.1,
10
+ "ff_expansion_factor": 4,
11
+ "hidden_act": "gelu",
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4"
19
+ },
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2,
24
+ "LABEL_3": 3,
25
+ "LABEL_4": 4
26
+ },
27
+ "label_smoothing": 0.1,
28
+ "learning_rate": 0.0003,
29
+ "log_interval": 100,
30
+ "max_grad_norm": 1.0,
31
+ "max_position_embeddings": 512,
32
+ "model_type": "gpt2",
33
+ "n_embd": 768,
34
+ "n_head": 12,
35
+ "n_layer": 12,
36
+ "output_dir": "C:/Users/wonde/output",
37
+ "torch_dtype": "float32",
38
+ "total_steps": 10000,
39
+ "transformers_version": "4.43.3",
40
+ "vocab_size": 50257,
41
+ "warmup_steps": 1000,
42
+ "weight_decay": 0.01
43
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0246f0fb484c5e1107d6f945cced86004cad1c5908153bea4635ca8561a3031d
3
- size 496201344
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9401a9bdb241de29b6e8586a80d1899f25d3cdf9f52c200160c8b4aa22b36dce
3
+ size 963697256