zera09 commited on
Commit
4d2c52d
1 Parent(s): b07f583

End of training

Browse files
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: SpanBERT/spanbert-large-cased
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - f1
7
+ - accuracy
8
+ model-index:
9
+ - name: aspect_complaint_spanbert
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
+ # aspect_complaint_spanbert
17
+
18
+ This model is a fine-tuned version of [SpanBERT/spanbert-large-cased](https://huggingface.co/SpanBERT/spanbert-large-cased) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2032
21
+ - F1: 0.8368
22
+ - Roc Auc: 0.8935
23
+ - Accuracy: 0.5292
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 48
44
+ - eval_batch_size: 48
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 20
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
53
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
54
+ | No log | 1.0 | 97 | 0.2810 | 0.6988 | 0.7718 | 0.0 |
55
+ | No log | 2.0 | 194 | 0.2209 | 0.7688 | 0.8260 | 0.2577 |
56
+ | No log | 3.0 | 291 | 0.2017 | 0.7958 | 0.8477 | 0.3565 |
57
+ | No log | 4.0 | 388 | 0.1882 | 0.8120 | 0.8678 | 0.4184 |
58
+ | No log | 5.0 | 485 | 0.1773 | 0.8272 | 0.8693 | 0.4416 |
59
+ | 0.2417 | 6.0 | 582 | 0.1732 | 0.8262 | 0.8792 | 0.4811 |
60
+ | 0.2417 | 7.0 | 679 | 0.1719 | 0.8331 | 0.8795 | 0.4759 |
61
+ | 0.2417 | 8.0 | 776 | 0.1722 | 0.8341 | 0.8814 | 0.5017 |
62
+ | 0.2417 | 9.0 | 873 | 0.1797 | 0.8347 | 0.8818 | 0.4923 |
63
+ | 0.2417 | 10.0 | 970 | 0.1856 | 0.8328 | 0.8859 | 0.5112 |
64
+ | 0.1287 | 11.0 | 1067 | 0.1866 | 0.8343 | 0.8868 | 0.5275 |
65
+ | 0.1287 | 12.0 | 1164 | 0.1868 | 0.8378 | 0.8898 | 0.5258 |
66
+ | 0.1287 | 13.0 | 1261 | 0.1923 | 0.8322 | 0.8864 | 0.5120 |
67
+ | 0.1287 | 14.0 | 1358 | 0.1916 | 0.8400 | 0.8929 | 0.5387 |
68
+ | 0.1287 | 15.0 | 1455 | 0.1975 | 0.8368 | 0.8919 | 0.5421 |
69
+ | 0.0781 | 16.0 | 1552 | 0.1974 | 0.8403 | 0.8951 | 0.5369 |
70
+ | 0.0781 | 17.0 | 1649 | 0.2022 | 0.8329 | 0.8911 | 0.5241 |
71
+ | 0.0781 | 18.0 | 1746 | 0.2012 | 0.8360 | 0.8921 | 0.5284 |
72
+ | 0.0781 | 19.0 | 1843 | 0.2027 | 0.8367 | 0.8936 | 0.5335 |
73
+ | 0.0781 | 20.0 | 1940 | 0.2032 | 0.8368 | 0.8935 | 0.5292 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.41.1
79
+ - Pytorch 1.13.1+cu117
80
+ - Datasets 2.19.1
81
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "SpanBERT/spanbert-large-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 1024,
12
+ "id2label": {
13
+ "0": "Over-all_Complaint Label",
14
+ "1": "provider_response",
15
+ "2": "misc_info",
16
+ "3": "credential_error",
17
+ "4": "net_banking_issue",
18
+ "5": "consumer_safety",
19
+ "6": "review",
20
+ "7": "no_aspects",
21
+ "8": "general_query",
22
+ "9": "financial_situation",
23
+ "10": "financial_info",
24
+ "11": "Complaint",
25
+ "12": "Non Complaint"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 4096,
29
+ "label2id": {
30
+ "Complaint": 11,
31
+ "Non Complaint": 12,
32
+ "Over-all_Complaint Label": 0,
33
+ "consumer_safety": 5,
34
+ "credential_error": 3,
35
+ "financial_info": 10,
36
+ "financial_situation": 9,
37
+ "general_query": 8,
38
+ "misc_info": 2,
39
+ "net_banking_issue": 4,
40
+ "no_aspects": 7,
41
+ "provider_response": 1,
42
+ "review": 6
43
+ },
44
+ "layer_norm_eps": 1e-12,
45
+ "max_position_embeddings": 512,
46
+ "model_type": "bert",
47
+ "num_attention_heads": 16,
48
+ "num_hidden_layers": 24,
49
+ "pad_token_id": 0,
50
+ "position_embedding_type": "absolute",
51
+ "problem_type": "multi_label_classification",
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.41.1",
54
+ "type_vocab_size": 2,
55
+ "use_cache": true,
56
+ "vocab_size": 28996
57
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df67bc56d6ee097a5781cffe3fbf855d35440cffbee7e81ed412ca433046f85b
3
+ size 1334417364
runs/Jun14_20-27-28_iit-p/events.out.tfevents.1718377052.iit-p.32987.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8367a39de088403f403623847ede335d1542a7094436ca3b2a2ac0ee76be9431
3
+ size 6243
runs/Jun14_20-38-17_iit-p/events.out.tfevents.1718377699.iit-p.34727.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55d5094b1b752af29ae76d3681ae95382cc66215d4fe497ff21007b4fe1fbfd3
3
+ size 6128
runs/Jun14_20-41-38_iit-p/events.out.tfevents.1718377901.iit-p.35800.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:840fb05d081d20ff41769c533ae248b1865f66114384fa965f0efc4b4e553c9d
3
+ size 4136
runs/Jun14_20-42-17_iit-p/events.out.tfevents.1718377940.iit-p.36120.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bb84f068dfe9c2a8b141b22b7a7d2f631ab113e593ce0736e90541eb074da7b
3
+ size 4136
runs/Jun14_20-42-53_iit-p/events.out.tfevents.1718377975.iit-p.36440.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2805fc368683a12761374e493438179f1cd164d12f0067588f9c406899997664
3
+ size 4136
runs/Jun14_20-43-37_iit-p/events.out.tfevents.1718378020.iit-p.36763.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1b9f9fb82181534ceb88f33123502f9bdbfd729ea8000f3e71a8d9abb032dcc
3
+ size 14878
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5924a9a5ab65cf61aa900006f43ac29b08497a89f6d6e04057a829b944f99723
3
+ size 4667
vocab.txt ADDED
The diff for this file is too large to render. See raw diff