Theoreticallyhugo
commited on
Commit
•
6ef38d7
1
Parent(s):
38b4558
Training in progress, epoch 2, checkpoint
Browse files- checkpoint-82/config.json +53 -0
- checkpoint-82/merges.txt +0 -0
- checkpoint-82/model.safetensors +3 -0
- checkpoint-82/optimizer.pt +3 -0
- checkpoint-82/rng_state.pth +3 -0
- checkpoint-82/scheduler.pt +3 -0
- checkpoint-82/special_tokens_map.json +15 -0
- checkpoint-82/tokenizer.json +0 -0
- checkpoint-82/tokenizer_config.json +57 -0
- checkpoint-82/trainer_state.json +111 -0
- checkpoint-82/training_args.bin +3 -0
- checkpoint-82/vocab.json +0 -0
checkpoint-82/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.46.0",
|
51 |
+
"type_vocab_size": 1,
|
52 |
+
"vocab_size": 50265
|
53 |
+
}
|
checkpoint-82/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-82/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ae7f6009858cd80989f625d187716e434919a282b4e2495fdddb7d467153a4c
|
3 |
+
size 592318676
|
checkpoint-82/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67afd504adee65842b24b6efeda532ff782e679eb0932c95531b3561a09b92e1
|
3 |
+
size 1014645498
|
checkpoint-82/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89877ef9e20371f8fe0b9908da02b2f9df9183d72fe426c751529fa8e0e2e0e2
|
3 |
+
size 14244
|
checkpoint-82/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:35becfc5c99f2600532b4996a243492c9f70147154c4888c3394125f10b7908d
|
3 |
+
size 1064
|
checkpoint-82/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-82/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-82/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": false,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 1000000000000000019884624838656,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"sep_token": "</s>",
|
54 |
+
"tokenizer_class": "LongformerTokenizer",
|
55 |
+
"trim_offsets": true,
|
56 |
+
"unk_token": "<unk>"
|
57 |
+
}
|
checkpoint-82/trainer_state.json
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.10394605249166489,
|
3 |
+
"best_model_checkpoint": "longformer-spans/checkpoint-82",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 82,
|
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.773921200750469,
|
15 |
+
"precision": 0.8258258258258259,
|
16 |
+
"recall": 0.7281553398058253,
|
17 |
+
"support": 1133.0
|
18 |
+
},
|
19 |
+
"eval_I": {
|
20 |
+
"f1-score": 0.9504992905522983,
|
21 |
+
"precision": 0.9305934158104424,
|
22 |
+
"recall": 0.9712753734201456,
|
23 |
+
"support": 18277.0
|
24 |
+
},
|
25 |
+
"eval_O": {
|
26 |
+
"f1-score": 0.9060251089982665,
|
27 |
+
"precision": 0.9388199433921185,
|
28 |
+
"recall": 0.8754441173484926,
|
29 |
+
"support": 9851.0
|
30 |
+
},
|
31 |
+
"eval_accuracy": 0.9295991251153413,
|
32 |
+
"eval_loss": 0.20753507316112518,
|
33 |
+
"eval_macro avg": {
|
34 |
+
"f1-score": 0.8768152001003445,
|
35 |
+
"precision": 0.8984130616761289,
|
36 |
+
"recall": 0.8582916101914878,
|
37 |
+
"support": 29261.0
|
38 |
+
},
|
39 |
+
"eval_runtime": 1.3745,
|
40 |
+
"eval_samples_per_second": 58.203,
|
41 |
+
"eval_steps_per_second": 7.275,
|
42 |
+
"eval_weighted avg": {
|
43 |
+
"f1-score": 0.9286894365406706,
|
44 |
+
"precision": 0.9293063047668868,
|
45 |
+
"recall": 0.9295991251153413,
|
46 |
+
"support": 29261.0
|
47 |
+
},
|
48 |
+
"step": 41
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 2.0,
|
52 |
+
"eval_B": {
|
53 |
+
"f1-score": 0.8532477947072975,
|
54 |
+
"precision": 0.7817781043350478,
|
55 |
+
"recall": 0.93909973521624,
|
56 |
+
"support": 1133.0
|
57 |
+
},
|
58 |
+
"eval_I": {
|
59 |
+
"f1-score": 0.9757511140271741,
|
60 |
+
"precision": 0.9750846901977925,
|
61 |
+
"recall": 0.9764184494173004,
|
62 |
+
"support": 18277.0
|
63 |
+
},
|
64 |
+
"eval_O": {
|
65 |
+
"f1-score": 0.9535708776800864,
|
66 |
+
"precision": 0.9661387789122734,
|
67 |
+
"recall": 0.9413257537305857,
|
68 |
+
"support": 9851.0
|
69 |
+
},
|
70 |
+
"eval_accuracy": 0.9631591538224941,
|
71 |
+
"eval_loss": 0.10394605249166489,
|
72 |
+
"eval_macro avg": {
|
73 |
+
"f1-score": 0.927523262138186,
|
74 |
+
"precision": 0.9076671911483712,
|
75 |
+
"recall": 0.9522813127880422,
|
76 |
+
"support": 29261.0
|
77 |
+
},
|
78 |
+
"eval_runtime": 1.3627,
|
79 |
+
"eval_samples_per_second": 58.708,
|
80 |
+
"eval_steps_per_second": 7.338,
|
81 |
+
"eval_weighted avg": {
|
82 |
+
"f1-score": 0.9635405344487392,
|
83 |
+
"precision": 0.9645880382085871,
|
84 |
+
"recall": 0.9631591538224941,
|
85 |
+
"support": 29261.0
|
86 |
+
},
|
87 |
+
"step": 82
|
88 |
+
}
|
89 |
+
],
|
90 |
+
"logging_steps": 500,
|
91 |
+
"max_steps": 205,
|
92 |
+
"num_input_tokens_seen": 0,
|
93 |
+
"num_train_epochs": 5,
|
94 |
+
"save_steps": 500,
|
95 |
+
"stateful_callbacks": {
|
96 |
+
"TrainerControl": {
|
97 |
+
"args": {
|
98 |
+
"should_epoch_stop": false,
|
99 |
+
"should_evaluate": false,
|
100 |
+
"should_log": false,
|
101 |
+
"should_save": true,
|
102 |
+
"should_training_stop": false
|
103 |
+
},
|
104 |
+
"attributes": {}
|
105 |
+
}
|
106 |
+
},
|
107 |
+
"total_flos": 287573305471200.0,
|
108 |
+
"train_batch_size": 8,
|
109 |
+
"trial_name": null,
|
110 |
+
"trial_params": null
|
111 |
+
}
|
checkpoint-82/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48e6096217861fceecf3217bccfb927eedaa1468f412305cbdb6fb177b899ee2
|
3 |
+
size 5240
|
checkpoint-82/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|