samirmsallem commited on
Commit
2616fe1
·
verified ·
1 Parent(s): 0ab0934

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "deepset/gbert-base",
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": "DEF_SENTENCE",
13
+ "1": "NON_DEF_SENTENCE"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "DEF_SENTENCE": 0,
19
+ "NON_DEF_SENTENCE": 1
20
+ },
21
+ "layer_norm_eps": 1e-12,
22
+ "max_position_embeddings": 512,
23
+ "model_type": "bert",
24
+ "num_attention_heads": 12,
25
+ "num_hidden_layers": 12,
26
+ "pad_token_id": 0,
27
+ "position_embedding_type": "absolute",
28
+ "problem_type": "single_label_classification",
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.47.1",
31
+ "type_vocab_size": 2,
32
+ "use_cache": true,
33
+ "vocab_size": 31102
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c45e6bb908da1ab5cfb3a923c288e620cc35d7c50400d0e71d3d61a29cad9ae
3
+ size 439740408
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3d6597e6571f8589d7e4657a9391cfcdf1580207cff3494e9c3ca8a42b68181
3
+ size 879596282
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fed77b14fe062f6db72d68cedd6fd95bae3305b7a735eef3c85da43fd15d476
3
+ size 13990
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0be141566019a979c8ac11628909cad01d7f9327edfe19ab1d72cab224d80b0f
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "101": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "102": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "103": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "104": {
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_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_len": 512,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_token": "[PAD]",
54
+ "sep_token": "[SEP]",
55
+ "strip_accents": false,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "BertTokenizer",
58
+ "unk_token": "[UNK]"
59
+ }
trainer_state.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.1469496637582779,
3
+ "best_model_checkpoint": "gbert-base-definition_ext/checkpoint-1257",
4
+ "epoch": 4.0,
5
+ "eval_steps": 500,
6
+ "global_step": 5028,
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.39777247414478917,
13
+ "grad_norm": 10.905921936035156,
14
+ "learning_rate": 1.9204455051710422e-05,
15
+ "loss": 0.3152,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.7955449482895783,
20
+ "grad_norm": 18.412729263305664,
21
+ "learning_rate": 1.8408910103420846e-05,
22
+ "loss": 0.2665,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.9606635071090047,
28
+ "eval_loss": 0.1469496637582779,
29
+ "eval_runtime": 13.7605,
30
+ "eval_samples_per_second": 153.337,
31
+ "eval_steps_per_second": 19.185,
32
+ "step": 1257
33
+ },
34
+ {
35
+ "epoch": 1.1933174224343674,
36
+ "grad_norm": 0.68099045753479,
37
+ "learning_rate": 1.7613365155131266e-05,
38
+ "loss": 0.2253,
39
+ "step": 1500
40
+ },
41
+ {
42
+ "epoch": 1.5910898965791567,
43
+ "grad_norm": 0.110905721783638,
44
+ "learning_rate": 1.681782020684169e-05,
45
+ "loss": 0.2098,
46
+ "step": 2000
47
+ },
48
+ {
49
+ "epoch": 1.988862370723946,
50
+ "grad_norm": 1.256501317024231,
51
+ "learning_rate": 1.602227525855211e-05,
52
+ "loss": 0.2219,
53
+ "step": 2500
54
+ },
55
+ {
56
+ "epoch": 2.0,
57
+ "eval_accuracy": 0.9606635071090047,
58
+ "eval_loss": 0.15402448177337646,
59
+ "eval_runtime": 13.6125,
60
+ "eval_samples_per_second": 155.004,
61
+ "eval_steps_per_second": 19.394,
62
+ "step": 2514
63
+ },
64
+ {
65
+ "epoch": 2.386634844868735,
66
+ "grad_norm": 0.1358814239501953,
67
+ "learning_rate": 1.5226730310262532e-05,
68
+ "loss": 0.1629,
69
+ "step": 3000
70
+ },
71
+ {
72
+ "epoch": 2.7844073190135243,
73
+ "grad_norm": 0.28879252076148987,
74
+ "learning_rate": 1.4431185361972953e-05,
75
+ "loss": 0.1723,
76
+ "step": 3500
77
+ },
78
+ {
79
+ "epoch": 3.0,
80
+ "eval_accuracy": 0.9587677725118483,
81
+ "eval_loss": 0.2121916264295578,
82
+ "eval_runtime": 13.5857,
83
+ "eval_samples_per_second": 155.311,
84
+ "eval_steps_per_second": 19.432,
85
+ "step": 3771
86
+ },
87
+ {
88
+ "epoch": 3.1821797931583133,
89
+ "grad_norm": 20.142990112304688,
90
+ "learning_rate": 1.3635640413683375e-05,
91
+ "loss": 0.171,
92
+ "step": 4000
93
+ },
94
+ {
95
+ "epoch": 3.579952267303103,
96
+ "grad_norm": 8.473916053771973,
97
+ "learning_rate": 1.2840095465393797e-05,
98
+ "loss": 0.1613,
99
+ "step": 4500
100
+ },
101
+ {
102
+ "epoch": 3.977724741447892,
103
+ "grad_norm": 2.436373472213745,
104
+ "learning_rate": 1.2044550517104217e-05,
105
+ "loss": 0.1458,
106
+ "step": 5000
107
+ },
108
+ {
109
+ "epoch": 4.0,
110
+ "eval_accuracy": 0.9630331753554502,
111
+ "eval_loss": 0.17300711572170258,
112
+ "eval_runtime": 13.5779,
113
+ "eval_samples_per_second": 155.4,
114
+ "eval_steps_per_second": 19.443,
115
+ "step": 5028
116
+ }
117
+ ],
118
+ "logging_steps": 500,
119
+ "max_steps": 12570,
120
+ "num_input_tokens_seen": 0,
121
+ "num_train_epochs": 10,
122
+ "save_steps": 500,
123
+ "stateful_callbacks": {
124
+ "TrainerControl": {
125
+ "args": {
126
+ "should_epoch_stop": false,
127
+ "should_evaluate": false,
128
+ "should_log": false,
129
+ "should_save": true,
130
+ "should_training_stop": false
131
+ },
132
+ "attributes": {}
133
+ }
134
+ },
135
+ "total_flos": 8942011133037720.0,
136
+ "train_batch_size": 8,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09972693a5ed601a2b70fa1ca2e1b2c13cab5caf1bdba9a7c5d6568da95c7802
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff