elisanchez-beep
commited on
Commit
•
b3486c6
1
Parent(s):
32ce08f
Add model
Browse files- 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 +0 -0
- tokenizer_config.json +17 -0
- trainer_state.json +97 -0
- training_args.bin +3 -0
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-large",
|
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": 1024,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0",
|
13 |
+
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 4096,
|
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": 16,
|
29 |
+
"num_hidden_layers": 24,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"pooler_dropout": 0,
|
32 |
+
"pooler_hidden_act": "gelu",
|
33 |
+
"pooler_hidden_size": 1024,
|
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:d2d02fa3f5e6410fcd1098223136d7895c435bb1a61f087ea48862f8366a0731
|
3 |
+
size 1736198447
|
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-large",
|
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.7603706972639012,
|
3 |
+
"best_model_checkpoint": "./outputs/deberta-large-output/vua_metaphor_8_0.01_0.00002_03-21-23_22-02/checkpoint-3612",
|
4 |
+
"epoch": 3.999584889995849,
|
5 |
+
"global_step": 4816,
|
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": 1.595758780649437e-05,
|
13 |
+
"loss": 0.1306,
|
14 |
+
"step": 1204
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.0,
|
18 |
+
"eval_accuracy": 0.9674111647440617,
|
19 |
+
"eval_f1": 0.7417333045169656,
|
20 |
+
"eval_loss": 0.08462577313184738,
|
21 |
+
"eval_precision": 0.7609756097560976,
|
22 |
+
"eval_recall": 0.7234401349072512,
|
23 |
+
"eval_runtime": 13.8793,
|
24 |
+
"eval_samples_per_second": 173.64,
|
25 |
+
"eval_steps_per_second": 21.759,
|
26 |
+
"step": 1204
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.0,
|
30 |
+
"learning_rate": 1.0638391870996245e-05,
|
31 |
+
"loss": 0.0527,
|
32 |
+
"step": 2408
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.9700564509531212,
|
37 |
+
"eval_f1": 0.7538116591928251,
|
38 |
+
"eval_loss": 0.08208993822336197,
|
39 |
+
"eval_precision": 0.8050766283524904,
|
40 |
+
"eval_recall": 0.7086846543001686,
|
41 |
+
"eval_runtime": 13.6308,
|
42 |
+
"eval_samples_per_second": 176.806,
|
43 |
+
"eval_steps_per_second": 22.156,
|
44 |
+
"step": 2408
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 3.0,
|
48 |
+
"learning_rate": 5.319195935498122e-06,
|
49 |
+
"loss": 0.0189,
|
50 |
+
"step": 3612
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 3.0,
|
54 |
+
"eval_accuracy": 0.9703837028552729,
|
55 |
+
"eval_f1": 0.7603706972639012,
|
56 |
+
"eval_loss": 0.11565817892551422,
|
57 |
+
"eval_precision": 0.7976851851851852,
|
58 |
+
"eval_recall": 0.7263912310286678,
|
59 |
+
"eval_runtime": 15.1081,
|
60 |
+
"eval_samples_per_second": 159.517,
|
61 |
+
"eval_steps_per_second": 19.989,
|
62 |
+
"step": 3612
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 4.0,
|
66 |
+
"learning_rate": 0.0,
|
67 |
+
"loss": 0.006,
|
68 |
+
"step": 4816
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 4.0,
|
72 |
+
"eval_accuracy": 0.9703564318634269,
|
73 |
+
"eval_f1": 0.7563326608383771,
|
74 |
+
"eval_loss": 0.15718454122543335,
|
75 |
+
"eval_precision": 0.8075634274772618,
|
76 |
+
"eval_recall": 0.7112141652613828,
|
77 |
+
"eval_runtime": 13.5443,
|
78 |
+
"eval_samples_per_second": 177.934,
|
79 |
+
"eval_steps_per_second": 22.297,
|
80 |
+
"step": 4816
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 4.0,
|
84 |
+
"step": 4816,
|
85 |
+
"total_flos": 2366884617110520.0,
|
86 |
+
"train_loss": 0.052028106791632514,
|
87 |
+
"train_runtime": 1649.8443,
|
88 |
+
"train_samples_per_second": 23.355,
|
89 |
+
"train_steps_per_second": 2.919
|
90 |
+
}
|
91 |
+
],
|
92 |
+
"max_steps": 4816,
|
93 |
+
"num_train_epochs": 4,
|
94 |
+
"total_flos": 2366884617110520.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:9b300369869789a9859c619ff5bbc2b073c0912918a1fb0d20e9bafe3a0d6503
|
3 |
+
size 3311
|