End of training
Browse files- README.md +113 -0
- config.json +43 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google-bert/bert-large-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
model-index:
|
12 |
+
- name: Intent-classification-BERT-Large-Ashu
|
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 |
+
# Intent-classification-BERT-Large-Ashu
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [google-bert/bert-large-uncased](https://huggingface.co/google-bert/bert-large-uncased) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.6944
|
24 |
+
- Accuracy: 0.8730
|
25 |
+
- F1: 0.7885
|
26 |
+
- Precision: 0.7819
|
27 |
+
- Recall: 0.7981
|
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: 16
|
48 |
+
- eval_batch_size: 32
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 30
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
58 |
+
| 1.5058 | 0.62 | 10 | 1.4327 | 0.4839 | 0.3327 | 0.31 | 0.4444 |
|
59 |
+
| 1.256 | 1.25 | 20 | 1.3362 | 0.5 | 0.3477 | 0.3129 | 0.4630 |
|
60 |
+
| 1.1161 | 1.88 | 30 | 1.2563 | 0.5323 | 0.4083 | 0.3988 | 0.5121 |
|
61 |
+
| 0.9064 | 2.5 | 40 | 1.1297 | 0.6613 | 0.5365 | 0.4832 | 0.6219 |
|
62 |
+
| 0.8284 | 3.12 | 50 | 1.0384 | 0.6935 | 0.5968 | 0.6653 | 0.6608 |
|
63 |
+
| 0.7162 | 3.75 | 60 | 0.9845 | 0.7419 | 0.6827 | 0.7087 | 0.7196 |
|
64 |
+
| 0.6173 | 4.38 | 70 | 0.8139 | 0.7419 | 0.6978 | 0.7040 | 0.7323 |
|
65 |
+
| 0.5229 | 5.0 | 80 | 0.7709 | 0.7742 | 0.7368 | 0.7158 | 0.7799 |
|
66 |
+
| 0.3564 | 5.62 | 90 | 0.7867 | 0.7742 | 0.7360 | 0.7109 | 0.7799 |
|
67 |
+
| 0.2924 | 6.25 | 100 | 0.6311 | 0.8065 | 0.7716 | 0.7489 | 0.8148 |
|
68 |
+
| 0.2573 | 6.88 | 110 | 0.6294 | 0.7742 | 0.7520 | 0.7264 | 0.7926 |
|
69 |
+
| 0.1957 | 7.5 | 120 | 0.6557 | 0.7742 | 0.7520 | 0.7264 | 0.7926 |
|
70 |
+
| 0.1624 | 8.12 | 130 | 0.7556 | 0.8065 | 0.7716 | 0.7489 | 0.8148 |
|
71 |
+
| 0.1594 | 8.75 | 140 | 0.5861 | 0.7903 | 0.7663 | 0.7461 | 0.8037 |
|
72 |
+
| 0.1699 | 9.38 | 150 | 0.8326 | 0.8065 | 0.7716 | 0.7489 | 0.8148 |
|
73 |
+
| 0.1817 | 10.0 | 160 | 0.6722 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
74 |
+
| 0.1366 | 10.62 | 170 | 0.8913 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
75 |
+
| 0.1584 | 11.25 | 180 | 0.8597 | 0.7742 | 0.7607 | 0.7431 | 0.7926 |
|
76 |
+
| 0.139 | 11.88 | 190 | 0.9325 | 0.7742 | 0.7607 | 0.7431 | 0.7926 |
|
77 |
+
| 0.0953 | 12.5 | 200 | 0.9940 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
78 |
+
| 0.1752 | 13.12 | 210 | 0.9987 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
79 |
+
| 0.1289 | 13.75 | 220 | 0.9073 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
80 |
+
| 0.1174 | 14.38 | 230 | 1.0821 | 0.7742 | 0.7607 | 0.7431 | 0.7926 |
|
81 |
+
| 0.1009 | 15.0 | 240 | 1.1234 | 0.7742 | 0.7607 | 0.7431 | 0.7926 |
|
82 |
+
| 0.1161 | 15.62 | 250 | 1.1751 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
83 |
+
| 0.1026 | 16.25 | 260 | 1.0199 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
84 |
+
| 0.1161 | 16.88 | 270 | 1.1464 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
85 |
+
| 0.0833 | 17.5 | 280 | 1.3141 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
86 |
+
| 0.1129 | 18.12 | 290 | 1.2621 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
87 |
+
| 0.1009 | 18.75 | 300 | 1.2209 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
88 |
+
| 0.1035 | 19.38 | 310 | 1.2660 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
89 |
+
| 0.1111 | 20.0 | 320 | 1.3104 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
90 |
+
| 0.1019 | 20.62 | 330 | 1.1838 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
91 |
+
| 0.0878 | 21.25 | 340 | 1.3183 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
92 |
+
| 0.1061 | 21.88 | 350 | 1.3650 | 0.7742 | 0.7607 | 0.7431 | 0.7926 |
|
93 |
+
| 0.1002 | 22.5 | 360 | 1.3588 | 0.7742 | 0.7607 | 0.7431 | 0.7926 |
|
94 |
+
| 0.1241 | 23.12 | 370 | 1.3529 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
95 |
+
| 0.1201 | 23.75 | 380 | 1.3213 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
96 |
+
| 0.084 | 24.38 | 390 | 1.3139 | 0.7419 | 0.7487 | 0.7361 | 0.7704 |
|
97 |
+
| 0.0988 | 25.0 | 400 | 1.3140 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
98 |
+
| 0.1049 | 25.62 | 410 | 1.3251 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
99 |
+
| 0.1168 | 26.25 | 420 | 1.3551 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
100 |
+
| 0.0931 | 26.88 | 430 | 1.3606 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
101 |
+
| 0.0872 | 27.5 | 440 | 1.3645 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
102 |
+
| 0.0942 | 28.12 | 450 | 1.3630 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
103 |
+
| 0.0941 | 28.75 | 460 | 1.3679 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
104 |
+
| 0.07 | 29.38 | 470 | 1.3761 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
105 |
+
| 0.112 | 30.0 | 480 | 1.3795 | 0.7581 | 0.7549 | 0.7397 | 0.7815 |
|
106 |
+
|
107 |
+
|
108 |
+
### Framework versions
|
109 |
+
|
110 |
+
- Transformers 4.38.2
|
111 |
+
- Pytorch 2.1.2
|
112 |
+
- Datasets 2.1.0
|
113 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-large-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "SBC",
|
14 |
+
"1": "Compensation",
|
15 |
+
"2": "Terminate",
|
16 |
+
"3": "Install",
|
17 |
+
"4": "Change",
|
18 |
+
"5": "SBC/Plan Doc"
|
19 |
+
},
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 4096,
|
22 |
+
"label2id": {
|
23 |
+
"Change": 4,
|
24 |
+
"Compensation": 1,
|
25 |
+
"Install": 3,
|
26 |
+
"SBC": 0,
|
27 |
+
"SBC/Plan Doc": 5,
|
28 |
+
"Terminate": 2
|
29 |
+
},
|
30 |
+
"layer_norm_eps": 1e-12,
|
31 |
+
"max_position_embeddings": 512,
|
32 |
+
"model_type": "bert",
|
33 |
+
"num_attention_heads": 16,
|
34 |
+
"num_hidden_layers": 24,
|
35 |
+
"pad_token_id": 0,
|
36 |
+
"position_embedding_type": "absolute",
|
37 |
+
"problem_type": "single_label_classification",
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.38.2",
|
40 |
+
"type_vocab_size": 2,
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 30522
|
43 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eda7aca76e3bfa18773073b144fc0d039ee82d83440f7122c496933f75beea24
|
3 |
+
size 1340639160
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91eefafdcaf51f1b86a6cd2a1ecea460e500b817ac0bf2a443888ea2cf2fa07e
|
3 |
+
size 4920
|