contemmcm commited on
Commit
7079031
·
verified ·
1 Parent(s): 3cb9e6e

End of training

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: studio-ousia/luke-large-lite
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - rouge
9
+ model-index:
10
+ - name: cb3b44cc8e60bf559eae3299ff06fbab
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # cb3b44cc8e60bf559eae3299ff06fbab
18
+
19
+ This model is a fine-tuned version of [studio-ousia/luke-large-lite](https://huggingface.co/studio-ousia/luke-large-lite) on the google/boolq dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.6717
22
+ - Data Size: 0.25
23
+ - Epoch Runtime: 20.3356
24
+ - Accuracy: 0.6213
25
+ - F1 Macro: 0.3832
26
+ - Rouge1: 0.6213
27
+ - Rouge2: 0.0
28
+ - Rougel: 0.6207
29
+ - Rougelsum: 0.6210
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 5e-05
49
+ - train_batch_size: 8
50
+ - eval_batch_size: 8
51
+ - seed: 42
52
+ - distributed_type: multi-GPU
53
+ - num_devices: 4
54
+ - total_train_batch_size: 32
55
+ - total_eval_batch_size: 32
56
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
57
+ - lr_scheduler_type: constant
58
+ - num_epochs: 50
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Data Size | Epoch Runtime | Accuracy | F1 Macro | Rouge1 | Rouge2 | Rougel | Rougelsum |
63
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:-------------:|:--------:|:--------:|:------:|:------:|:------:|:---------:|
64
+ | No log | 0 | 0 | 0.6734 | 0 | 5.7268 | 0.6213 | 0.3832 | 0.6213 | 0.0 | 0.6207 | 0.6210 |
65
+ | No log | 1 | 294 | 0.7040 | 0.0078 | 6.4820 | 0.3934 | 0.3378 | 0.3931 | 0.0 | 0.3937 | 0.3931 |
66
+ | No log | 2 | 588 | 0.6640 | 0.0156 | 6.9528 | 0.6213 | 0.3832 | 0.6213 | 0.0 | 0.6207 | 0.6210 |
67
+ | No log | 3 | 882 | 0.6654 | 0.0312 | 8.5753 | 0.6213 | 0.3832 | 0.6213 | 0.0 | 0.6207 | 0.6210 |
68
+ | 0.0277 | 4 | 1176 | 0.6708 | 0.0625 | 10.9820 | 0.6213 | 0.3832 | 0.6213 | 0.0 | 0.6207 | 0.6210 |
69
+ | 0.0575 | 5 | 1470 | 0.6649 | 0.125 | 14.1243 | 0.6213 | 0.3832 | 0.6213 | 0.0 | 0.6207 | 0.6210 |
70
+ | 0.0989 | 6 | 1764 | 0.6717 | 0.25 | 20.3356 | 0.6213 | 0.3832 | 0.6213 | 0.0 | 0.6207 | 0.6210 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.57.0
76
+ - Pytorch 2.8.0+cu128
77
+ - Datasets 4.3.0
78
+ - Tokenizers 0.22.1
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<ent2>": 50266,
3
+ "<ent>": 50265
4
+ }
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LukeForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bert_model_name": "roberta-large",
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "entity_emb_size": 256,
11
+ "entity_vocab_size": 4,
12
+ "eos_token_id": 2,
13
+ "gradient_checkpointing": false,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.1,
16
+ "hidden_size": 1024,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 4096,
19
+ "layer_norm_eps": 1e-05,
20
+ "max_position_embeddings": 514,
21
+ "model_type": "luke",
22
+ "num_attention_heads": 16,
23
+ "num_hidden_layers": 24,
24
+ "output_past": true,
25
+ "pad_token_id": 1,
26
+ "position_embedding_type": "absolute",
27
+ "problem_type": "single_label_classification",
28
+ "transformers_version": "4.57.0",
29
+ "type_vocab_size": 1,
30
+ "use_cache": true,
31
+ "use_entity_aware_attention": true,
32
+ "vocab_size": 50267
33
+ }
entity_vocab.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "[MASK2]": 3,
3
+ "[MASK]": 0,
4
+ "[PAD]": 2,
5
+ "[UNK]": 1
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d91b54ba3280c27e3d889969607b8654f76ec428b82d9dff09fca7d2dbdfdb03
3
+ size 1726976480
special_tokens_map.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<ent>",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "<ent2>",
12
+ "lstrip": false,
13
+ "normalized": true,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ {
18
+ "content": "<ent>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ {
25
+ "content": "<ent2>",
26
+ "lstrip": false,
27
+ "normalized": true,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ {
32
+ "content": "<ent>",
33
+ "lstrip": false,
34
+ "normalized": true,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ },
38
+ {
39
+ "content": "<ent2>",
40
+ "lstrip": false,
41
+ "normalized": true,
42
+ "rstrip": false,
43
+ "single_word": false
44
+ }
45
+ ],
46
+ "bos_token": {
47
+ "content": "<s>",
48
+ "lstrip": false,
49
+ "normalized": true,
50
+ "rstrip": false,
51
+ "single_word": false
52
+ },
53
+ "cls_token": {
54
+ "content": "<s>",
55
+ "lstrip": false,
56
+ "normalized": true,
57
+ "rstrip": false,
58
+ "single_word": false
59
+ },
60
+ "eos_token": {
61
+ "content": "</s>",
62
+ "lstrip": false,
63
+ "normalized": true,
64
+ "rstrip": false,
65
+ "single_word": false
66
+ },
67
+ "mask_token": {
68
+ "content": "<mask>",
69
+ "lstrip": true,
70
+ "normalized": true,
71
+ "rstrip": false,
72
+ "single_word": false
73
+ },
74
+ "pad_token": {
75
+ "content": "<pad>",
76
+ "lstrip": false,
77
+ "normalized": true,
78
+ "rstrip": false,
79
+ "single_word": false
80
+ },
81
+ "sep_token": {
82
+ "content": "</s>",
83
+ "lstrip": false,
84
+ "normalized": true,
85
+ "rstrip": false,
86
+ "single_word": false
87
+ },
88
+ "unk_token": {
89
+ "content": "<unk>",
90
+ "lstrip": false,
91
+ "normalized": true,
92
+ "rstrip": false,
93
+ "single_word": false
94
+ }
95
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
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": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "50265": {
45
+ "content": "<ent>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "50266": {
53
+ "content": "<ent2>",
54
+ "lstrip": false,
55
+ "normalized": true,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ }
60
+ },
61
+ "additional_special_tokens": [
62
+ "<ent>",
63
+ "<ent2>",
64
+ "<ent>",
65
+ "<ent2>",
66
+ "<ent>",
67
+ "<ent2>"
68
+ ],
69
+ "bos_token": "<s>",
70
+ "clean_up_tokenization_spaces": false,
71
+ "cls_token": "<s>",
72
+ "entity_mask2_token": "[MASK2]",
73
+ "entity_mask_token": "[MASK]",
74
+ "entity_pad_token": "[PAD]",
75
+ "entity_token_1": "<ent>",
76
+ "entity_token_2": "<ent2>",
77
+ "entity_unk_token": "[UNK]",
78
+ "eos_token": "</s>",
79
+ "errors": "replace",
80
+ "extra_special_tokens": {},
81
+ "mask_token": "<mask>",
82
+ "max_entity_length": 32,
83
+ "max_mention_length": 30,
84
+ "model_max_length": 512,
85
+ "pad_token": "<pad>",
86
+ "sep_token": "</s>",
87
+ "task": null,
88
+ "tokenizer_class": "LukeTokenizer",
89
+ "unk_token": "<unk>"
90
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be1d42f854ef6e557aafd8100fc5ae8e85587d73b449a4435b9a5a7d782ed1bc
3
+ size 5969
vocab.json ADDED
The diff for this file is too large to render. See raw diff