tangminhanh commited on
Commit
7f4181e
1 Parent(s): 90e38c5
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: tangminhanh/ts_tg
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: ts_cate
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # ts_cate
20
+
21
+ This model is a fine-tuned version of [tangminhanh/ts_tg](https://huggingface.co/tangminhanh/ts_tg) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0263
24
+ - Accuracy: 0.8555
25
+ - F1: 0.8736
26
+ - Precision: 0.8824
27
+ - Recall: 0.8649
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 32
48
+ - eval_batch_size: 64
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 10
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
58
+ | No log | 1.0 | 404 | 0.0458 | 0.6802 | 0.7650 | 0.8750 | 0.6796 |
59
+ | 0.1001 | 2.0 | 808 | 0.0318 | 0.7717 | 0.8259 | 0.8817 | 0.7767 |
60
+ | 0.0321 | 3.0 | 1212 | 0.0278 | 0.8251 | 0.8564 | 0.8862 | 0.8286 |
61
+ | 0.0215 | 4.0 | 1616 | 0.0256 | 0.8322 | 0.8627 | 0.8909 | 0.8363 |
62
+ | 0.0161 | 5.0 | 2020 | 0.0256 | 0.8455 | 0.8679 | 0.8812 | 0.8551 |
63
+ | 0.0161 | 6.0 | 2424 | 0.0259 | 0.8499 | 0.8711 | 0.8831 | 0.8594 |
64
+ | 0.0124 | 7.0 | 2828 | 0.0255 | 0.8536 | 0.8713 | 0.8836 | 0.8594 |
65
+ | 0.0105 | 8.0 | 3232 | 0.0262 | 0.8533 | 0.8723 | 0.8836 | 0.8612 |
66
+ | 0.0087 | 9.0 | 3636 | 0.0261 | 0.8567 | 0.8746 | 0.8838 | 0.8656 |
67
+ | 0.0078 | 10.0 | 4040 | 0.0263 | 0.8555 | 0.8736 | 0.8824 | 0.8649 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.42.4
73
+ - Pytorch 2.3.1+cu121
74
+ - Datasets 2.20.0
75
+ - Tokenizers 0.19.1
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[MASK]": 128000
3
+ }
config.json ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tangminhanh/ts_tg",
3
+ "architectures": [
4
+ "DebertaV2ForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "Biometric",
12
+ "1": "Document",
13
+ "2": "On Boarding",
14
+ "3": "Ticketing Support",
15
+ "4": "Asset Management",
16
+ "5": "Off Boarding",
17
+ "6": "CCTV",
18
+ "7": "Checklist",
19
+ "8": "Hardware",
20
+ "9": "General Assistance",
21
+ "10": "TV Advertisement",
22
+ "11": "Network",
23
+ "12": "Network and Infrastructure Design",
24
+ "13": "Circuit",
25
+ "14": "Outage",
26
+ "15": "Network Security",
27
+ "16": "Notification",
28
+ "17": "System Security",
29
+ "18": "Server Management",
30
+ "19": "Server Projects",
31
+ "20": "Services Management",
32
+ "21": "User Account",
33
+ "22": "Deployment / Movement",
34
+ "23": "Email",
35
+ "24": "Printer",
36
+ "25": "Software",
37
+ "26": "Telephony",
38
+ "27": "Development",
39
+ "28": "Web/Application Security",
40
+ "29": "CASA",
41
+ "30": "Compliance",
42
+ "31": "Email Security",
43
+ "32": "Procurement",
44
+ "33": "TPMO",
45
+ "34": "BCP Activation"
46
+ },
47
+ "initializer_range": 0.02,
48
+ "intermediate_size": 3072,
49
+ "label2id": {
50
+ "Asset Management": 4,
51
+ "BCP Activation": 34,
52
+ "Biometric": 0,
53
+ "CASA": 29,
54
+ "CCTV": 6,
55
+ "Checklist": 7,
56
+ "Circuit": 13,
57
+ "Compliance": 30,
58
+ "Deployment / Movement": 22,
59
+ "Development": 27,
60
+ "Document": 1,
61
+ "Email": 23,
62
+ "Email Security": 31,
63
+ "General Assistance": 9,
64
+ "Hardware": 8,
65
+ "Network": 11,
66
+ "Network Security": 15,
67
+ "Network and Infrastructure Design": 12,
68
+ "Notification": 16,
69
+ "Off Boarding": 5,
70
+ "On Boarding": 2,
71
+ "Outage": 14,
72
+ "Printer": 24,
73
+ "Procurement": 32,
74
+ "Server Management": 18,
75
+ "Server Projects": 19,
76
+ "Services Management": 20,
77
+ "Software": 25,
78
+ "System Security": 17,
79
+ "TPMO": 33,
80
+ "TV Advertisement": 10,
81
+ "Telephony": 26,
82
+ "Ticketing Support": 3,
83
+ "User Account": 21,
84
+ "Web/Application Security": 28
85
+ },
86
+ "layer_norm_eps": 1e-07,
87
+ "max_position_embeddings": 512,
88
+ "max_relative_positions": -1,
89
+ "model_type": "deberta-v2",
90
+ "norm_rel_ebd": "layer_norm",
91
+ "num_attention_heads": 12,
92
+ "num_hidden_layers": 6,
93
+ "pad_token_id": 0,
94
+ "pooler_dropout": 0,
95
+ "pooler_hidden_act": "gelu",
96
+ "pooler_hidden_size": 768,
97
+ "pos_att_type": [
98
+ "p2c",
99
+ "c2p"
100
+ ],
101
+ "position_biased_input": false,
102
+ "position_buckets": 256,
103
+ "problem_type": "multi_label_classification",
104
+ "relative_attention": true,
105
+ "share_att_key": true,
106
+ "torch_dtype": "float32",
107
+ "transformers_version": "4.42.4",
108
+ "type_vocab_size": 0,
109
+ "vocab_size": 128100
110
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60de420a12559e4f2438f215dee42e52e271b4958b8d10c34d0ac8d81a907235
3
+ size 567700076
runs/Aug06_13-56-19_8286c2bd2340/events.out.tfevents.1722952587.8286c2bd2340.1585.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe5e7eb0e2673ac1c1267ba9646201ce195ed477c57f1df8d939f361defecd24
3
+ size 13638
runs/Aug06_13-56-19_8286c2bd2340/events.out.tfevents.1722954943.8286c2bd2340.1585.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1fdeb544359d45cc8260242ec175ef25a91fd6e1db5dc992375e36e92fecefc
3
+ size 560
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "[CLS]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "[SEP]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "[MASK]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "[PAD]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "[SEP]",
39
+ "lstrip": false,
40
+ "normalized": false,
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
+ }
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[UNK]",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "128000": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "[CLS]",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": false,
48
+ "eos_token": "[SEP]",
49
+ "mask_token": "[MASK]",
50
+ "max_length": 512,
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "sp_model_kwargs": {},
58
+ "split_by_punct": false,
59
+ "stride": 0,
60
+ "tokenizer_class": "DebertaV2Tokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]",
64
+ "vocab_type": "spm"
65
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca84d62247c72ad432ded3ebcdee7f00790f5426695f6f3210f998157fdea73b
3
+ size 5112