fcheboukh commited on
Commit
136812a
·
verified ·
1 Parent(s): 1a6f1b9

en_names_detection

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_2
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_2
21
+
22
+ This model is a fine-tuned version of [distilbert/distilbert-base-cased](https://huggingface.co/distilbert/distilbert-base-cased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0982
25
+ - Precision: 0.0
26
+ - Recall: 0.0
27
+ - F1: 0.0
28
+ - Accuracy: 0.9814
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 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: 13
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:---:|:--------:|
59
+ | No log | 1.0 | 118 | 0.0915 | 0.0 | 0.0 | 0.0 | 0.9808 |
60
+ | No log | 2.0 | 236 | 0.0942 | 0.0 | 0.0 | 0.0 | 0.9812 |
61
+ | No log | 3.0 | 354 | 0.1112 | 0.0 | 0.0 | 0.0 | 0.9786 |
62
+ | No log | 4.0 | 472 | 0.0931 | 0.0 | 0.0 | 0.0 | 0.9806 |
63
+ | 0.0017 | 5.0 | 590 | 0.1000 | 0.0 | 0.0 | 0.0 | 0.9810 |
64
+ | 0.0017 | 6.0 | 708 | 0.0925 | 0.0 | 0.0 | 0.0 | 0.9810 |
65
+ | 0.0017 | 7.0 | 826 | 0.0976 | 0.0 | 0.0 | 0.0 | 0.9815 |
66
+ | 0.0017 | 8.0 | 944 | 0.0930 | 0.0 | 0.0 | 0.0 | 0.9815 |
67
+ | 0.0012 | 9.0 | 1062 | 0.1012 | 0.0 | 0.0 | 0.0 | 0.9810 |
68
+ | 0.0012 | 10.0 | 1180 | 0.0993 | 0.0 | 0.0 | 0.0 | 0.9814 |
69
+ | 0.0012 | 11.0 | 1298 | 0.0995 | 0.0 | 0.0 | 0.0 | 0.9812 |
70
+ | 0.0012 | 12.0 | 1416 | 0.0975 | 0.0 | 0.0 | 0.0 | 0.9814 |
71
+ | 0.0006 | 13.0 | 1534 | 0.0982 | 0.0 | 0.0 | 0.0 | 0.9814 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.47.1
77
+ - Pytorch 2.5.1+cu121
78
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert/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": "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
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.47.1",
34
+ "vocab_size": 28996
35
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:350cecaed4ff3661a66c7caf933fe0d4c4f1235c385a82916b0b1f538651c9fc
3
+ size 260785212
runs/Jan13_18-39-45_ea43fe1769f5/events.out.tfevents.1736793586.ea43fe1769f5.594.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ed0a8c0faf2b40f5c7991be8539062fa05cce82cb13dea0cda28fb073fd34a8
3
+ size 12261
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:20dcc2f65496b08f5b2b98f5ced26f1b73433c59a49e66dc0e7af5cf5c3c4347
3
+ size 5368
vocab.txt ADDED
The diff for this file is too large to render. See raw diff