Narkantak commited on
Commit
b2b9d95
1 Parent(s): fbaaab7

End of training

Browse files
Files changed (4) hide show
  1. README.md +77 -0
  2. config.json +48 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google-bert/bert-large-cased-whole-word-masking
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-Ashuv5
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-Ashuv5
20
+
21
+ This model is a fine-tuned version of [google-bert/bert-large-cased-whole-word-masking](https://huggingface.co/google-bert/bert-large-cased-whole-word-masking) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.7988
24
+ - Accuracy: 0.1420
25
+ - F1: 0.0414
26
+ - Precision: 0.0237
27
+ - Recall: 0.1667
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: 0.0005
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: 3
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
58
+ | 2.1123 | 0.24 | 10 | 1.8066 | 0.2174 | 0.0595 | 0.0362 | 0.1667 |
59
+ | 1.8577 | 0.49 | 20 | 1.9500 | 0.1242 | 0.0368 | 0.0207 | 0.1667 |
60
+ | 1.8864 | 0.73 | 30 | 1.7999 | 0.1801 | 0.0509 | 0.0300 | 0.1667 |
61
+ | 1.8516 | 0.98 | 40 | 1.8570 | 0.1429 | 0.0417 | 0.0238 | 0.1667 |
62
+ | 1.8664 | 1.22 | 50 | 1.8667 | 0.1242 | 0.0368 | 0.0207 | 0.1667 |
63
+ | 1.8207 | 1.46 | 60 | 1.9616 | 0.1180 | 0.0352 | 0.0197 | 0.1667 |
64
+ | 1.8652 | 1.71 | 70 | 1.7831 | 0.2174 | 0.0595 | 0.0362 | 0.1667 |
65
+ | 1.8372 | 1.95 | 80 | 1.8018 | 0.2174 | 0.0595 | 0.0362 | 0.1667 |
66
+ | 1.8671 | 2.2 | 90 | 1.8436 | 0.1180 | 0.0352 | 0.0197 | 0.1667 |
67
+ | 1.8484 | 2.44 | 100 | 1.7722 | 0.2174 | 0.0595 | 0.0362 | 0.1667 |
68
+ | 1.8262 | 2.68 | 110 | 1.7752 | 0.2174 | 0.0595 | 0.0362 | 0.1667 |
69
+ | 1.8292 | 2.93 | 120 | 1.8064 | 0.1242 | 0.0368 | 0.0207 | 0.1667 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.38.2
75
+ - Pytorch 2.1.2
76
+ - Datasets 2.1.0
77
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-large-cased-whole-word-masking",
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": "Install",
14
+ "1": "Change",
15
+ "2": "No Match",
16
+ "3": "SBC",
17
+ "4": "Terminate",
18
+ "5": "Compensation"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 4096,
22
+ "label2id": {
23
+ "Change": 1,
24
+ "Compensation": 5,
25
+ "Install": 0,
26
+ "No Match": 2,
27
+ "SBC": 3,
28
+ "Terminate": 4
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
+ "pooler_fc_size": 768,
37
+ "pooler_num_attention_heads": 12,
38
+ "pooler_num_fc_layers": 3,
39
+ "pooler_size_per_head": 128,
40
+ "pooler_type": "first_token_transform",
41
+ "position_embedding_type": "absolute",
42
+ "problem_type": "single_label_classification",
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.38.2",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "vocab_size": 28996
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1c09285eaaaca28d29fd8de3db4dda43337029d63c17b77aae7c2d0d279d8ed
3
+ size 1334388664
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00f86be26005fb4bd2df8f9d5556f536548848ba283cf6e250cb950d9ee3c457
3
+ size 4920