elisanchez-beep commited on
Commit
c843e6e
1 Parent(s): c597f4f

Upload 9 files

Browse files
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[MASK]": 128000
3
+ }
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/deberta-v3-base",
3
+ "architectures": [
4
+ "DebertaV2ForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "finetuning_task": "ner",
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-07,
24
+ "max_position_embeddings": 512,
25
+ "max_relative_positions": -1,
26
+ "model_type": "deberta-v2",
27
+ "norm_rel_ebd": "layer_norm",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 0,
31
+ "pooler_dropout": 0,
32
+ "pooler_hidden_act": "gelu",
33
+ "pooler_hidden_size": 768,
34
+ "pos_att_type": [
35
+ "p2c",
36
+ "c2p"
37
+ ],
38
+ "position_biased_input": false,
39
+ "position_buckets": 256,
40
+ "relative_attention": true,
41
+ "share_att_key": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.20.0",
44
+ "type_vocab_size": 0,
45
+ "vocab_size": 128100
46
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7937793929056bf9b426fee3e9fad168ee4577aa2c54f20d569511ac3c9b2817
3
+ size 735407023
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": "[UNK]"
9
+ }
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "bos_token": "[CLS]",
4
+ "cls_token": "[CLS]",
5
+ "do_lower_case": false,
6
+ "eos_token": "[SEP]",
7
+ "mask_token": "[MASK]",
8
+ "name_or_path": "microsoft/deberta-v3-base",
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "sp_model_kwargs": {},
12
+ "special_tokens_map_file": null,
13
+ "split_by_punct": false,
14
+ "tokenizer_class": "DebertaV2Tokenizer",
15
+ "unk_token": "[UNK]",
16
+ "vocab_type": "spm"
17
+ }
trainer_state.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7524875621890547,
3
+ "best_model_checkpoint": "./outputs/deberta-base-output/vua_metaphor_32_0.1_0.00005_03-21-23_21-55/checkpoint-906",
4
+ "epoch": 4.0,
5
+ "global_step": 1208,
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": 3.9911894273127756e-05,
13
+ "loss": 0.1588,
14
+ "step": 302
15
+ },
16
+ {
17
+ "epoch": 1.0,
18
+ "eval_accuracy": 0.9615206305053314,
19
+ "eval_f1": 0.6345506345506345,
20
+ "eval_loss": 0.09228184819221497,
21
+ "eval_precision": 0.8226997985224983,
22
+ "eval_recall": 0.5164418212478921,
23
+ "eval_runtime": 7.3935,
24
+ "eval_samples_per_second": 325.962,
25
+ "eval_steps_per_second": 40.847,
26
+ "step": 302
27
+ },
28
+ {
29
+ "epoch": 2.0,
30
+ "learning_rate": 2.6607929515418507e-05,
31
+ "loss": 0.0661,
32
+ "step": 604
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_accuracy": 0.9673020807766779,
37
+ "eval_f1": 0.7279328341275245,
38
+ "eval_loss": 0.08415527641773224,
39
+ "eval_precision": 0.7882063882063882,
40
+ "eval_recall": 0.6762225969645869,
41
+ "eval_runtime": 7.0018,
42
+ "eval_samples_per_second": 344.196,
43
+ "eval_steps_per_second": 43.132,
44
+ "step": 604
45
+ },
46
+ {
47
+ "epoch": 3.0,
48
+ "learning_rate": 1.3303964757709254e-05,
49
+ "loss": 0.0358,
50
+ "step": 906
51
+ },
52
+ {
53
+ "epoch": 3.0,
54
+ "eval_accuracy": 0.9674384357359077,
55
+ "eval_f1": 0.7524875621890547,
56
+ "eval_loss": 0.10287901014089584,
57
+ "eval_precision": 0.7402120717781403,
58
+ "eval_recall": 0.765177065767285,
59
+ "eval_runtime": 6.9543,
60
+ "eval_samples_per_second": 346.549,
61
+ "eval_steps_per_second": 43.426,
62
+ "step": 906
63
+ },
64
+ {
65
+ "epoch": 4.0,
66
+ "learning_rate": 0.0,
67
+ "loss": 0.019,
68
+ "step": 1208
69
+ },
70
+ {
71
+ "epoch": 4.0,
72
+ "eval_accuracy": 0.968229294499441,
73
+ "eval_f1": 0.738378621154278,
74
+ "eval_loss": 0.11687722057104111,
75
+ "eval_precision": 0.7900048053820279,
76
+ "eval_recall": 0.6930860033726813,
77
+ "eval_runtime": 6.91,
78
+ "eval_samples_per_second": 348.768,
79
+ "eval_steps_per_second": 43.704,
80
+ "step": 1208
81
+ },
82
+ {
83
+ "epoch": 4.0,
84
+ "step": 1208,
85
+ "total_flos": 1154456176071726.0,
86
+ "train_loss": 0.0699166256860392,
87
+ "train_runtime": 336.8243,
88
+ "train_samples_per_second": 114.398,
89
+ "train_steps_per_second": 3.586
90
+ }
91
+ ],
92
+ "max_steps": 1208,
93
+ "num_train_epochs": 4,
94
+ "total_flos": 1154456176071726.0,
95
+ "trial_name": null,
96
+ "trial_params": null
97
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48a2103ef38478a8a6c086851619f910ff30f3ad50c31f20e0d3b5c830f056fb
3
+ size 3311