Upload model
Browse files- config.json +43 -108
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,108 +1,43 @@
|
|
1 |
-
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
"
|
21 |
-
|
22 |
-
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9401a9bdb241de29b6e8586a80d1899f25d3cdf9f52c200160c8b4aa22b36dce
|
3 |
+
size 963697256
|