MehdiHosseiniMoghadam
commited on
Commit
•
6f379d2
1
Parent(s):
578df53
Upload folder using huggingface_hub
Browse files- config.json +35 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +116 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased-finetuned-sst-2-english",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"finetuning_task": "sst-2",
|
11 |
+
"hidden_dim": 3072,
|
12 |
+
"id2label": {
|
13 |
+
"0": "NEGATIVE",
|
14 |
+
"1": "POSITIVE"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"label2id": {
|
18 |
+
"NEGATIVE": 0,
|
19 |
+
"POSITIVE": 1
|
20 |
+
},
|
21 |
+
"max_position_embeddings": 512,
|
22 |
+
"model_type": "distilbert",
|
23 |
+
"n_heads": 12,
|
24 |
+
"n_layers": 6,
|
25 |
+
"output_past": true,
|
26 |
+
"pad_token_id": 0,
|
27 |
+
"problem_type": "single_label_classification",
|
28 |
+
"qa_dropout": 0.1,
|
29 |
+
"seq_classif_dropout": 0.2,
|
30 |
+
"sinusoidal_pos_embds": false,
|
31 |
+
"tie_weights_": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.38.2",
|
34 |
+
"vocab_size": 30522
|
35 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae25466e69baf96d8931a9d55c08fcfb423a1043114d5d116a7ca6c8ca8bfe51
|
3 |
+
size 267832560
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d7304e013ba093fa19df3f96e807cfd7207cb544db5369dd0d95678e5e0b62e
|
3 |
+
size 535727290
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a39c5f1b45e621b899a7a49f6241a4a0422d23936b1667a5e547cd9cee1e9601
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a40ecfa3f3fd838108dc1603326181f7cc7fa9cd66a24dab20698df0575be28
|
3 |
+
size 1064
|
trainer_state.json
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.8710801393728222,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 500,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.17,
|
13 |
+
"grad_norm": 0.18273070454597473,
|
14 |
+
"learning_rate": 1e-05,
|
15 |
+
"loss": 1.1276,
|
16 |
+
"step": 100
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.17,
|
20 |
+
"eval_acc": 0.9980372914622179,
|
21 |
+
"eval_f1 score": 0.9988269794721408,
|
22 |
+
"eval_loss": 0.009664908051490784,
|
23 |
+
"eval_precision": 0.9994131455399061,
|
24 |
+
"eval_recall": 0.9982415005861665,
|
25 |
+
"eval_runtime": 35.543,
|
26 |
+
"eval_samples_per_second": 57.339,
|
27 |
+
"eval_steps_per_second": 1.801,
|
28 |
+
"step": 100
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"epoch": 0.35,
|
32 |
+
"grad_norm": 0.015436016023159027,
|
33 |
+
"learning_rate": 2e-05,
|
34 |
+
"loss": 0.0073,
|
35 |
+
"step": 200
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 0.35,
|
39 |
+
"eval_acc": 0.9980372914622179,
|
40 |
+
"eval_f1 score": 0.9988283538371412,
|
41 |
+
"eval_loss": 0.004532838240265846,
|
42 |
+
"eval_precision": 0.9982435597189696,
|
43 |
+
"eval_recall": 0.9994138335287222,
|
44 |
+
"eval_runtime": 35.7648,
|
45 |
+
"eval_samples_per_second": 56.983,
|
46 |
+
"eval_steps_per_second": 1.789,
|
47 |
+
"step": 200
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 0.52,
|
51 |
+
"grad_norm": 0.009873462840914726,
|
52 |
+
"learning_rate": 3e-05,
|
53 |
+
"loss": 0.0029,
|
54 |
+
"step": 300
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.52,
|
58 |
+
"eval_acc": 0.9995093228655545,
|
59 |
+
"eval_f1 score": 0.9997068308413954,
|
60 |
+
"eval_loss": 0.0031382227316498756,
|
61 |
+
"eval_precision": 1.0,
|
62 |
+
"eval_recall": 0.9994138335287222,
|
63 |
+
"eval_runtime": 35.8701,
|
64 |
+
"eval_samples_per_second": 56.816,
|
65 |
+
"eval_steps_per_second": 1.784,
|
66 |
+
"step": 300
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 0.7,
|
70 |
+
"grad_norm": 0.00707666901871562,
|
71 |
+
"learning_rate": 4e-05,
|
72 |
+
"loss": 0.008,
|
73 |
+
"step": 400
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 0.7,
|
77 |
+
"eval_acc": 1.0,
|
78 |
+
"eval_f1 score": 1.0,
|
79 |
+
"eval_loss": 0.00025456614093855023,
|
80 |
+
"eval_precision": 1.0,
|
81 |
+
"eval_recall": 1.0,
|
82 |
+
"eval_runtime": 35.7717,
|
83 |
+
"eval_samples_per_second": 56.972,
|
84 |
+
"eval_steps_per_second": 1.789,
|
85 |
+
"step": 400
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 0.87,
|
89 |
+
"grad_norm": 0.05433596670627594,
|
90 |
+
"learning_rate": 5e-05,
|
91 |
+
"loss": 0.0103,
|
92 |
+
"step": 500
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 0.87,
|
96 |
+
"eval_acc": 0.9985279685966634,
|
97 |
+
"eval_f1 score": 0.9991199765327076,
|
98 |
+
"eval_loss": 0.005017507821321487,
|
99 |
+
"eval_precision": 1.0,
|
100 |
+
"eval_recall": 0.9982415005861665,
|
101 |
+
"eval_runtime": 35.9127,
|
102 |
+
"eval_samples_per_second": 56.749,
|
103 |
+
"eval_steps_per_second": 1.782,
|
104 |
+
"step": 500
|
105 |
+
}
|
106 |
+
],
|
107 |
+
"logging_steps": 100,
|
108 |
+
"max_steps": 574,
|
109 |
+
"num_input_tokens_seen": 0,
|
110 |
+
"num_train_epochs": 1,
|
111 |
+
"save_steps": 500,
|
112 |
+
"total_flos": 2119478378496000.0,
|
113 |
+
"train_batch_size": 32,
|
114 |
+
"trial_name": null,
|
115 |
+
"trial_params": null
|
116 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da2a13164a13e988fa8b8ab0b65a5be0c788467ee40f4ebcd9f2d992d98f88e8
|
3 |
+
size 4792
|