vazish commited on
Commit
c002ea2
1 Parent(s): f9aff6b

vazish/distilbert-fine-tuned-autofill

Browse files
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert/distilbert-base-multilingual-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: fine-tuned-distilbert-autofill
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
+ # fine-tuned-distilbert-autofill
20
+
21
+ This model is a fine-tuned version of [distilbert/distilbert-base-multilingual-cased](https://huggingface.co/distilbert/distilbert-base-multilingual-cased) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0516
24
+ - Precision: 0.9887
25
+ - Recall: 0.9876
26
+ - F1: 0.9878
27
+ - Confusion Matrix: [[ 93 7 0]
28
+ [ 15 43 0]
29
+ [ 11 0 2489]]
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 5e-05
49
+ - train_batch_size: 8
50
+ - eval_batch_size: 8
51
+ - seed: 42
52
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
+ - lr_scheduler_type: linear
54
+ - num_epochs: 10
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Confusion Matrix |
59
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:------------------------------------------------------:|
60
+ | No log | 1.0 | 367 | 0.0597 | 0.9626 | 0.9733 | 0.9659 | [[ 100 0 0]
61
+ [ 58 0 0]
62
+ [ 13 0 2487]] |
63
+ | 0.1186 | 2.0 | 734 | 0.0664 | 0.9622 | 0.9722 | 0.9650 | [[ 100 0 0]
64
+ [ 58 0 0]
65
+ [ 16 0 2484]] |
66
+ | 0.1138 | 3.0 | 1101 | 0.0447 | 0.9873 | 0.9853 | 0.9851 | [[ 96 4 0]
67
+ [ 25 33 0]
68
+ [ 9 1 2490]] |
69
+ | 0.1138 | 4.0 | 1468 | 0.0459 | 0.9870 | 0.9857 | 0.9858 | [[ 92 8 0]
70
+ [ 20 38 0]
71
+ [ 10 0 2490]] |
72
+ | 0.094 | 5.0 | 1835 | 0.0518 | 0.9872 | 0.9865 | 0.9867 | [[ 90 10 0]
73
+ [ 16 42 0]
74
+ [ 8 2 2490]] |
75
+ | 0.0725 | 6.0 | 2202 | 0.0606 | 0.9836 | 0.9808 | 0.9819 | [[ 91 9 0]
76
+ [ 15 43 0]
77
+ [ 11 16 2473]] |
78
+ | 0.0811 | 7.0 | 2569 | 0.0572 | 0.9864 | 0.9846 | 0.9849 | [[ 93 7 0]
79
+ [ 19 39 0]
80
+ [ 14 1 2485]] |
81
+ | 0.0811 | 8.0 | 2936 | 0.0610 | 0.9861 | 0.9846 | 0.9851 | [[ 89 11 0]
82
+ [ 15 43 0]
83
+ [ 15 0 2485]] |
84
+ | 0.0602 | 9.0 | 3303 | 0.0465 | 0.9885 | 0.9868 | 0.9869 | [[ 95 5 0]
85
+ [ 19 39 0]
86
+ [ 11 0 2489]] |
87
+ | 0.0457 | 10.0 | 3670 | 0.0516 | 0.9887 | 0.9876 | 0.9878 | [[ 93 7 0]
88
+ [ 15 43 0]
89
+ [ 11 0 2489]] |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.44.2
95
+ - Pytorch 2.1.2
96
+ - Datasets 2.19.2
97
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert/distilbert-base-multilingual-cased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "label2id": {
18
+ "LABEL_0": 0,
19
+ "LABEL_1": 1,
20
+ "LABEL_2": 2
21
+ },
22
+ "max_position_embeddings": 512,
23
+ "model_type": "distilbert",
24
+ "n_heads": 12,
25
+ "n_layers": 6,
26
+ "output_past": true,
27
+ "pad_token_id": 0,
28
+ "problem_type": "single_label_classification",
29
+ "qa_dropout": 0.1,
30
+ "seq_classif_dropout": 0.2,
31
+ "sinusoidal_pos_embds": false,
32
+ "tie_weights_": true,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.44.2",
35
+ "vocab_size": 119547
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31d92833f88c24f83aa0251dc899adfe3a97c85632e7d4251c032ad9bb4ff84c
3
+ size 541320452
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_lower_case": false,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:813ade5a1da71b9859d474be8d38188f73540af6bd8744ec9d6b0f579ffe779d
3
+ size 5176
vocab.txt ADDED
The diff for this file is too large to render. See raw diff