Simih commited on
Commit
dc3dd79
·
verified ·
1 Parent(s): fe3c52a

ner-finord-model

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: distilbert-base-uncased-finetuned-fin_ner
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # distilbert-base-uncased-finetuned-fin_ner
21
+
22
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0887
25
+ - Precision: 0.8198
26
+ - Recall: 0.8292
27
+ - F1: 0.8245
28
+ - Accuracy: 0.9804
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
59
+ | No log | 1.0 | 204 | 0.0877 | 0.6569 | 0.7734 | 0.7104 | 0.9709 |
60
+ | No log | 2.0 | 408 | 0.0683 | 0.7931 | 0.7931 | 0.7931 | 0.9784 |
61
+ | 0.1032 | 3.0 | 612 | 0.0657 | 0.8325 | 0.8079 | 0.82 | 0.9796 |
62
+ | 0.1032 | 4.0 | 816 | 0.0696 | 0.7942 | 0.8112 | 0.8026 | 0.9783 |
63
+ | 0.0148 | 5.0 | 1020 | 0.0742 | 0.7987 | 0.8276 | 0.8129 | 0.9796 |
64
+ | 0.0148 | 6.0 | 1224 | 0.0788 | 0.7870 | 0.8374 | 0.8115 | 0.9787 |
65
+ | 0.0148 | 7.0 | 1428 | 0.0833 | 0.7933 | 0.8128 | 0.8029 | 0.9792 |
66
+ | 0.0066 | 8.0 | 1632 | 0.0833 | 0.8237 | 0.8440 | 0.8337 | 0.9806 |
67
+ | 0.0066 | 9.0 | 1836 | 0.0860 | 0.8185 | 0.8292 | 0.8238 | 0.9805 |
68
+ | 0.0042 | 10.0 | 2040 | 0.0887 | 0.8198 | 0.8292 | 0.8245 | 0.9804 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.53.1
74
+ - Pytorch 2.6.0+cu124
75
+ - Datasets 3.6.0
76
+ - Tokenizers 0.21.2
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForTokenClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
10
+ "id2label": {
11
+ "0": "LABEL_0",
12
+ "1": "LABEL_1",
13
+ "2": "LABEL_2",
14
+ "3": "LABEL_3",
15
+ "4": "LABEL_4",
16
+ "5": "LABEL_5",
17
+ "6": "LABEL_6"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2,
24
+ "LABEL_3": 3,
25
+ "LABEL_4": 4,
26
+ "LABEL_5": 5,
27
+ "LABEL_6": 6
28
+ },
29
+ "max_position_embeddings": 512,
30
+ "model_type": "distilbert",
31
+ "n_heads": 12,
32
+ "n_layers": 6,
33
+ "pad_token_id": 0,
34
+ "qa_dropout": 0.1,
35
+ "seq_classif_dropout": 0.2,
36
+ "sinusoidal_pos_embds": false,
37
+ "tie_weights_": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.53.1",
40
+ "vocab_size": 30522
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d89f9ac1d84abb6a247d45671154bfb50c5b74e8c33b2f14bd22b34c463c044
3
+ size 265485396
runs/Jul08_21-09-59_df516da6e47e/events.out.tfevents.1752009026.df516da6e47e.201.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a41fe19336f9c36ca2ed307847ad895e69452f86cc2fa3633a89f3238fd4ce72
3
+ size 11148
runs/Jul08_21-09-59_df516da6e47e/events.out.tfevents.1752009373.df516da6e47e.201.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2a6bbe9d731d161e81de008255decf79e879badb20f15b2384127a1f934cdc2
3
+ size 560
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
+ "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_lower_case": true,
47
+ "extra_special_tokens": {},
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:233bfd7fc768378e6dae6b1088d0a2b2cfa491dfa9fe95b02e700e425c8d739e
3
+ size 5368
vocab.txt ADDED
The diff for this file is too large to render. See raw diff