credentek commited on
Commit
cca4c10
·
verified ·
1 Parent(s): 6441086

End of training

Browse files
Files changed (6) hide show
  1. README.md +15 -31
  2. config.json +142 -100
  3. label_encoder.joblib +2 -2
  4. model.safetensors +2 -2
  5. special_tokens_map.json +35 -5
  6. training_args.bin +2 -2
README.md CHANGED
@@ -1,6 +1,5 @@
1
  ---
2
- license: apache-2.0
3
- base_model: bert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  model-index:
@@ -13,9 +12,9 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # TenaliAI-FinTech-v1
15
 
16
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Loss: 0.0884
19
 
20
  ## Model description
21
 
@@ -40,42 +39,27 @@ The following hyperparameters were used during training:
40
  - seed: 42
41
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
  - lr_scheduler_type: linear
43
- - num_epochs: 25
44
 
45
  ### Training results
46
 
47
  | Training Loss | Epoch | Step | Validation Loss |
48
  |:-------------:|:-----:|:----:|:---------------:|
49
- | No log | 1.0 | 112 | 2.8140 |
50
- | No log | 2.0 | 224 | 1.6127 |
51
- | No log | 3.0 | 336 | 0.8216 |
52
- | No log | 4.0 | 448 | 0.3850 |
53
- | 1.7871 | 5.0 | 560 | 0.2000 |
54
- | 1.7871 | 6.0 | 672 | 0.1192 |
55
- | 1.7871 | 7.0 | 784 | 0.0953 |
56
- | 1.7871 | 8.0 | 896 | 0.0994 |
57
- | 0.1041 | 9.0 | 1008 | 0.0953 |
58
- | 0.1041 | 10.0 | 1120 | 0.0884 |
59
- | 0.1041 | 11.0 | 1232 | 0.0910 |
60
- | 0.1041 | 12.0 | 1344 | 0.0924 |
61
- | 0.1041 | 13.0 | 1456 | 0.0915 |
62
- | 0.0226 | 14.0 | 1568 | 0.0933 |
63
- | 0.0226 | 15.0 | 1680 | 0.0987 |
64
- | 0.0226 | 16.0 | 1792 | 0.0980 |
65
- | 0.0226 | 17.0 | 1904 | 0.1006 |
66
- | 0.0115 | 18.0 | 2016 | 0.1014 |
67
- | 0.0115 | 19.0 | 2128 | 0.0996 |
68
- | 0.0115 | 20.0 | 2240 | 0.1034 |
69
- | 0.0115 | 21.0 | 2352 | 0.0989 |
70
- | 0.0115 | 22.0 | 2464 | 0.1076 |
71
- | 0.0089 | 23.0 | 2576 | 0.1051 |
72
- | 0.0089 | 24.0 | 2688 | 0.1040 |
73
- | 0.0089 | 25.0 | 2800 | 0.1058 |
74
 
75
 
76
  ### Framework versions
77
 
78
- - Transformers 4.41.2
79
  - Pytorch 2.3.1+cu121
80
  - Datasets 2.21.0
81
  - Tokenizers 0.19.1
 
1
  ---
2
+ library_name: transformers
 
3
  tags:
4
  - generated_from_trainer
5
  model-index:
 
12
 
13
  # TenaliAI-FinTech-v1
14
 
15
+ This model was trained from scratch on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
+ - Loss: 0.1497
18
 
19
  ## Model description
20
 
 
39
  - seed: 42
40
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
  - lr_scheduler_type: linear
42
+ - num_epochs: 10
43
 
44
  ### Training results
45
 
46
  | Training Loss | Epoch | Step | Validation Loss |
47
  |:-------------:|:-----:|:----:|:---------------:|
48
+ | No log | 1.0 | 182 | 3.1418 |
49
+ | No log | 2.0 | 364 | 1.9366 |
50
+ | 2.8756 | 3.0 | 546 | 1.1533 |
51
+ | 2.8756 | 4.0 | 728 | 0.6654 |
52
+ | 2.8756 | 5.0 | 910 | 0.4046 |
53
+ | 0.763 | 6.0 | 1092 | 0.2734 |
54
+ | 0.763 | 7.0 | 1274 | 0.1923 |
55
+ | 0.763 | 8.0 | 1456 | 0.1646 |
56
+ | 0.2072 | 9.0 | 1638 | 0.1517 |
57
+ | 0.2072 | 10.0 | 1820 | 0.1497 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
 
60
  ### Framework versions
61
 
62
+ - Transformers 4.44.2
63
  - Pytorch 2.3.1+cu121
64
  - Datasets 2.21.0
65
  - Tokenizers 0.19.1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -11,109 +11,151 @@
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "account_statement",
14
- "1": "add_beneficiary",
15
- "2": "balance_enquiry",
16
- "3": "beneficiary_details",
17
- "4": "bill_payment",
18
- "5": "block_card",
19
- "6": "bulk_payments",
20
- "7": "bulk_payments_status",
21
- "8": "change_contact_info",
22
- "9": "debit_card_details",
23
- "10": "delete_beneficiary",
24
- "11": "fd_details",
25
- "12": "fd_rate",
26
- "13": "fd_rate_large_amount",
27
- "14": "funds_transfer",
28
- "15": "funds_transfer_direct",
29
- "16": "funds_transfer_other_bank",
30
- "17": "funds_transfer_own_account",
31
- "18": "funds_transfer_status",
32
- "19": "funds_transfer_third_party",
33
- "20": "gst_payment",
34
- "21": "investment_details",
35
- "22": "list_accounts",
36
- "23": "list_beneficiary",
37
- "24": "list_billers",
38
- "25": "list_fd",
39
- "26": "list_investments",
40
- "27": "list_loans",
41
- "28": "loan_details",
42
- "29": "nrv_details",
43
- "30": "open_account",
44
- "31": "pending_authorization",
45
- "32": "pin_change",
46
- "33": "raise_request",
47
- "34": "rd_details",
48
- "35": "rd_rate",
49
- "36": "request_status",
50
- "37": "saving_interest_rate",
51
- "38": "send_money_abroad",
52
- "39": "ss_fd_rate",
53
- "40": "ss_rd_rate",
54
- "41": "transaction_history",
55
- "42": "transaction_limit",
56
- "43": "update_beneficiary",
57
- "44": "zzzLABEL_44",
58
- "45": "zzzLABEL_45",
59
- "46": "zzzLABEL_46",
60
- "47": "zzzLABEL_47",
61
- "48": "zzzLABEL_48",
62
- "49": "zzzLABEL_49"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  },
64
  "initializer_range": 0.02,
65
  "intermediate_size": 3072,
66
  "label2id": {
67
  "account_statement": 0,
68
- "add_beneficiary": 1,
69
- "balance_enquiry": 2,
70
- "beneficiary_details": 3,
71
- "bill_payment": 4,
72
- "block_card": 5,
73
- "bulk_payments": 6,
74
- "bulk_payments_status": 7,
75
- "change_contact_info": 8,
76
- "debit_card_details": 9,
77
- "delete_beneficiary": 10,
78
- "fd_details": 11,
79
- "fd_rate": 12,
80
- "fd_rate_large_amount": 13,
81
- "funds_transfer": 14,
82
- "funds_transfer_direct": 15,
83
- "funds_transfer_other_bank": 16,
84
- "funds_transfer_own_account": 17,
85
- "funds_transfer_status": 18,
86
- "funds_transfer_third_party": 19,
87
- "gst_payment": 20,
88
- "investment_details": 21,
89
- "list_accounts": 22,
90
- "list_beneficiary": 23,
91
- "list_billers": 24,
92
- "list_fd": 25,
93
- "list_investments": 26,
94
- "list_loans": 27,
95
- "loan_details": 28,
96
- "nrv_details": 29,
97
- "open_account": 30,
98
- "pending_authorization": 31,
99
- "pin_change": 32,
100
- "raise_request": 33,
101
- "rd_details": 34,
102
- "rd_rate": 35,
103
- "request_status": 36,
104
- "saving_interest_rate": 37,
105
- "send_money_abroad": 38,
106
- "ss_fd_rate": 39,
107
- "ss_rd_rate": 40,
108
- "transaction_history": 41,
109
- "transaction_limit": 42,
110
- "update_beneficiary": 43,
111
- "zzzLABEL_44": 44,
112
- "zzzLABEL_45": 45,
113
- "zzzLABEL_46": 46,
114
- "zzzLABEL_47": 47,
115
- "zzzLABEL_48": 48,
116
- "zzzLABEL_49": 49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  },
118
  "layer_norm_eps": 1e-12,
119
  "max_position_embeddings": 512,
@@ -124,7 +166,7 @@
124
  "position_embedding_type": "absolute",
125
  "problem_type": "single_label_classification",
126
  "torch_dtype": "float32",
127
- "transformers_version": "4.41.2",
128
  "type_vocab_size": 2,
129
  "use_cache": true,
130
  "vocab_size": 30522
 
1
  {
2
+ "_name_or_path": "TenaliAIModels/BertBaseModel",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
 
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "account_statement",
14
+ "1": "account_statement_hi",
15
+ "2": "account_statement_kn",
16
+ "3": "account_statement_mr",
17
+ "4": "add_beneficiary",
18
+ "5": "add_beneficiary_hi",
19
+ "6": "add_beneficiary_kn",
20
+ "7": "add_beneficiary_mr",
21
+ "8": "balance_enquiry",
22
+ "9": "beneficiary_details",
23
+ "10": "bill_payment",
24
+ "11": "block_card",
25
+ "12": "block_card_hi",
26
+ "13": "block_card_kn",
27
+ "14": "block_card_mr",
28
+ "15": "bulk_payments",
29
+ "16": "bulk_payments_status",
30
+ "17": "car_insurance",
31
+ "18": "car_insurance_hi",
32
+ "19": "car_insurance_kn",
33
+ "20": "car_insurance_mr",
34
+ "21": "change_contact_info",
35
+ "22": "debit_card_details",
36
+ "23": "delete_beneficiary",
37
+ "24": "fd_details",
38
+ "25": "fd_rate",
39
+ "26": "fd_rate_large_amount",
40
+ "27": "funds_transfer",
41
+ "28": "funds_transfer_direct",
42
+ "29": "funds_transfer_direct_hi",
43
+ "30": "funds_transfer_direct_kn",
44
+ "31": "funds_transfer_direct_mr",
45
+ "32": "funds_transfer_other_bank",
46
+ "33": "funds_transfer_own_account",
47
+ "34": "funds_transfer_status",
48
+ "35": "funds_transfer_third_party",
49
+ "36": "gst_payment",
50
+ "37": "health_insurance",
51
+ "38": "health_insurance_hi",
52
+ "39": "health_insurance_kn",
53
+ "40": "health_insurance_mr",
54
+ "41": "investment_details",
55
+ "42": "investment_details_hi",
56
+ "43": "investment_details_kn",
57
+ "44": "investment_details_mr",
58
+ "45": "list_accounts",
59
+ "46": "list_beneficiary",
60
+ "47": "list_billers",
61
+ "48": "list_fd",
62
+ "49": "list_investments",
63
+ "50": "list_loans",
64
+ "51": "loan_details",
65
+ "52": "nrv_details",
66
+ "53": "open_account",
67
+ "54": "pending_authorization",
68
+ "55": "pin_change",
69
+ "56": "raise_request",
70
+ "57": "rd_details",
71
+ "58": "rd_rate",
72
+ "59": "request_status",
73
+ "60": "saving_interest_rate",
74
+ "61": "send_money_abroad",
75
+ "62": "ss_fd_rate",
76
+ "63": "ss_rd_rate",
77
+ "64": "transaction_history",
78
+ "65": "transaction_limit",
79
+ "66": "travel_insurance",
80
+ "67": "travel_insurance_hi",
81
+ "68": "travel_insurance_kn",
82
+ "69": "travel_insurance_mr",
83
+ "70": "update_beneficiary"
84
  },
85
  "initializer_range": 0.02,
86
  "intermediate_size": 3072,
87
  "label2id": {
88
  "account_statement": 0,
89
+ "account_statement_hi": 1,
90
+ "account_statement_kn": 2,
91
+ "account_statement_mr": 3,
92
+ "add_beneficiary": 4,
93
+ "add_beneficiary_hi": 5,
94
+ "add_beneficiary_kn": 6,
95
+ "add_beneficiary_mr": 7,
96
+ "balance_enquiry": 8,
97
+ "beneficiary_details": 9,
98
+ "bill_payment": 10,
99
+ "block_card": 11,
100
+ "block_card_hi": 12,
101
+ "block_card_kn": 13,
102
+ "block_card_mr": 14,
103
+ "bulk_payments": 15,
104
+ "bulk_payments_status": 16,
105
+ "car_insurance": 17,
106
+ "car_insurance_hi": 18,
107
+ "car_insurance_kn": 19,
108
+ "car_insurance_mr": 20,
109
+ "change_contact_info": 21,
110
+ "debit_card_details": 22,
111
+ "delete_beneficiary": 23,
112
+ "fd_details": 24,
113
+ "fd_rate": 25,
114
+ "fd_rate_large_amount": 26,
115
+ "funds_transfer": 27,
116
+ "funds_transfer_direct": 28,
117
+ "funds_transfer_direct_hi": 29,
118
+ "funds_transfer_direct_kn": 30,
119
+ "funds_transfer_direct_mr": 31,
120
+ "funds_transfer_other_bank": 32,
121
+ "funds_transfer_own_account": 33,
122
+ "funds_transfer_status": 34,
123
+ "funds_transfer_third_party": 35,
124
+ "gst_payment": 36,
125
+ "health_insurance": 37,
126
+ "health_insurance_hi": 38,
127
+ "health_insurance_kn": 39,
128
+ "health_insurance_mr": 40,
129
+ "investment_details": 41,
130
+ "investment_details_hi": 42,
131
+ "investment_details_kn": 43,
132
+ "investment_details_mr": 44,
133
+ "list_accounts": 45,
134
+ "list_beneficiary": 46,
135
+ "list_billers": 47,
136
+ "list_fd": 48,
137
+ "list_investments": 49,
138
+ "list_loans": 50,
139
+ "loan_details": 51,
140
+ "nrv_details": 52,
141
+ "open_account": 53,
142
+ "pending_authorization": 54,
143
+ "pin_change": 55,
144
+ "raise_request": 56,
145
+ "rd_details": 57,
146
+ "rd_rate": 58,
147
+ "request_status": 59,
148
+ "saving_interest_rate": 60,
149
+ "send_money_abroad": 61,
150
+ "ss_fd_rate": 62,
151
+ "ss_rd_rate": 63,
152
+ "transaction_history": 64,
153
+ "transaction_limit": 65,
154
+ "travel_insurance": 66,
155
+ "travel_insurance_hi": 67,
156
+ "travel_insurance_kn": 68,
157
+ "travel_insurance_mr": 69,
158
+ "update_beneficiary": 70
159
  },
160
  "layer_norm_eps": 1e-12,
161
  "max_position_embeddings": 512,
 
166
  "position_embedding_type": "absolute",
167
  "problem_type": "single_label_classification",
168
  "torch_dtype": "float32",
169
+ "transformers_version": "4.44.2",
170
  "type_vocab_size": 2,
171
  "use_cache": true,
172
  "vocab_size": 30522
label_encoder.joblib CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3b37cbcefb4ac0135f1ddb9c7930f7f13142db6c0a2e34e970bc6b794f42073a
3
- size 4903
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f37da4ded2647270f79c439a3edde51a4b085d83778fa7bfef1f3587c59df143
3
+ size 7711
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:63ff289470b23919d6f2ceaac69d40f6dab224936c04e88c9532b3b078bf72e4
3
- size 438106296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80c55c4676ad5ca05087dca097d224ca97c8982baa1fd84806d0628c835c76a6
3
+ size 438260096
special_tokens_map.json CHANGED
@@ -1,7 +1,37 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:58f0aba16ec9604168d04a4766bac02ef3e95b043479124161a71273a64d1c19
3
- size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a2c0da650b066cb9f602f18b9b9fe5284822c0720557f347d6768e195873166
3
+ size 5240