Upload 7 files
Browse files- config.json +36 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +91 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/ivamarinova/bg-news-bert/",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0",
|
13 |
+
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"LABEL_0": 0,
|
20 |
+
"LABEL_1": 1,
|
21 |
+
"LABEL_2": 2
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"max_position_embeddings": 512,
|
25 |
+
"model_type": "bert",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_hidden_layers": 12,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"position_embedding_type": "absolute",
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"torch_dtype": "float32",
|
32 |
+
"transformers_version": "4.22.0.dev0",
|
33 |
+
"type_vocab_size": 2,
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 30001
|
36 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a014601b702578cc776869792cfad33ac306782f2ea7fb91879c11de25381f4
|
3 |
+
size 872791837
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43c5b90ae9a404e4faad333879cb90b39f8b22ef37311fce1a242bb59dc8ec00
|
3 |
+
size 436408685
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1547f55650dd63c4662e18dc52734c102f0d028ec91e87eda18614015b220744
|
3 |
+
size 15523
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fbcc93d01a13e0c646f5fc8cae7e952c1acffd792acf63d73fd139e87ef49824
|
3 |
+
size 623
|
trainer_state.json
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 5.0,
|
5 |
+
"global_step": 2500,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.0,
|
12 |
+
"learning_rate": 4e-05,
|
13 |
+
"loss": 0.3063,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.0,
|
18 |
+
"eval_accuracy": 0.9211165048543689,
|
19 |
+
"eval_loss": 0.2524273991584778,
|
20 |
+
"eval_runtime": 7.3979,
|
21 |
+
"eval_samples_per_second": 111.383,
|
22 |
+
"eval_steps_per_second": 7.029,
|
23 |
+
"step": 500
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 2.0,
|
27 |
+
"learning_rate": 3e-05,
|
28 |
+
"loss": 0.136,
|
29 |
+
"step": 1000
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 2.0,
|
33 |
+
"eval_accuracy": 0.9405339805825242,
|
34 |
+
"eval_loss": 0.21534095704555511,
|
35 |
+
"eval_runtime": 7.3273,
|
36 |
+
"eval_samples_per_second": 112.457,
|
37 |
+
"eval_steps_per_second": 7.097,
|
38 |
+
"step": 1000
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 3.0,
|
42 |
+
"learning_rate": 2e-05,
|
43 |
+
"loss": 0.0567,
|
44 |
+
"step": 1500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 3.0,
|
48 |
+
"eval_accuracy": 0.9599514563106796,
|
49 |
+
"eval_loss": 0.2191401720046997,
|
50 |
+
"eval_runtime": 7.4908,
|
51 |
+
"eval_samples_per_second": 110.002,
|
52 |
+
"eval_steps_per_second": 6.942,
|
53 |
+
"step": 1500
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 4.0,
|
57 |
+
"learning_rate": 1e-05,
|
58 |
+
"loss": 0.0189,
|
59 |
+
"step": 2000
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 4.0,
|
63 |
+
"eval_accuracy": 0.9526699029126213,
|
64 |
+
"eval_loss": 0.2866779863834381,
|
65 |
+
"eval_runtime": 7.3916,
|
66 |
+
"eval_samples_per_second": 111.478,
|
67 |
+
"eval_steps_per_second": 7.035,
|
68 |
+
"step": 2000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 5.0,
|
72 |
+
"learning_rate": 0.0,
|
73 |
+
"loss": 0.0056,
|
74 |
+
"step": 2500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 5.0,
|
78 |
+
"eval_accuracy": 0.9563106796116505,
|
79 |
+
"eval_loss": 0.2526571452617645,
|
80 |
+
"eval_runtime": 7.4135,
|
81 |
+
"eval_samples_per_second": 111.148,
|
82 |
+
"eval_steps_per_second": 7.014,
|
83 |
+
"step": 2500
|
84 |
+
}
|
85 |
+
],
|
86 |
+
"max_steps": 2500,
|
87 |
+
"num_train_epochs": 5,
|
88 |
+
"total_flos": 1.052453670912e+16,
|
89 |
+
"trial_name": null,
|
90 |
+
"trial_params": null
|
91 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a36286c6eb9bce9857125c4b031073c4fab3b83ebaf5bc3cd65b3e38a41e3f9
|
3 |
+
size 3375
|