Ngit commited on
Commit
111db42
1 Parent(s): ac14fb9

user-flow-label-v0.4

Browse files
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-userflow-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-userflow-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.6738
21
+ - Accuracy: 0.7236
22
+ - F1: 0.7313
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.25 | 100 | 2.3745 | 0.3923 | 0.2210 |
55
+ | No log | 0.51 | 200 | 2.1198 | 0.4126 | 0.2567 |
56
+ | No log | 0.76 | 300 | 1.8704 | 0.4756 | 0.3979 |
57
+ | No log | 1.01 | 400 | 1.5780 | 0.5305 | 0.4551 |
58
+ | 2.1769 | 1.26 | 500 | 1.3717 | 0.5650 | 0.5037 |
59
+ | 2.1769 | 1.52 | 600 | 1.2590 | 0.5935 | 0.5543 |
60
+ | 2.1769 | 1.77 | 700 | 1.0973 | 0.6280 | 0.5804 |
61
+ | 2.1769 | 2.02 | 800 | 0.9814 | 0.6423 | 0.5978 |
62
+ | 2.1769 | 2.27 | 900 | 0.9589 | 0.6463 | 0.6152 |
63
+ | 0.9806 | 2.53 | 1000 | 0.9098 | 0.6565 | 0.6483 |
64
+ | 0.9806 | 2.78 | 1100 | 0.8747 | 0.6321 | 0.6194 |
65
+ | 0.9806 | 3.03 | 1200 | 0.8172 | 0.6931 | 0.6902 |
66
+ | 0.9806 | 3.28 | 1300 | 0.7862 | 0.7033 | 0.7017 |
67
+ | 0.9806 | 3.54 | 1400 | 0.7975 | 0.6890 | 0.6952 |
68
+ | 0.4166 | 3.79 | 1500 | 0.7674 | 0.6951 | 0.6913 |
69
+ | 0.4166 | 4.04 | 1600 | 0.7521 | 0.6911 | 0.6997 |
70
+ | 0.4166 | 4.29 | 1700 | 0.7944 | 0.6951 | 0.7055 |
71
+ | 0.4166 | 4.55 | 1800 | 0.7366 | 0.7093 | 0.7127 |
72
+ | 0.4166 | 4.8 | 1900 | 0.7412 | 0.6911 | 0.6944 |
73
+ | 0.2158 | 5.05 | 2000 | 0.7246 | 0.7012 | 0.7083 |
74
+ | 0.2158 | 5.3 | 2100 | 0.7097 | 0.7195 | 0.7253 |
75
+ | 0.2158 | 5.56 | 2200 | 0.6914 | 0.7134 | 0.7197 |
76
+ | 0.2158 | 5.81 | 2300 | 0.6875 | 0.7175 | 0.7266 |
77
+ | 0.2158 | 6.06 | 2400 | 0.6544 | 0.7236 | 0.7296 |
78
+ | 0.1423 | 6.31 | 2500 | 0.6738 | 0.7236 | 0.7313 |
79
+ | 0.1423 | 6.57 | 2600 | 0.6640 | 0.7175 | 0.7253 |
80
+ | 0.1423 | 6.82 | 2700 | 0.6617 | 0.7154 | 0.7233 |
81
+ | 0.1423 | 7.07 | 2800 | 0.6582 | 0.7154 | 0.7205 |
82
+ | 0.1423 | 7.32 | 2900 | 0.6678 | 0.7033 | 0.7093 |
83
+ | 0.1204 | 7.58 | 3000 | 0.6596 | 0.7154 | 0.7197 |
84
+ | 0.1204 | 7.83 | 3100 | 0.6598 | 0.7154 | 0.7217 |
85
+
86
+
87
+ ### Framework versions
88
+
89
+ - Transformers 4.37.0
90
+ - Pytorch 2.1.2
91
+ - Datasets 2.1.0
92
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "agrees_praising_thanking",
16
+ "2": "asks_source",
17
+ "3": "continue",
18
+ "4": "continue_or_finnish_code",
19
+ "5": "improve_or_modify_answer",
20
+ "6": "lack_of_understandment",
21
+ "7": "model_wrong_or_try_again",
22
+ "8": "more_listing_or_expand",
23
+ "9": "repeat_answers_or_question",
24
+ "10": "request_example",
25
+ "11": "user_complains_repetition",
26
+ "12": "user_doubts_answer",
27
+ "13": "user_goodbye",
28
+ "14": "user_reminds_question",
29
+ "15": "user_wants_agent_to_answer",
30
+ "16": "user_wants_explanation",
31
+ "17": "user_wants_more_detail",
32
+ "18": "user_wants_shorter_longer_answer",
33
+ "19": "user_wants_simplier_explanation",
34
+ "20": "user_wants_yes_or_no"
35
+ },
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 1536,
38
+ "label2id": {
39
+ "OTHER": 0,
40
+ "agrees_praising_thanking": 1,
41
+ "asks_source": 2,
42
+ "continue": 3,
43
+ "continue_or_finnish_code": 4,
44
+ "improve_or_modify_answer": 5,
45
+ "lack_of_understandment": 6,
46
+ "model_wrong_or_try_again": 7,
47
+ "more_listing_or_expand": 8,
48
+ "repeat_answers_or_question": 9,
49
+ "request_example": 10,
50
+ "user_complains_repetition": 11,
51
+ "user_doubts_answer": 12,
52
+ "user_goodbye": 13,
53
+ "user_reminds_question": 14,
54
+ "user_wants_agent_to_answer": 15,
55
+ "user_wants_explanation": 16,
56
+ "user_wants_more_detail": 17,
57
+ "user_wants_shorter_longer_answer": 18,
58
+ "user_wants_simplier_explanation": 19,
59
+ "user_wants_yes_or_no": 20
60
+ },
61
+ "layer_norm_eps": 1e-05,
62
+ "max_position_embeddings": 514,
63
+ "model_type": "roberta",
64
+ "num_attention_heads": 12,
65
+ "num_hidden_layers": 6,
66
+ "pad_token_id": 1,
67
+ "position_embedding_type": "absolute",
68
+ "problem_type": "single_label_classification",
69
+ "torch_dtype": "float32",
70
+ "transformers_version": "4.37.0",
71
+ "type_vocab_size": 1,
72
+ "use_cache": true,
73
+ "vocab_size": 50265
74
+ }
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:d5ded45df2c6c2d48802aff4ea3d7c9492e0ffab954d61759c9615f7deeb3a07
3
+ size 121224404
runs/Feb06_09-45-26_c7341dfc909a/events.out.tfevents.1707212746.c7341dfc909a.34.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68667af0a3a7928c57a015a45c343fc485bb11bb48407d9f6822edd208711ff4
3
+ size 18775
runs/Feb06_09-45-26_c7341dfc909a/events.out.tfevents.1707213067.c7341dfc909a.34.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4d9b84897e68cef05c043ac11c7b7a30c31f82eeaf841b280a9d78aedaf575b
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,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 512,
52
+ "model_max_length": 512,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "<pad>",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "</s>",
58
+ "stride": 0,
59
+ "tokenizer_class": "RobertaTokenizer",
60
+ "trim_offsets": true,
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "<unk>"
64
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3abd637467f57faa80b06d37db4cc170a61b093c4ac3eca3269927ee7e804dac
3
+ size 4856
vocab.json ADDED
The diff for this file is too large to render. See raw diff