bsharpataz commited on
Commit
b337288
·
1 Parent(s): 1429bb6

End of training

Browse files
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: distilbert
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # distilbert
15
+
16
+ This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.0005
19
+ - `o` precision: 0.9946
20
+ - `o` recall: 0.9960
21
+ - `o` f1: 0.9953
22
+ - `i` precision: 0.9994
23
+ - `i` recall: 0.9993
24
+ - `i` f1: 0.9994
25
+ - Weighted avg f1: 0.9989
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 16
46
+ - eval_batch_size: 16
47
+ - seed: 426
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_ratio: 0.1
51
+ - num_epochs: 2
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | `o` precision | `o` recall | `o` f1 | `i` precision | `i` recall | `i` f1 | Weighted avg f1 |
56
+ |:-------------:|:-----:|:-----:|:---------------:|:-------------:|:----------:|:------:|:-------------:|:----------:|:------:|:---------------:|
57
+ | 0.0187 | 0.08 | 500 | 0.0033 | 0.9363 | 0.9990 | 0.9666 | 0.9999 | 0.9906 | 0.9952 | 0.9918 |
58
+ | 0.002 | 0.16 | 1000 | 0.0014 | 0.9762 | 0.9947 | 0.9854 | 0.9993 | 0.9967 | 0.9980 | 0.9964 |
59
+ | 0.0016 | 0.24 | 1500 | 0.0012 | 0.9813 | 0.9918 | 0.9865 | 0.9989 | 0.9974 | 0.9981 | 0.9967 |
60
+ | 0.0015 | 0.32 | 2000 | 0.0012 | 0.9801 | 0.9960 | 0.9880 | 0.9994 | 0.9972 | 0.9983 | 0.9971 |
61
+ | 0.0013 | 0.4 | 2500 | 0.0010 | 0.9834 | 0.9960 | 0.9896 | 0.9994 | 0.9977 | 0.9986 | 0.9975 |
62
+ | 0.001 | 0.48 | 3000 | 0.0008 | 0.9881 | 0.9959 | 0.9920 | 0.9994 | 0.9983 | 0.9989 | 0.9980 |
63
+ | 0.0009 | 0.56 | 3500 | 0.0009 | 0.9854 | 0.9955 | 0.9904 | 0.9994 | 0.9980 | 0.9987 | 0.9977 |
64
+ | 0.0009 | 0.64 | 4000 | 0.0008 | 0.9883 | 0.9946 | 0.9914 | 0.9993 | 0.9984 | 0.9988 | 0.9979 |
65
+ | 0.0009 | 0.72 | 4500 | 0.0009 | 0.9935 | 0.9884 | 0.9910 | 0.9984 | 0.9991 | 0.9988 | 0.9978 |
66
+ | 0.0008 | 0.8 | 5000 | 0.0008 | 0.9913 | 0.9926 | 0.9920 | 0.9990 | 0.9988 | 0.9989 | 0.9981 |
67
+ | 0.0008 | 0.88 | 5500 | 0.0007 | 0.9874 | 0.9976 | 0.9925 | 0.9997 | 0.9982 | 0.9990 | 0.9982 |
68
+ | 0.0008 | 0.96 | 6000 | 0.0008 | 0.9924 | 0.9923 | 0.9923 | 0.9989 | 0.9990 | 0.9989 | 0.9982 |
69
+ | 0.0005 | 1.04 | 6500 | 0.0007 | 0.9924 | 0.9948 | 0.9936 | 0.9993 | 0.9990 | 0.9991 | 0.9985 |
70
+ | 0.0005 | 1.12 | 7000 | 0.0007 | 0.9885 | 0.9973 | 0.9929 | 0.9996 | 0.9984 | 0.9990 | 0.9983 |
71
+ | 0.0005 | 1.2 | 7500 | 0.0007 | 0.9890 | 0.9970 | 0.9930 | 0.9996 | 0.9985 | 0.9990 | 0.9983 |
72
+ | 0.0006 | 1.28 | 8000 | 0.0006 | 0.9927 | 0.9965 | 0.9946 | 0.9995 | 0.9990 | 0.9993 | 0.9987 |
73
+ | 0.0004 | 1.36 | 8500 | 0.0005 | 0.9934 | 0.9962 | 0.9948 | 0.9995 | 0.9991 | 0.9993 | 0.9987 |
74
+ | 0.0004 | 1.44 | 9000 | 0.0006 | 0.9941 | 0.9953 | 0.9947 | 0.9994 | 0.9992 | 0.9993 | 0.9987 |
75
+ | 0.0004 | 1.52 | 9500 | 0.0005 | 0.9940 | 0.9951 | 0.9946 | 0.9993 | 0.9992 | 0.9993 | 0.9987 |
76
+ | 0.0004 | 1.6 | 10000 | 0.0005 | 0.9942 | 0.9958 | 0.9950 | 0.9994 | 0.9992 | 0.9993 | 0.9988 |
77
+ | 0.0003 | 1.68 | 10500 | 0.0006 | 0.9940 | 0.9951 | 0.9945 | 0.9993 | 0.9992 | 0.9992 | 0.9987 |
78
+ | 0.0005 | 1.76 | 11000 | 0.0005 | 0.9953 | 0.9947 | 0.9950 | 0.9993 | 0.9994 | 0.9993 | 0.9988 |
79
+ | 0.0004 | 1.84 | 11500 | 0.0005 | 0.9944 | 0.9958 | 0.9951 | 0.9994 | 0.9992 | 0.9993 | 0.9988 |
80
+ | 0.0004 | 1.92 | 12000 | 0.0005 | 0.9943 | 0.9962 | 0.9953 | 0.9995 | 0.9992 | 0.9993 | 0.9989 |
81
+ | 0.0004 | 2.0 | 12500 | 0.0005 | 0.9946 | 0.9960 | 0.9953 | 0.9994 | 0.9993 | 0.9994 | 0.9989 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.34.1
87
+ - Pytorch 2.1.0
88
+ - Datasets 2.14.6
89
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-cased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "I"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "label2id": {
17
+ "I": 1,
18
+ "O": 0
19
+ },
20
+ "max_position_embeddings": 512,
21
+ "model_type": "distilbert",
22
+ "n_heads": 12,
23
+ "n_layers": 6,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
+ "qa_dropout": 0.1,
27
+ "seq_classif_dropout": 0.2,
28
+ "sinusoidal_pos_embds": false,
29
+ "tie_weights_": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.34.1",
32
+ "vocab_size": 28996
33
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:038991a2ae497b4f7cf36e380b3454db6ce1557138032971f351d1ef85b28573
3
+ size 260803682
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[PAD]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "100": {
13
+ "content": "[UNK]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "101": {
21
+ "content": "[CLS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "102": {
29
+ "content": "[SEP]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "103": {
37
+ "content": "[MASK]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": false,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "DistilBertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53076a7d208d5c768c82dcc170191374418a3ee5e8c32bff6fabecc83df738be
3
+ size 4536
vocab.txt ADDED
The diff for this file is too large to render. See raw diff