Theoreticallyhugo
commited on
Commit
•
fed6441
1
Parent(s):
dcc4d2e
Training in progress, epoch 2, checkpoint
Browse files- checkpoint-162/config.json +53 -0
- checkpoint-162/merges.txt +0 -0
- checkpoint-162/model.safetensors +3 -0
- checkpoint-162/optimizer.pt +3 -0
- checkpoint-162/rng_state.pth +3 -0
- checkpoint-162/scheduler.pt +3 -0
- checkpoint-162/special_tokens_map.json +15 -0
- checkpoint-162/tokenizer.json +0 -0
- checkpoint-162/tokenizer_config.json +57 -0
- checkpoint-162/trainer_state.json +99 -0
- checkpoint-162/training_args.bin +3 -0
- checkpoint-162/vocab.json +0 -0
checkpoint-162/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-162/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-162/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba20684845ee5d7c93b29cb326da21782b61396c6ddded1fe325bfd9cf920613
|
3 |
+
size 592318676
|
checkpoint-162/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6d93b4686e10cfbb51d0770108bd285a5e41cf0945f62440958b624394ad1f8
|
3 |
+
size 1014645498
|
checkpoint-162/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6613e657dfa5c91f076329239ba74e9bccea696a05690b1f35a5faffc85df4aa
|
3 |
+
size 14244
|
checkpoint-162/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bd8264931534616018335b535732049961e4647585455e22b74dcb3e6034c63
|
3 |
+
size 1064
|
checkpoint-162/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-162/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-162/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-162/trainer_state.json
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 162,
|
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 |
+
"logging_steps": 500,
|
91 |
+
"max_steps": 4050,
|
92 |
+
"num_input_tokens_seen": 0,
|
93 |
+
"num_train_epochs": 50,
|
94 |
+
"save_steps": 500,
|
95 |
+
"total_flos": 286680220671600.0,
|
96 |
+
"train_batch_size": 4,
|
97 |
+
"trial_name": null,
|
98 |
+
"trial_params": null
|
99 |
+
}
|
checkpoint-162/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-162/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|