doomnova commited on
Commit
ea7b28f
·
1 Parent(s): 87af3d7

End of training

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: distilbert_system_B
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
+ # distilbert_system_B
20
+
21
+ This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0293
24
+ - Precision: 0.9456
25
+ - Recall: 0.9531
26
+ - F1: 0.9493
27
+ - Accuracy: 0.9931
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: 2e-05
47
+ - train_batch_size: 32
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 | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 0.0134 | 1.0 | 8205 | 0.0208 | 0.9466 | 0.9488 | 0.9477 | 0.9929 |
59
+ | 0.0067 | 2.0 | 16410 | 0.0237 | 0.9453 | 0.9528 | 0.9490 | 0.9931 |
60
+ | 0.0031 | 3.0 | 24615 | 0.0293 | 0.9456 | 0.9531 | 0.9493 | 0.9931 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.35.2
66
+ - Pytorch 2.1.0+cu118
67
+ - Datasets 2.15.0
68
+ - Tokenizers 0.15.0
all_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "test_accuracy": 0.9935278438152871,
4
+ "test_f1": 0.9598040065909288,
5
+ "test_loss": 0.01882234774529934,
6
+ "test_precision": 0.955618874929845,
7
+ "test_recall": 0.9640259570576194,
8
+ "test_runtime": 81.9799,
9
+ "test_samples_per_second": 401.415,
10
+ "test_steps_per_second": 12.552
11
+ }
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "B-ANIM": 7,
13
+ "B-DIS": 9,
14
+ "B-LOC": 5,
15
+ "B-ORG": 3,
16
+ "B-PER": 1,
17
+ "I-ANIM": 8,
18
+ "I-DIS": 10,
19
+ "I-LOC": 6,
20
+ "I-ORG": 4,
21
+ "I-PER": 2,
22
+ "O": 0
23
+ },
24
+ "initializer_range": 0.02,
25
+ "label2id": {
26
+ "0": "O",
27
+ "1": "B-PER",
28
+ "2": "I-PER",
29
+ "3": "B-ORG",
30
+ "4": "I-ORG",
31
+ "5": "B-LOC",
32
+ "6": "I-LOC",
33
+ "7": "B-ANIM",
34
+ "8": "I-ANIM",
35
+ "9": "B-DIS",
36
+ "10": "I-DIS"
37
+ },
38
+ "max_position_embeddings": 512,
39
+ "model_type": "distilbert",
40
+ "n_heads": 12,
41
+ "n_layers": 6,
42
+ "output_past": true,
43
+ "pad_token_id": 0,
44
+ "qa_dropout": 0.1,
45
+ "seq_classif_dropout": 0.2,
46
+ "sinusoidal_pos_embds": false,
47
+ "tie_weights_": true,
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.35.2",
50
+ "vocab_size": 28996
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce3b4f7ad9da7c15ae6227b25d98d54412c5d4d6d20399ed143b0aa5017576fb
3
+ size 260809820
runs/Dec12_12-39-24_c4d84df77466/events.out.tfevents.1702384777.c4d84df77466.1779.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd3a135bdf08664992ccd16b6da2ee29dc936b82c50f4bfb2ca6f2454ad12801
3
+ size 14080
runs/Dec12_12-39-24_c4d84df77466/events.out.tfevents.1702389843.c4d84df77466.1779.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:575caae150c2044e618a1cd03173a634b2ac4d2d6b5cc597de16581ff1048ec5
3
+ size 569
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
+ }
test_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "test_accuracy": 0.9935278438152871,
4
+ "test_f1": 0.9598040065909288,
5
+ "test_loss": 0.01882234774529934,
6
+ "test_precision": 0.955618874929845,
7
+ "test_recall": 0.9640259570576194,
8
+ "test_runtime": 81.9799,
9
+ "test_samples_per_second": 401.415,
10
+ "test_steps_per_second": 12.552
11
+ }
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:1d482643fdfb74f2fbe5881a3377393243656172e65fb831f0b083bfe156b32b
3
+ size 4600
vocab.txt ADDED
The diff for this file is too large to render. See raw diff