Theoreticallyhugo
commited on
Commit
•
6897d40
1
Parent(s):
064aa55
Training in progress, epoch 3, checkpoint
Browse files- checkpoint-243/config.json +53 -0
- checkpoint-243/merges.txt +0 -0
- checkpoint-243/model.safetensors +3 -0
- checkpoint-243/optimizer.pt +3 -0
- checkpoint-243/rng_state.pth +3 -0
- checkpoint-243/scheduler.pt +3 -0
- checkpoint-243/special_tokens_map.json +15 -0
- checkpoint-243/tokenizer.json +0 -0
- checkpoint-243/tokenizer_config.json +57 -0
- checkpoint-243/trainer_state.json +138 -0
- checkpoint-243/training_args.bin +3 -0
- checkpoint-243/vocab.json +0 -0
checkpoint-243/config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "allenai/longformer-base-4096",
|
3 |
+
"architectures": [
|
4 |
+
"LongformerForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_mode": "longformer",
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"attention_window": [
|
9 |
+
700,
|
10 |
+
700,
|
11 |
+
700,
|
12 |
+
700,
|
13 |
+
700,
|
14 |
+
700,
|
15 |
+
700,
|
16 |
+
700,
|
17 |
+
700,
|
18 |
+
700,
|
19 |
+
700,
|
20 |
+
700
|
21 |
+
],
|
22 |
+
"bos_token_id": 0,
|
23 |
+
"eos_token_id": 2,
|
24 |
+
"gradient_checkpointing": false,
|
25 |
+
"hidden_act": "gelu",
|
26 |
+
"hidden_dropout_prob": 0.1,
|
27 |
+
"hidden_size": 768,
|
28 |
+
"id2label": {
|
29 |
+
"0": "O",
|
30 |
+
"1": "B",
|
31 |
+
"2": "I"
|
32 |
+
},
|
33 |
+
"ignore_attention_mask": false,
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"intermediate_size": 3072,
|
36 |
+
"label2id": {
|
37 |
+
"B": 1,
|
38 |
+
"I": 2,
|
39 |
+
"O": 0
|
40 |
+
},
|
41 |
+
"layer_norm_eps": 1e-05,
|
42 |
+
"max_position_embeddings": 4098,
|
43 |
+
"model_type": "longformer",
|
44 |
+
"num_attention_heads": 12,
|
45 |
+
"num_hidden_layers": 12,
|
46 |
+
"onnx_export": false,
|
47 |
+
"pad_token_id": 1,
|
48 |
+
"sep_token_id": 2,
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.38.2",
|
51 |
+
"type_vocab_size": 1,
|
52 |
+
"vocab_size": 50265
|
53 |
+
}
|
checkpoint-243/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-243/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4348f3cdbba660cffb989bccd225d44178866cc02222fef2a4eec56440c46458
|
3 |
+
size 592318676
|
checkpoint-243/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e576c3c461f671d80f666ecf0a26eb65274cee49addd088cd9740a68980c8109
|
3 |
+
size 1014645498
|
checkpoint-243/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4510120abb9e19965e0fc90a9342c8b839c7b334c4b005e1a74bbda01d4f51cc
|
3 |
+
size 14244
|
checkpoint-243/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e7403b5a2b8007c90df75059abe86b7e67f96587685c6c4fcbd47bcd5bb1b47
|
3 |
+
size 1064
|
checkpoint-243/special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
checkpoint-243/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-243/tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": true,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 4096,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"sep_token": "</s>",
|
54 |
+
"tokenizer_class": "LongformerTokenizer",
|
55 |
+
"trim_offsets": true,
|
56 |
+
"unk_token": "<unk>"
|
57 |
+
}
|
checkpoint-243/trainer_state.json
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 243,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"eval_B": {
|
14 |
+
"f1-score": 0.8087666523420713,
|
15 |
+
"precision": 0.8189730200174065,
|
16 |
+
"recall": 0.7988115449915111,
|
17 |
+
"support": 1178.0
|
18 |
+
},
|
19 |
+
"eval_I": {
|
20 |
+
"f1-score": 0.9374597034171502,
|
21 |
+
"precision": 0.9521418826739427,
|
22 |
+
"recall": 0.9232234509762421,
|
23 |
+
"support": 18899.0
|
24 |
+
},
|
25 |
+
"eval_O": {
|
26 |
+
"f1-score": 0.8881362400419788,
|
27 |
+
"precision": 0.863303347862376,
|
28 |
+
"recall": 0.9144400785854617,
|
29 |
+
"support": 10180.0
|
30 |
+
},
|
31 |
+
"eval_accuracy": 0.9154245298608586,
|
32 |
+
"eval_loss": 0.2228638380765915,
|
33 |
+
"eval_macro avg": {
|
34 |
+
"f1-score": 0.8781208652670669,
|
35 |
+
"precision": 0.8781394168512416,
|
36 |
+
"recall": 0.8788250248510717,
|
37 |
+
"support": 30257.0
|
38 |
+
},
|
39 |
+
"eval_runtime": 4.7167,
|
40 |
+
"eval_samples_per_second": 17.173,
|
41 |
+
"eval_steps_per_second": 2.332,
|
42 |
+
"eval_weighted avg": {
|
43 |
+
"f1-score": 0.9158543469268937,
|
44 |
+
"precision": 0.9170673807540184,
|
45 |
+
"recall": 0.9154245298608586,
|
46 |
+
"support": 30257.0
|
47 |
+
},
|
48 |
+
"step": 81
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 2.0,
|
52 |
+
"eval_B": {
|
53 |
+
"f1-score": 0.8401515151515152,
|
54 |
+
"precision": 0.7585499316005472,
|
55 |
+
"recall": 0.9414261460101867,
|
56 |
+
"support": 1178.0
|
57 |
+
},
|
58 |
+
"eval_I": {
|
59 |
+
"f1-score": 0.9568235603470944,
|
60 |
+
"precision": 0.9510219016256338,
|
61 |
+
"recall": 0.9626964389650247,
|
62 |
+
"support": 18899.0
|
63 |
+
},
|
64 |
+
"eval_O": {
|
65 |
+
"f1-score": 0.9185648054827655,
|
66 |
+
"precision": 0.9430877483443708,
|
67 |
+
"recall": 0.8952848722986247,
|
68 |
+
"support": 10180.0
|
69 |
+
},
|
70 |
+
"eval_accuracy": 0.9391876260038999,
|
71 |
+
"eval_loss": 0.16692574322223663,
|
72 |
+
"eval_macro avg": {
|
73 |
+
"f1-score": 0.905179960327125,
|
74 |
+
"precision": 0.8842198605235172,
|
75 |
+
"recall": 0.9331358190912787,
|
76 |
+
"support": 30257.0
|
77 |
+
},
|
78 |
+
"eval_runtime": 4.7116,
|
79 |
+
"eval_samples_per_second": 17.192,
|
80 |
+
"eval_steps_per_second": 2.335,
|
81 |
+
"eval_weighted avg": {
|
82 |
+
"f1-score": 0.9394089523635119,
|
83 |
+
"precision": 0.9408589092241132,
|
84 |
+
"recall": 0.9391876260038999,
|
85 |
+
"support": 30257.0
|
86 |
+
},
|
87 |
+
"step": 162
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 3.0,
|
91 |
+
"eval_B": {
|
92 |
+
"f1-score": 0.8612244897959184,
|
93 |
+
"precision": 0.8294025157232704,
|
94 |
+
"recall": 0.8955857385398981,
|
95 |
+
"support": 1178.0
|
96 |
+
},
|
97 |
+
"eval_I": {
|
98 |
+
"f1-score": 0.951106371634231,
|
99 |
+
"precision": 0.9584654236741712,
|
100 |
+
"recall": 0.9438594634636753,
|
101 |
+
"support": 18899.0
|
102 |
+
},
|
103 |
+
"eval_O": {
|
104 |
+
"f1-score": 0.9106743212999903,
|
105 |
+
"precision": 0.9021592442645074,
|
106 |
+
"recall": 0.9193516699410609,
|
107 |
+
"support": 10180.0
|
108 |
+
},
|
109 |
+
"eval_accuracy": 0.9337343424662061,
|
110 |
+
"eval_loss": 0.1742253601551056,
|
111 |
+
"eval_macro avg": {
|
112 |
+
"f1-score": 0.9076683942433799,
|
113 |
+
"precision": 0.8966757278873163,
|
114 |
+
"recall": 0.9195989573148781,
|
115 |
+
"support": 30257.0
|
116 |
+
},
|
117 |
+
"eval_runtime": 4.7094,
|
118 |
+
"eval_samples_per_second": 17.2,
|
119 |
+
"eval_steps_per_second": 2.336,
|
120 |
+
"eval_weighted avg": {
|
121 |
+
"f1-score": 0.9340035812317422,
|
122 |
+
"precision": 0.9344963252190521,
|
123 |
+
"recall": 0.9337343424662061,
|
124 |
+
"support": 30257.0
|
125 |
+
},
|
126 |
+
"step": 243
|
127 |
+
}
|
128 |
+
],
|
129 |
+
"logging_steps": 500,
|
130 |
+
"max_steps": 4050,
|
131 |
+
"num_input_tokens_seen": 0,
|
132 |
+
"num_train_epochs": 50,
|
133 |
+
"save_steps": 500,
|
134 |
+
"total_flos": 430020331007400.0,
|
135 |
+
"train_batch_size": 4,
|
136 |
+
"trial_name": null,
|
137 |
+
"trial_params": null
|
138 |
+
}
|
checkpoint-243/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9f81281de988dbf2616f1c96e725c00f6e4415b289b670a7cb21136eb66e95f
|
3 |
+
size 4856
|
checkpoint-243/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|