First model commit
Browse files- config.json +49 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +120 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "xlm-roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2",
|
17 |
+
"3": "LABEL_3",
|
18 |
+
"4": "LABEL_4",
|
19 |
+
"5": "LABEL_5",
|
20 |
+
"6": "LABEL_6",
|
21 |
+
"7": "LABEL_7",
|
22 |
+
"8": "LABEL_8"
|
23 |
+
},
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 3072,
|
26 |
+
"label2id": {
|
27 |
+
"LABEL_0": 0,
|
28 |
+
"LABEL_1": 1,
|
29 |
+
"LABEL_2": 2,
|
30 |
+
"LABEL_3": 3,
|
31 |
+
"LABEL_4": 4,
|
32 |
+
"LABEL_5": 5,
|
33 |
+
"LABEL_6": 6,
|
34 |
+
"LABEL_7": 7,
|
35 |
+
"LABEL_8": 8
|
36 |
+
},
|
37 |
+
"layer_norm_eps": 1e-05,
|
38 |
+
"max_position_embeddings": 514,
|
39 |
+
"model_type": "xlm-roberta",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_hidden_layers": 12,
|
42 |
+
"output_past": true,
|
43 |
+
"pad_token_id": 1,
|
44 |
+
"position_embedding_type": "absolute",
|
45 |
+
"transformers_version": "4.6.0",
|
46 |
+
"type_vocab_size": 1,
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 250002
|
49 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3584aedc331f9ca0e29d68986c1ef7b4a9482a37fe4c5d743eff2efd0cf7c8c
|
3 |
+
size 1109929655
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee4b5e0f6c2b4ecb027fd7533355563f7ed12410849fb90737be2a5280473180
|
3 |
+
size 14657
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aab02334ac3449c8dd78cf9f63524387bf84b06577fceaf9975bb5a97251feaf
|
3 |
+
size 623
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "xlm-roberta-base"}
|
trainer_state.json
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.06587601453065872,
|
3 |
+
"best_model_checkpoint": "test-ner/checkpoint-2636",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"global_step": 5272,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.38,
|
12 |
+
"learning_rate": 9.241274658573596e-06,
|
13 |
+
"loss": 0.2967,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.76,
|
18 |
+
"learning_rate": 8.482549317147192e-06,
|
19 |
+
"loss": 0.0903,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.0,
|
24 |
+
"eval_accuracy": 0.9800172512938471,
|
25 |
+
"eval_f1": 0.8510216941218831,
|
26 |
+
"eval_loss": 0.07860440760850906,
|
27 |
+
"eval_precision": 0.8489583333333334,
|
28 |
+
"eval_recall": 0.8530951091860675,
|
29 |
+
"eval_runtime": 11.6301,
|
30 |
+
"eval_samples_per_second": 249.008,
|
31 |
+
"step": 1318
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 1.14,
|
35 |
+
"learning_rate": 7.72382397572079e-06,
|
36 |
+
"loss": 0.0695,
|
37 |
+
"step": 1500
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 1.52,
|
41 |
+
"learning_rate": 6.965098634294386e-06,
|
42 |
+
"loss": 0.0487,
|
43 |
+
"step": 2000
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"epoch": 1.9,
|
47 |
+
"learning_rate": 6.206373292867982e-06,
|
48 |
+
"loss": 0.0521,
|
49 |
+
"step": 2500
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 2.0,
|
53 |
+
"eval_accuracy": 0.9845816561242093,
|
54 |
+
"eval_f1": 0.8887689955939214,
|
55 |
+
"eval_loss": 0.06587601453065872,
|
56 |
+
"eval_precision": 0.885663082437276,
|
57 |
+
"eval_recall": 0.8918967695361848,
|
58 |
+
"eval_runtime": 11.691,
|
59 |
+
"eval_samples_per_second": 247.711,
|
60 |
+
"step": 2636
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 2.28,
|
64 |
+
"learning_rate": 5.447647951441578e-06,
|
65 |
+
"loss": 0.0388,
|
66 |
+
"step": 3000
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 2.66,
|
70 |
+
"learning_rate": 4.688922610015174e-06,
|
71 |
+
"loss": 0.0344,
|
72 |
+
"step": 3500
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 3.0,
|
76 |
+
"eval_accuracy": 0.9849949683726279,
|
77 |
+
"eval_f1": 0.8925949424453912,
|
78 |
+
"eval_loss": 0.06827788800001144,
|
79 |
+
"eval_precision": 0.8965768390386016,
|
80 |
+
"eval_recall": 0.8886482584371053,
|
81 |
+
"eval_runtime": 11.7404,
|
82 |
+
"eval_samples_per_second": 246.67,
|
83 |
+
"step": 3954
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"epoch": 3.03,
|
87 |
+
"learning_rate": 3.930197268588772e-06,
|
88 |
+
"loss": 0.0297,
|
89 |
+
"step": 4000
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 3.41,
|
93 |
+
"learning_rate": 3.1714719271623673e-06,
|
94 |
+
"loss": 0.0255,
|
95 |
+
"step": 4500
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"epoch": 3.79,
|
99 |
+
"learning_rate": 2.4127465857359637e-06,
|
100 |
+
"loss": 0.0235,
|
101 |
+
"step": 5000
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 4.0,
|
105 |
+
"eval_accuracy": 0.9865943070730305,
|
106 |
+
"eval_f1": 0.904637078550122,
|
107 |
+
"eval_loss": 0.06835205852985382,
|
108 |
+
"eval_precision": 0.90619340818544,
|
109 |
+
"eval_recall": 0.9030860855441256,
|
110 |
+
"eval_runtime": 11.7952,
|
111 |
+
"eval_samples_per_second": 245.524,
|
112 |
+
"step": 5272
|
113 |
+
}
|
114 |
+
],
|
115 |
+
"max_steps": 6590,
|
116 |
+
"num_train_epochs": 5,
|
117 |
+
"total_flos": 1452761017373610.0,
|
118 |
+
"trial_name": null,
|
119 |
+
"trial_params": null
|
120 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19dd6bfd2e3594dda61f7057f2b669c453ad3eb593ab2a50595fcdfc7be89262
|
3 |
+
size 2415
|