KasuleTrevor commited on
Commit
c94de79
·
verified ·
1 Parent(s): 650899e

End of training

Browse files
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: KasuleTrevor/all-MiniLM-L12-v2-rny-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_nyn
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_nyn
20
+
21
+ This model is a fine-tuned version of [KasuleTrevor/all-MiniLM-L12-v2-rny-intents](https://huggingface.co/KasuleTrevor/all-MiniLM-L12-v2-rny-intents) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3562
24
+ - Accuracy: 0.943
25
+ - Precision: 0.945
26
+ - Recall: 0.943
27
+ - F1: 0.942
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.5968 | 1.0 | 293 | 1.7473 | 0.633 | 0.535 | 0.633 | 0.555 |
63
+ | 1.2106 | 2.0 | 586 | 0.6798 | 0.828 | 0.82 | 0.828 | 0.804 |
64
+ | 0.5287 | 3.0 | 879 | 0.4751 | 0.896 | 0.894 | 0.896 | 0.891 |
65
+ | 0.3188 | 4.0 | 1172 | 0.3477 | 0.904 | 0.916 | 0.904 | 0.901 |
66
+ | 0.2335 | 5.0 | 1465 | 0.2991 | 0.936 | 0.94 | 0.936 | 0.936 |
67
+ | 0.1855 | 6.0 | 1758 | 0.3184 | 0.932 | 0.937 | 0.932 | 0.932 |
68
+ | 0.1609 | 7.0 | 2051 | 0.3253 | 0.934 | 0.939 | 0.934 | 0.933 |
69
+ | 0.1398 | 8.0 | 2344 | 0.2569 | 0.949 | 0.952 | 0.949 | 0.949 |
70
+ | 0.1151 | 9.0 | 2637 | 0.3135 | 0.943 | 0.946 | 0.943 | 0.943 |
71
+ | 0.0997 | 10.0 | 2930 | 0.3000 | 0.951 | 0.953 | 0.951 | 0.951 |
72
+ | 0.0866 | 11.0 | 3223 | 0.3140 | 0.945 | 0.948 | 0.945 | 0.945 |
73
+ | 0.0615 | 12.0 | 3516 | 0.3165 | 0.945 | 0.948 | 0.945 | 0.945 |
74
+ | 0.0574 | 13.0 | 3809 | 0.3870 | 0.934 | 0.94 | 0.934 | 0.935 |
75
+ | 0.0459 | 14.0 | 4102 | 0.3428 | 0.947 | 0.951 | 0.947 | 0.947 |
76
+ | 0.0423 | 15.0 | 4395 | 0.3565 | 0.945 | 0.948 | 0.945 | 0.945 |
77
+ | 0.0412 | 16.0 | 4688 | 0.3655 | 0.945 | 0.948 | 0.945 | 0.945 |
78
+ | 0.0343 | 17.0 | 4981 | 0.3528 | 0.947 | 0.95 | 0.947 | 0.947 |
79
+ | 0.0289 | 18.0 | 5274 | 0.3567 | 0.943 | 0.945 | 0.943 | 0.942 |
80
+ | 0.0297 | 19.0 | 5567 | 0.3565 | 0.943 | 0.945 | 0.943 | 0.942 |
81
+ | 0.0286 | 20.0 | 5860 | 0.3562 | 0.943 | 0.945 | 0.943 | 0.942 |
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:e176f92d96acac08a94cea6787ef2a478e607cea0e5ef3d19cac8fad676e0b56
3
  size 133494096
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86c647b84dafba0fe47363aefaf73836365064949c7665730c75d0f4d54b0a77
3
  size 133494096
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": false,
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