hannah-khallaf commited on
Commit
55c6d69
·
verified ·
1 Parent(s): 52d6336

Upload best checkpoint for bert-base-multilingual-cased_fold_0

Browse files
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "directionality": "bidi",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "pooler_fc_size": 768,
20
+ "pooler_num_attention_heads": 12,
21
+ "pooler_num_fc_layers": 3,
22
+ "pooler_size_per_head": 128,
23
+ "pooler_type": "first_token_transform",
24
+ "position_embedding_type": "absolute",
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.55.0",
27
+ "type_vocab_size": 2,
28
+ "use_cache": true,
29
+ "vocab_size": 119547
30
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29f963744a06d8b7a89075a7b8e398b8cdf981063e17592a6a1bdb3b999b4870
3
+ size 711443456
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5822def57cb0340641066c098c392c360ae610616546c11d4daaf99d339747b0
3
+ size 1423007994
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a630957004990b03073ef5a2ebff93ab40f6ddc5a17eac2a3226d4270647db90
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91a0a03af3366488145de520c0bd02bcbfb45eb12a4fc5c0fcf3a9b2753cd7c0
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": false,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
trainer_state.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 1244,
3
+ "best_metric": 0.8507081171349183,
4
+ "best_model_checkpoint": "./results-PR/bert-base-multilingual-cased_fold_0/checkpoint-1244",
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 1244,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.8038585209003215,
14
+ "grad_norm": 7.114378929138184,
15
+ "learning_rate": 2.0056270096463023e-05,
16
+ "loss": 0.5627,
17
+ "step": 500
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "eval_accuracy": 0.6967015285599356,
22
+ "eval_f1": 0.7010085418034284,
23
+ "eval_loss": 0.598173975944519,
24
+ "eval_precision": 0.8246874487091888,
25
+ "eval_recall": 0.6967015285599356,
26
+ "eval_runtime": 5.247,
27
+ "eval_samples_per_second": 236.898,
28
+ "eval_steps_per_second": 29.731,
29
+ "step": 622
30
+ },
31
+ {
32
+ "epoch": 1.607717041800643,
33
+ "grad_norm": 5.695389747619629,
34
+ "learning_rate": 4.0152733118971066e-05,
35
+ "loss": 0.5187,
36
+ "step": 1000
37
+ },
38
+ {
39
+ "epoch": 2.0,
40
+ "eval_accuracy": 0.8487530168946098,
41
+ "eval_f1": 0.8507081171349183,
42
+ "eval_loss": 0.5054676532745361,
43
+ "eval_precision": 0.8555064529752252,
44
+ "eval_recall": 0.8487530168946098,
45
+ "eval_runtime": 5.797,
46
+ "eval_samples_per_second": 214.42,
47
+ "eval_steps_per_second": 26.91,
48
+ "step": 1244
49
+ }
50
+ ],
51
+ "logging_steps": 500,
52
+ "max_steps": 12440,
53
+ "num_input_tokens_seen": 0,
54
+ "num_train_epochs": 20,
55
+ "save_steps": 500,
56
+ "stateful_callbacks": {
57
+ "EarlyStoppingCallback": {
58
+ "args": {
59
+ "early_stopping_patience": 3,
60
+ "early_stopping_threshold": 0.0
61
+ },
62
+ "attributes": {
63
+ "early_stopping_patience_counter": 0
64
+ }
65
+ },
66
+ "TrainerControl": {
67
+ "args": {
68
+ "should_epoch_stop": false,
69
+ "should_evaluate": false,
70
+ "should_log": false,
71
+ "should_save": true,
72
+ "should_training_stop": false
73
+ },
74
+ "attributes": {}
75
+ }
76
+ },
77
+ "total_flos": 2615323890278400.0,
78
+ "train_batch_size": 8,
79
+ "trial_name": null,
80
+ "trial_params": null
81
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3fad7626a268a86fcd2af8bc76723535bc22b99c7271a56102bf0229f504399
3
+ size 5368
vocab.txt ADDED
The diff for this file is too large to render. See raw diff