sfrenda commited on
Commit
6c09667
1 Parent(s): e2aa14b

Upload 7 files

Browse files
Files changed (7) hide show
  1. config.json +42 -0
  2. optimizer.pt +3 -0
  3. pytorch_model.bin +3 -0
  4. rng_state.pth +3 -0
  5. scheduler.pt +3 -0
  6. trainer_state.json +96 -0
  7. training_args.bin +3 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "m-polignano-uniba/bert_uncased_L-12_H-768_A-12_italian_alb3rt0",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "opos",
14
+ "1": "oneg",
15
+ "2": "neutral"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "neutral": 2,
21
+ "oneg": 1,
22
+ "opos": 0
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "bert",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "pooler_fc_size": 768,
31
+ "pooler_num_attention_heads": 12,
32
+ "pooler_num_fc_layers": 3,
33
+ "pooler_size_per_head": 128,
34
+ "pooler_type": "first_token_transform",
35
+ "position_embedding_type": "absolute",
36
+ "problem_type": "multi_label_classification",
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.41.1",
39
+ "type_vocab_size": 2,
40
+ "use_cache": true,
41
+ "vocab_size": 128000
42
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6d879f0b6908423a11beb32d2047d0d082583118245ccd87e83de309a47bb2e
3
+ size 1474949370
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2143fe3b7e1951f0c04f804f467f28c71e22475e8fd01f64a1030ac34719d696
3
+ size 737459438
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c3682429541cdfcd0fb02189c7dfaf1302c413c5cea42ffd84b55726ff4fcc9
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:294a2cbc9f8d1f1da5a37e31d9fe1a8765e61888c57d0937b3de64f71d5bbbc2
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.28317779302597046,
3
+ "best_model_checkpoint": "./model_sentiment/checkpoint-1300",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1950,
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": 7.652286529541016,
14
+ "learning_rate": 1.866666666666667e-05,
15
+ "loss": 0.4381,
16
+ "step": 650
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.7561327561327561,
21
+ "eval_f1": 0.8001123753336142,
22
+ "eval_f1_macro": 0.7961336354425609,
23
+ "eval_loss": 0.3537029027938843,
24
+ "eval_runtime": 6.6113,
25
+ "eval_samples_per_second": 524.102,
26
+ "eval_steps_per_second": 32.823,
27
+ "step": 650
28
+ },
29
+ {
30
+ "epoch": 2.0,
31
+ "grad_norm": 13.353829383850098,
32
+ "learning_rate": 1.7333333333333336e-05,
33
+ "loss": 0.2336,
34
+ "step": 1300
35
+ },
36
+ {
37
+ "epoch": 2.0,
38
+ "eval_accuracy": 0.8207792207792208,
39
+ "eval_f1": 0.8560773480662983,
40
+ "eval_f1_macro": 0.853074547088536,
41
+ "eval_loss": 0.28317779302597046,
42
+ "eval_runtime": 6.6046,
43
+ "eval_samples_per_second": 524.635,
44
+ "eval_steps_per_second": 32.856,
45
+ "step": 1300
46
+ },
47
+ {
48
+ "epoch": 3.0,
49
+ "grad_norm": 29.17078971862793,
50
+ "learning_rate": 1.6000000000000003e-05,
51
+ "loss": 0.1322,
52
+ "step": 1950
53
+ },
54
+ {
55
+ "epoch": 3.0,
56
+ "eval_accuracy": 0.8421356421356422,
57
+ "eval_f1": 0.8724869182043515,
58
+ "eval_f1_macro": 0.8692950229330473,
59
+ "eval_loss": 0.2874596118927002,
60
+ "eval_runtime": 6.5966,
61
+ "eval_samples_per_second": 525.269,
62
+ "eval_steps_per_second": 32.896,
63
+ "step": 1950
64
+ }
65
+ ],
66
+ "logging_steps": 500,
67
+ "max_steps": 9750,
68
+ "num_input_tokens_seen": 0,
69
+ "num_train_epochs": 15,
70
+ "save_steps": 500,
71
+ "stateful_callbacks": {
72
+ "EarlyStoppingCallback": {
73
+ "args": {
74
+ "early_stopping_patience": 3,
75
+ "early_stopping_threshold": 0.0
76
+ },
77
+ "attributes": {
78
+ "early_stopping_patience_counter": 0
79
+ }
80
+ },
81
+ "TrainerControl": {
82
+ "args": {
83
+ "should_epoch_stop": false,
84
+ "should_evaluate": false,
85
+ "should_log": false,
86
+ "should_save": true,
87
+ "should_training_stop": false
88
+ },
89
+ "attributes": {}
90
+ }
91
+ },
92
+ "total_flos": 2050903312835328.0,
93
+ "train_batch_size": 16,
94
+ "trial_name": null,
95
+ "trial_params": null
96
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:285ea59fa8936381ad7ee4ca536a1b6ce932342f81985c2503d0b2279c0b6443
3
+ size 5048