bn-tran-duc commited on
Commit
498941d
·
verified ·
1 Parent(s): 4dfd00c

distilbert-ner-person-content

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert/distilbert-base-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: my_awesome_wnut_model
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
+ # my_awesome_wnut_model
21
+
22
+ This model is a fine-tuned version of [distilbert/distilbert-base-cased](https://huggingface.co/distilbert/distilbert-base-cased) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1117
25
+ - Precision: 0.0
26
+ - Recall: 0.0
27
+ - F1: 0.0
28
+ - Accuracy: 0.9592
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_FUSED 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 | 147 | 0.2772 | 0.0 | 0.0 | 0.0 | 0.9110 |
60
+ | No log | 2.0 | 294 | 0.1972 | 0.0 | 0.0 | 0.0 | 0.9223 |
61
+ | No log | 3.0 | 441 | 0.1520 | 0.0 | 0.0 | 0.0 | 0.9420 |
62
+ | 0.2425 | 4.0 | 588 | 0.1341 | 0.0 | 0.0 | 0.0 | 0.9511 |
63
+ | 0.2425 | 5.0 | 735 | 0.1241 | 0.0 | 0.0 | 0.0 | 0.9538 |
64
+ | 0.2425 | 6.0 | 882 | 0.1184 | 0.0 | 0.0 | 0.0 | 0.9572 |
65
+ | 0.1179 | 7.0 | 1029 | 0.1154 | 0.0 | 0.0 | 0.0 | 0.9574 |
66
+ | 0.1179 | 8.0 | 1176 | 0.1131 | 0.0 | 0.0 | 0.0 | 0.9583 |
67
+ | 0.1179 | 9.0 | 1323 | 0.1120 | 0.0 | 0.0 | 0.0 | 0.9594 |
68
+ | 0.1179 | 10.0 | 1470 | 0.1117 | 0.0 | 0.0 | 0.0 | 0.9592 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.56.0
74
+ - Pytorch 2.8.0+cu128
75
+ - Datasets 4.0.0
76
+ - Tokenizers 0.22.0
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForTokenClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "dtype": "float32",
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
+ "qa_dropout": 0.1,
29
+ "seq_classif_dropout": 0.2,
30
+ "sinusoidal_pos_embds": false,
31
+ "tie_weights_": true,
32
+ "transformers_version": "4.56.0",
33
+ "vocab_size": 28996
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed9a236d88ec9528b881d0cf0d63f546620fb73186598a72d60538246fbfcebb
3
+ size 260785212
runs/Oct10_17-44-11_bao-ThinkPad-P16v-Gen-1/events.out.tfevents.1760111061.bao-ThinkPad-P16v-Gen-1.1882686.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3320c471ca31ab660494499990d6ebac45ed3050a6ad274bb99e9e933a564aed
3
+ size 4868
runs/Oct10_17-53-04_bao-ThinkPad-P16v-Gen-1/events.out.tfevents.1760111586.bao-ThinkPad-P16v-Gen-1.1882686.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b137e9afed571906e02d0e05bb9bb4334fd344539b34d6b9b09c3a168843eb4
3
+ size 4868
runs/Oct10_18-04-32_bao-ThinkPad-P16v-Gen-1/events.out.tfevents.1760112274.bao-ThinkPad-P16v-Gen-1.1882686.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff546d6c60438827b1b0fd44b9040dea3eec7cd0f4ec0acdaa6844fbae33bcce
3
+ size 4868
runs/Oct10_18-05-12_bao-ThinkPad-P16v-Gen-1/events.out.tfevents.1760112314.bao-ThinkPad-P16v-Gen-1.1882686.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b1bc05e824091acbdc8af17f7e45f6a7c4b014d26926acab225a3d97596f6de
3
+ size 4868
runs/Oct10_18-05-52_bao-ThinkPad-P16v-Gen-1/events.out.tfevents.1760112353.bao-ThinkPad-P16v-Gen-1.1882686.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73f6783ec51aaca3c3c76fec755c01adc2b676db8a779ab156c96266752b3665
3
+ size 4868
runs/Oct10_18-09-14_bao-ThinkPad-P16v-Gen-1/events.out.tfevents.1760112555.bao-ThinkPad-P16v-Gen-1.1882686.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daad4f9d7742afb45f835130a06bca651fb1df9165ce3f4ec0db7db484bb3051
3
+ size 4868
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,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": false,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 512,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "DistilBertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dcd29423376424b9735cf3d9ce2f81a9a954c80c0f3a0f6da63fc8e7576f527
3
+ size 5777
vocab.txt ADDED
The diff for this file is too large to render. See raw diff