Wonder-Griffin
commited on
Commit
•
8abb15f
1
Parent(s):
eda3eed
Training in progress, step 390
Browse files- config.json +94 -0
- model.safetensors +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Wonder-Griffin/Judge-GPT2",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"batch_size": 32,
|
9 |
+
"bias": true,
|
10 |
+
"block_size": 512,
|
11 |
+
"bos_token_id": 50256,
|
12 |
+
"dim_feedforward": 3072,
|
13 |
+
"dropout": 0.1,
|
14 |
+
"embd_pdrop": 0.1,
|
15 |
+
"eos_token_id": 50256,
|
16 |
+
"ff_expansion_factor": 4,
|
17 |
+
"hidden_act": "gelu",
|
18 |
+
"id2label": {
|
19 |
+
"0": "LABEL_0",
|
20 |
+
"1": "LABEL_1",
|
21 |
+
"2": "LABEL_2",
|
22 |
+
"3": "LABEL_3",
|
23 |
+
"4": "LABEL_4"
|
24 |
+
},
|
25 |
+
"inference_mode": true,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"label2id": {
|
28 |
+
"LABEL_0": 0,
|
29 |
+
"LABEL_1": 1,
|
30 |
+
"LABEL_2": 2,
|
31 |
+
"LABEL_3": 3,
|
32 |
+
"LABEL_4": 4
|
33 |
+
},
|
34 |
+
"label_smoothing": 0.1,
|
35 |
+
"layer_norm_epsilon": 1e-05,
|
36 |
+
"learning_rate": 0.0003,
|
37 |
+
"log_interval": 100,
|
38 |
+
"max_grad_norm": 1.0,
|
39 |
+
"model_type": "gpt2",
|
40 |
+
"n_embd": 768,
|
41 |
+
"n_head": 12,
|
42 |
+
"n_inner": null,
|
43 |
+
"n_layer": 12,
|
44 |
+
"n_positions": 512,
|
45 |
+
"output_dir": "C:/Users/wonde/output",
|
46 |
+
"reorder_and_upcast_attn": false,
|
47 |
+
"resid_pdrop": 0.1,
|
48 |
+
"scale_attn_by_inverse_layer_idx": false,
|
49 |
+
"scale_attn_weights": true,
|
50 |
+
"summary_activation": null,
|
51 |
+
"summary_first_dropout": 0.1,
|
52 |
+
"summary_proj_to_labels": true,
|
53 |
+
"summary_type": "cls_index",
|
54 |
+
"summary_use_proj": true,
|
55 |
+
"task_heads": {
|
56 |
+
"classifier_head": {
|
57 |
+
"params": {
|
58 |
+
"num_labels": 5
|
59 |
+
},
|
60 |
+
"type": "JudgeClassifier"
|
61 |
+
},
|
62 |
+
"lm_head": {
|
63 |
+
"params": {
|
64 |
+
"vocab_size": 50257
|
65 |
+
},
|
66 |
+
"type": "JudgeCasualLMHead"
|
67 |
+
},
|
68 |
+
"qa_head": {
|
69 |
+
"params": {
|
70 |
+
"num_labels": 2
|
71 |
+
},
|
72 |
+
"type": "JudgeWithQA"
|
73 |
+
}
|
74 |
+
},
|
75 |
+
"task_specific_params": {
|
76 |
+
"question-answering": {
|
77 |
+
"max_answer_length": 30
|
78 |
+
},
|
79 |
+
"sequence-classification": {
|
80 |
+
"eval_steps": 500
|
81 |
+
},
|
82 |
+
"text-generation": {
|
83 |
+
"do_sample": true,
|
84 |
+
"max_length": 100
|
85 |
+
}
|
86 |
+
},
|
87 |
+
"torch_dtype": "float32",
|
88 |
+
"total_steps": 10000,
|
89 |
+
"transformers_version": "4.43.3",
|
90 |
+
"use_cache": true,
|
91 |
+
"vocab_size": 50257,
|
92 |
+
"warmup_steps": 1000,
|
93 |
+
"weight_decay": 0.01
|
94 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0246f0fb484c5e1107d6f945cced86004cad1c5908153bea4635ca8561a3031d
|
3 |
+
size 496201344
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c99d8c58798741bcf8046245c302b867ccdd5456b0d83ec8dc5c6fc281ec2f20
|
3 |
+
size 5112
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|