SushantGautam
commited on
Commit
•
6a4f7da
1
Parent(s):
1a7c9c7
Upload folder using huggingface_hub
Browse files- config.json +27 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +137 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"problem_type": "single_label_classification",
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.40.1",
|
24 |
+
"type_vocab_size": 2,
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 30522
|
27 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fbd683d15e530dc0c16b591f55855e6a3db3da2003a045ed2e81dd692f64d598
|
3 |
+
size 437958648
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f40591d8603772ed6b635fb9adbd1f63dcf96d8f0c82a12f8d64cd42ab3ebe5b
|
3 |
+
size 876038394
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed58c02079d59372ef018baa63cef6c48c254448ac11eeaad1558799ae01087a
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7adb6fea2e82693e2d5603b9409e6de30b5b25e21cd1ff4f31766800646500d
|
3 |
+
size 1064
|
trainer_state.json
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 1.0906689167022705,
|
3 |
+
"best_model_checkpoint": "./results/checkpoint-2699",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 10796,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"grad_norm": 2.6147003173828125,
|
14 |
+
"learning_rate": 4.672437244961049e-05,
|
15 |
+
"loss": 0.327,
|
16 |
+
"step": 2699
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.7347354138398915,
|
21 |
+
"eval_conf_mat": [
|
22 |
+
[
|
23 |
+
6123,
|
24 |
+
717
|
25 |
+
],
|
26 |
+
[
|
27 |
+
2802,
|
28 |
+
3624
|
29 |
+
]
|
30 |
+
],
|
31 |
+
"eval_f1": 0.673168013374199,
|
32 |
+
"eval_loss": 1.0906689167022705,
|
33 |
+
"eval_precision": 0.8348306841741534,
|
34 |
+
"eval_recall": 0.5639589169000934,
|
35 |
+
"eval_runtime": 50.9369,
|
36 |
+
"eval_samples_per_second": 260.44,
|
37 |
+
"eval_steps_per_second": 8.147,
|
38 |
+
"step": 2699
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 2.0,
|
42 |
+
"grad_norm": 4.085843563079834,
|
43 |
+
"learning_rate": 4.338691727463831e-05,
|
44 |
+
"loss": 0.14,
|
45 |
+
"step": 5398
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 2.0,
|
49 |
+
"eval_accuracy": 0.7100105532941354,
|
50 |
+
"eval_conf_mat": [
|
51 |
+
[
|
52 |
+
6405,
|
53 |
+
435
|
54 |
+
],
|
55 |
+
[
|
56 |
+
3412,
|
57 |
+
3014
|
58 |
+
]
|
59 |
+
],
|
60 |
+
"eval_f1": 0.6104303797468354,
|
61 |
+
"eval_loss": 1.5652275085449219,
|
62 |
+
"eval_precision": 0.8738764859379531,
|
63 |
+
"eval_recall": 0.46903205726735137,
|
64 |
+
"eval_runtime": 51.0274,
|
65 |
+
"eval_samples_per_second": 259.978,
|
66 |
+
"eval_steps_per_second": 8.133,
|
67 |
+
"step": 5398
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 3.0,
|
71 |
+
"grad_norm": 7.21763277053833,
|
72 |
+
"learning_rate": 4.004946209966614e-05,
|
73 |
+
"loss": 0.0959,
|
74 |
+
"step": 8097
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 3.0,
|
78 |
+
"eval_accuracy": 0.7397105382180009,
|
79 |
+
"eval_conf_mat": [
|
80 |
+
[
|
81 |
+
6322,
|
82 |
+
518
|
83 |
+
],
|
84 |
+
[
|
85 |
+
2935,
|
86 |
+
3491
|
87 |
+
]
|
88 |
+
],
|
89 |
+
"eval_f1": 0.6690943938667945,
|
90 |
+
"eval_loss": 1.292863130569458,
|
91 |
+
"eval_precision": 0.8707907208780244,
|
92 |
+
"eval_recall": 0.5432617491441021,
|
93 |
+
"eval_runtime": 49.9344,
|
94 |
+
"eval_samples_per_second": 265.669,
|
95 |
+
"eval_steps_per_second": 8.311,
|
96 |
+
"step": 8097
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 4.0,
|
100 |
+
"grad_norm": 18.75651741027832,
|
101 |
+
"learning_rate": 3.6712006924693956e-05,
|
102 |
+
"loss": 0.0676,
|
103 |
+
"step": 10796
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"epoch": 4.0,
|
107 |
+
"eval_accuracy": 0.7308156188753203,
|
108 |
+
"eval_conf_mat": [
|
109 |
+
[
|
110 |
+
6358,
|
111 |
+
482
|
112 |
+
],
|
113 |
+
[
|
114 |
+
3089,
|
115 |
+
3337
|
116 |
+
]
|
117 |
+
],
|
118 |
+
"eval_f1": 0.6514397266959493,
|
119 |
+
"eval_loss": 1.5299923419952393,
|
120 |
+
"eval_precision": 0.8737889499869076,
|
121 |
+
"eval_recall": 0.5192966075319017,
|
122 |
+
"eval_runtime": 51.18,
|
123 |
+
"eval_samples_per_second": 259.203,
|
124 |
+
"eval_steps_per_second": 8.109,
|
125 |
+
"step": 10796
|
126 |
+
}
|
127 |
+
],
|
128 |
+
"logging_steps": 500,
|
129 |
+
"max_steps": 40485,
|
130 |
+
"num_input_tokens_seen": 0,
|
131 |
+
"num_train_epochs": 15,
|
132 |
+
"save_steps": 500,
|
133 |
+
"total_flos": 4.192333290845046e+16,
|
134 |
+
"train_batch_size": 32,
|
135 |
+
"trial_name": null,
|
136 |
+
"trial_params": null
|
137 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9c55328111b05093836a24dc0c88ac2fe08c8d2c0021b421da4c9c9e7333eba
|
3 |
+
size 4920
|