Ngit commited on
Commit
ba5180e
1 Parent(s): c676fd8

agent-flow-label-v0.4

Browse files
README.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: nreimers/MiniLMv2-L6-H384-distilled-from-RoBERTa-Large
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ model-index:
9
+ - name: MiniLMv2-L6-H384-distilled-from-RoBERTa-Large-agentflow-distil
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # MiniLMv2-L6-H384-distilled-from-RoBERTa-Large-agentflow-distil
17
+
18
+ This model is a fine-tuned version of [nreimers/MiniLMv2-L6-H384-distilled-from-RoBERTa-Large](https://huggingface.co/nreimers/MiniLMv2-L6-H384-distilled-from-RoBERTa-Large) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.1540
21
+ - Accuracy: 0.9616
22
+ - F1: 0.9618
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 7e-05
42
+ - train_batch_size: 10
43
+ - eval_batch_size: 10
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - lr_scheduler_warmup_ratio: 0.1
48
+ - num_epochs: 8
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
54
+ | No log | 0.07 | 30 | 3.4249 | 0.1510 | 0.0404 |
55
+ | No log | 0.13 | 60 | 3.3994 | 0.2779 | 0.1759 |
56
+ | No log | 0.2 | 90 | 3.3313 | 0.3423 | 0.2154 |
57
+ | No log | 0.27 | 120 | 3.1475 | 0.3977 | 0.3024 |
58
+ | No log | 0.33 | 150 | 2.8961 | 0.3494 | 0.2370 |
59
+ | No log | 0.4 | 180 | 2.6867 | 0.5147 | 0.4325 |
60
+ | No log | 0.47 | 210 | 2.4676 | 0.5728 | 0.4955 |
61
+ | No log | 0.54 | 240 | 2.2129 | 0.5657 | 0.4588 |
62
+ | No log | 0.6 | 270 | 1.9712 | 0.6917 | 0.6331 |
63
+ | No log | 0.67 | 300 | 1.8016 | 0.6533 | 0.5799 |
64
+ | No log | 0.74 | 330 | 1.5721 | 0.7185 | 0.6524 |
65
+ | No log | 0.8 | 360 | 1.3381 | 0.8061 | 0.7760 |
66
+ | No log | 0.87 | 390 | 1.1876 | 0.8543 | 0.8319 |
67
+ | No log | 0.94 | 420 | 0.9877 | 0.8722 | 0.8577 |
68
+ | No log | 1.0 | 450 | 0.8819 | 0.8892 | 0.8850 |
69
+ | No log | 1.07 | 480 | 0.7511 | 0.8972 | 0.8955 |
70
+ | 2.2047 | 1.14 | 510 | 0.5262 | 0.9410 | 0.9408 |
71
+ | 2.2047 | 1.21 | 540 | 0.5107 | 0.9294 | 0.9297 |
72
+ | 2.2047 | 1.27 | 570 | 0.4612 | 0.9285 | 0.9292 |
73
+ | 2.2047 | 1.34 | 600 | 0.3487 | 0.9410 | 0.9407 |
74
+ | 2.2047 | 1.41 | 630 | 0.3137 | 0.9374 | 0.9369 |
75
+ | 2.2047 | 1.47 | 660 | 0.2951 | 0.9223 | 0.9190 |
76
+ | 2.2047 | 1.54 | 690 | 0.2738 | 0.9374 | 0.9377 |
77
+ | 2.2047 | 1.61 | 720 | 0.2472 | 0.9446 | 0.9439 |
78
+ | 2.2047 | 1.67 | 750 | 0.1988 | 0.9535 | 0.9530 |
79
+ | 2.2047 | 1.74 | 780 | 0.2016 | 0.9517 | 0.9519 |
80
+ | 2.2047 | 1.81 | 810 | 0.2158 | 0.9428 | 0.9427 |
81
+ | 2.2047 | 1.88 | 840 | 0.2519 | 0.9330 | 0.9324 |
82
+ | 2.2047 | 1.94 | 870 | 0.2224 | 0.9437 | 0.9436 |
83
+ | 2.2047 | 2.01 | 900 | 0.3032 | 0.9285 | 0.9276 |
84
+ | 2.2047 | 2.08 | 930 | 0.1815 | 0.9544 | 0.9546 |
85
+ | 2.2047 | 2.14 | 960 | 0.2125 | 0.9455 | 0.9455 |
86
+ | 2.2047 | 2.21 | 990 | 0.2198 | 0.9455 | 0.9446 |
87
+ | 0.2888 | 2.28 | 1020 | 0.1869 | 0.9571 | 0.9568 |
88
+ | 0.2888 | 2.34 | 1050 | 0.1705 | 0.9571 | 0.9568 |
89
+ | 0.2888 | 2.41 | 1080 | 0.1927 | 0.9526 | 0.9523 |
90
+ | 0.2888 | 2.48 | 1110 | 0.1700 | 0.9562 | 0.9561 |
91
+ | 0.2888 | 2.54 | 1140 | 0.2162 | 0.9464 | 0.9460 |
92
+ | 0.2888 | 2.61 | 1170 | 0.1540 | 0.9616 | 0.9618 |
93
+ | 0.2888 | 2.68 | 1200 | 0.1752 | 0.9562 | 0.9561 |
94
+ | 0.2888 | 2.75 | 1230 | 0.1476 | 0.9607 | 0.9605 |
95
+ | 0.2888 | 2.81 | 1260 | 0.2575 | 0.9410 | 0.9414 |
96
+ | 0.2888 | 2.88 | 1290 | 0.1574 | 0.9616 | 0.9614 |
97
+ | 0.2888 | 2.95 | 1320 | 0.1574 | 0.9598 | 0.9596 |
98
+ | 0.2888 | 3.01 | 1350 | 0.1640 | 0.9580 | 0.9578 |
99
+ | 0.2888 | 3.08 | 1380 | 0.1627 | 0.9598 | 0.9594 |
100
+ | 0.2888 | 3.15 | 1410 | 0.1866 | 0.9544 | 0.9550 |
101
+ | 0.2888 | 3.21 | 1440 | 0.1610 | 0.9526 | 0.9526 |
102
+ | 0.2888 | 3.28 | 1470 | 0.2134 | 0.9419 | 0.9412 |
103
+
104
+
105
+ ### Framework versions
106
+
107
+ - Transformers 4.37.0
108
+ - Pytorch 2.1.2
109
+ - Datasets 2.1.0
110
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nreimers/MiniLMv2-L6-H384-distilled-from-RoBERTa-Large",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 384,
13
+ "id2label": {
14
+ "0": "OTHER",
15
+ "1": "agent_apology_error_mistake",
16
+ "2": "agent_apology_unsatisfactory",
17
+ "3": "agent_didnt_understand",
18
+ "4": "agent_limited_capabilities",
19
+ "5": "agent_refuses_answer",
20
+ "6": "image_limitations",
21
+ "7": "no_information_doesnt_know",
22
+ "8": "success_and_followup_assistance"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 1536,
26
+ "label2id": {
27
+ "OTHER": 0,
28
+ "agent_apology_error_mistake": 1,
29
+ "agent_apology_unsatisfactory": 2,
30
+ "agent_didnt_understand": 3,
31
+ "agent_limited_capabilities": 4,
32
+ "agent_refuses_answer": 5,
33
+ "image_limitations": 6,
34
+ "no_information_doesnt_know": 7,
35
+ "success_and_followup_assistance": 8
36
+ },
37
+ "layer_norm_eps": 1e-05,
38
+ "max_position_embeddings": 514,
39
+ "model_type": "roberta",
40
+ "num_attention_heads": 12,
41
+ "num_hidden_layers": 6,
42
+ "pad_token_id": 1,
43
+ "position_embedding_type": "absolute",
44
+ "problem_type": "single_label_classification",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.37.0",
47
+ "type_vocab_size": 1,
48
+ "use_cache": true,
49
+ "vocab_size": 50265
50
+ }
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:e0ae1ae3a03cf1e18c9ab329791d52b381aa333fad4e8cbc3885a0fb085fc232
3
+ size 121205916
runs/Feb12_11-29-15_eeb74acdeae9/events.out.tfevents.1707737367.eeb74acdeae9.34.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0213caeb3265068678aea266af46c16d6148a0445531ce6d0d19e5ad36cc6da
3
+ size 23995
runs/Feb12_11-29-15_eeb74acdeae9/events.out.tfevents.1707737881.eeb74acdeae9.34.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b70aeb8ad5411318ddd02cf3e44ec49a228307c23422677fc8ca4fac11b0ee8
3
+ size 457
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 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
+ "max_length": 256,
52
+ "model_max_length": 512,
53
+ "pad_token": "<pad>",
54
+ "sep_token": "</s>",
55
+ "stride": 0,
56
+ "tokenizer_class": "RobertaTokenizer",
57
+ "trim_offsets": true,
58
+ "truncation_side": "right",
59
+ "truncation_strategy": "longest_first",
60
+ "unk_token": "<unk>"
61
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1def2c40b83d641bb90a36f594e188cd44ad8f4579d53fa91dcf4f73013ff3df
3
+ size 4856
vocab.json ADDED
The diff for this file is too large to render. See raw diff