elisanchez-beep
commited on
Commit
•
4219c35
1
Parent(s):
324f735
Add model
Browse files- .gitattributes +1 -0
- added_tokens.json +3 -0
- config.json +46 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +9 -0
- spm.model +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +17 -0
- trainer_state.json +97 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[MASK]": 250101
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/mdeberta-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": 251000
|
46 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12840fe87dd6b685f874c76b92d3acb08f689d7a00d6bc39b8fc08597700ecff
|
3 |
+
size 1112955823
|
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:13c8d666d62a7bc4ac8f040aab68e942c861f93303156cc28f5c7e885d86d6e3
|
3 |
+
size 4305025
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f06fc3bbcbbc8f07be861b9a6a69e177247bc549b2bcbf0483e4dd98c06b6f6
|
3 |
+
size 16331301
|
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/mdeberta-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.9878331402085747,
|
3 |
+
"best_model_checkpoint": "./outputs/mdeberta-v3-base-output/cometa_8_0.01_0.00005_09-08-22_17-20/checkpoint-1456",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"global_step": 1456,
|
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.991228070175439e-05,
|
13 |
+
"loss": 0.0899,
|
14 |
+
"step": 364
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.0,
|
18 |
+
"eval_accuracy": 0.9917505892436255,
|
19 |
+
"eval_f1": 0.744355909694555,
|
20 |
+
"eval_loss": 0.022882504388689995,
|
21 |
+
"eval_precision": 0.8629715165511932,
|
22 |
+
"eval_recall": 0.6544074722708698,
|
23 |
+
"eval_runtime": 12.5601,
|
24 |
+
"eval_samples_per_second": 231.447,
|
25 |
+
"eval_steps_per_second": 28.981,
|
26 |
+
"step": 364
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.0,
|
30 |
+
"learning_rate": 2.6608187134502928e-05,
|
31 |
+
"loss": 0.0262,
|
32 |
+
"step": 728
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.9977715877437325,
|
37 |
+
"eval_f1": 0.9390029325513196,
|
38 |
+
"eval_loss": 0.008390289731323719,
|
39 |
+
"eval_precision": 0.943429581614614,
|
40 |
+
"eval_recall": 0.9346176298890835,
|
41 |
+
"eval_runtime": 12.5029,
|
42 |
+
"eval_samples_per_second": 232.507,
|
43 |
+
"eval_steps_per_second": 29.113,
|
44 |
+
"step": 728
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 3.0,
|
48 |
+
"learning_rate": 1.3304093567251464e-05,
|
49 |
+
"loss": 0.0102,
|
50 |
+
"step": 1092
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 3.0,
|
54 |
+
"eval_accuracy": 0.9990464966788086,
|
55 |
+
"eval_f1": 0.9741654571843252,
|
56 |
+
"eval_loss": 0.0033252816647291183,
|
57 |
+
"eval_precision": 0.9688221709006929,
|
58 |
+
"eval_recall": 0.9795680093403386,
|
59 |
+
"eval_runtime": 12.4462,
|
60 |
+
"eval_samples_per_second": 233.565,
|
61 |
+
"eval_steps_per_second": 29.246,
|
62 |
+
"step": 1092
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 4.0,
|
66 |
+
"learning_rate": 0.0,
|
67 |
+
"loss": 0.0046,
|
68 |
+
"step": 1456
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 4.0,
|
72 |
+
"eval_accuracy": 0.9995500321405614,
|
73 |
+
"eval_f1": 0.9878331402085747,
|
74 |
+
"eval_loss": 0.0015423308359459043,
|
75 |
+
"eval_precision": 0.980448533640023,
|
76 |
+
"eval_recall": 0.9953298307063632,
|
77 |
+
"eval_runtime": 12.5941,
|
78 |
+
"eval_samples_per_second": 230.823,
|
79 |
+
"eval_steps_per_second": 28.902,
|
80 |
+
"step": 1456
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 4.0,
|
84 |
+
"step": 1456,
|
85 |
+
"total_flos": 613160172693882.0,
|
86 |
+
"train_loss": 0.032722131645941475,
|
87 |
+
"train_runtime": 391.1103,
|
88 |
+
"train_samples_per_second": 29.731,
|
89 |
+
"train_steps_per_second": 3.723
|
90 |
+
}
|
91 |
+
],
|
92 |
+
"max_steps": 1456,
|
93 |
+
"num_train_epochs": 4,
|
94 |
+
"total_flos": 613160172693882.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:db694375f124bbb1c393afb707c7c4d3a138aa21cb4010acc9c4fe6639410467
|
3 |
+
size 3311
|