KasuleTrevor commited on
Commit
feebab2
·
verified ·
1 Parent(s): fb0f14d

End of training

Browse files
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: KasuleTrevor/all-MiniLM-L6-v2_intents
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: all_mini_lm_text_classifier_330h
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
+ # all_mini_lm_text_classifier_330h
20
+
21
+ This model is a fine-tuned version of [KasuleTrevor/all-MiniLM-L6-v2_intents](https://huggingface.co/KasuleTrevor/all-MiniLM-L6-v2_intents) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.2633
24
+ - Accuracy: 0.943
25
+ - Precision: 0.946
26
+ - Recall: 0.943
27
+ - F1: 0.943
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.0001
47
+ - train_batch_size: 8
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - gradient_accumulation_steps: 2
51
+ - total_train_batch_size: 16
52
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: cosine
54
+ - lr_scheduler_warmup_steps: 500
55
+ - num_epochs: 20
56
+ - mixed_precision_training: Native AMP
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
61
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:-----:|
62
+ | 2.7003 | 1.0 | 263 | 1.8368 | 0.642 | 0.633 | 0.642 | 0.582 |
63
+ | 1.3435 | 2.0 | 526 | 0.6806 | 0.8 | 0.848 | 0.8 | 0.754 |
64
+ | 0.5577 | 3.0 | 789 | 0.2745 | 0.94 | 0.928 | 0.94 | 0.931 |
65
+ | 0.2935 | 4.0 | 1052 | 0.2084 | 0.944 | 0.932 | 0.944 | 0.936 |
66
+ | 0.2122 | 5.0 | 1315 | 0.1717 | 0.97 | 0.971 | 0.97 | 0.97 |
67
+ | 0.1596 | 6.0 | 1578 | 0.1608 | 0.967 | 0.968 | 0.967 | 0.967 |
68
+ | 0.1394 | 7.0 | 1841 | 0.1911 | 0.967 | 0.968 | 0.967 | 0.967 |
69
+ | 0.107 | 8.0 | 2104 | 0.1624 | 0.968 | 0.969 | 0.968 | 0.968 |
70
+ | 0.0952 | 9.0 | 2367 | 0.1836 | 0.965 | 0.966 | 0.965 | 0.965 |
71
+ | 0.08 | 10.0 | 2630 | 0.1889 | 0.965 | 0.967 | 0.965 | 0.965 |
72
+ | 0.0724 | 11.0 | 2893 | 0.2068 | 0.955 | 0.957 | 0.955 | 0.955 |
73
+ | 0.0643 | 12.0 | 3156 | 0.2027 | 0.961 | 0.962 | 0.961 | 0.961 |
74
+ | 0.0553 | 13.0 | 3419 | 0.2172 | 0.961 | 0.962 | 0.961 | 0.961 |
75
+ | 0.0474 | 14.0 | 3682 | 0.2170 | 0.961 | 0.962 | 0.961 | 0.961 |
76
+ | 0.038 | 15.0 | 3945 | 0.2225 | 0.959 | 0.961 | 0.959 | 0.959 |
77
+ | 0.0303 | 16.0 | 4208 | 0.2427 | 0.95 | 0.952 | 0.95 | 0.95 |
78
+ | 0.0254 | 17.0 | 4471 | 0.2529 | 0.946 | 0.948 | 0.946 | 0.946 |
79
+ | 0.0228 | 18.0 | 4734 | 0.2571 | 0.946 | 0.949 | 0.946 | 0.946 |
80
+ | 0.02 | 19.0 | 4997 | 0.2627 | 0.943 | 0.946 | 0.943 | 0.943 |
81
+ | 0.019 | 20.0 | 5260 | 0.2633 | 0.943 | 0.946 | 0.943 | 0.943 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.52.4
87
+ - Pytorch 2.6.0+cu124
88
+ - Datasets 3.6.0
89
+ - Tokenizers 0.21.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69dba22d71df7fcdfa288029baa9049d4235f39a66a051464f6bfc56748fc06f
3
  size 90895680
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a152c5f21e8b00db66e66bf6c8e7fb2f50f7312dfe99cb7dd56ff18fdd4d5700
3
  size 90895680
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
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
+ "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
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "[UNK]"
65
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff