Training in progress epoch 0
Browse files- README.md +58 -0
- config.json +89 -0
- logs/train/events.out.tfevents.1701442367.snek.4295.0.v2 +3 -0
- logs/validation/events.out.tfevents.1701443932.snek.4295.1.v2 +3 -0
- metrics_by_entity.txt +1 -0
- special_tokens_map.json +7 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_keras_callback
|
6 |
+
model-index:
|
7 |
+
- name: i-be-snek/distilbert-base-uncased-finetuned-ner-exp_A
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
12 |
+
probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# i-be-snek/distilbert-base-uncased-finetuned-ner-exp_A
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 0.0769
|
19 |
+
- Validation Loss: 0.0717
|
20 |
+
- Train Precision: 0.8796
|
21 |
+
- Train Recall: 0.8706
|
22 |
+
- Train F1: 0.8750
|
23 |
+
- Train Accuracy: 0.9744
|
24 |
+
- Epoch: 0
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 2e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.0}
|
44 |
+
- training_precision: float32
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Train Loss | Validation Loss | Train Precision | Train Recall | Train F1 | Train Accuracy | Epoch |
|
49 |
+
|:----------:|:---------------:|:---------------:|:------------:|:--------:|:--------------:|:-----:|
|
50 |
+
| 0.0769 | 0.0717 | 0.8796 | 0.8706 | 0.8750 | 0.9744 | 0 |
|
51 |
+
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- Transformers 4.35.2
|
56 |
+
- TensorFlow 2.14.0
|
57 |
+
- Datasets 2.15.0
|
58 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
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": "B-PER",
|
14 |
+
"2": "I-PER",
|
15 |
+
"3": "B-ORG",
|
16 |
+
"4": "I-ORG",
|
17 |
+
"5": "B-LOC",
|
18 |
+
"6": "I-LOC",
|
19 |
+
"7": "B-ANIM",
|
20 |
+
"8": "I-ANIM",
|
21 |
+
"9": "B-BIO",
|
22 |
+
"10": "I-BIO",
|
23 |
+
"11": "B-CEL",
|
24 |
+
"12": "I-CEL",
|
25 |
+
"13": "B-DIS",
|
26 |
+
"14": "I-DIS",
|
27 |
+
"15": "B-EVE",
|
28 |
+
"16": "I-EVE",
|
29 |
+
"17": "B-FOOD",
|
30 |
+
"18": "I-FOOD",
|
31 |
+
"19": "B-INST",
|
32 |
+
"20": "I-INST",
|
33 |
+
"21": "B-MEDIA",
|
34 |
+
"22": "I-MEDIA",
|
35 |
+
"23": "B-MYTH",
|
36 |
+
"24": "I-MYTH",
|
37 |
+
"25": "B-PLANT",
|
38 |
+
"26": "I-PLANT",
|
39 |
+
"27": "B-TIME",
|
40 |
+
"28": "I-TIME",
|
41 |
+
"29": "B-VEHI",
|
42 |
+
"30": "I-VEHI"
|
43 |
+
},
|
44 |
+
"initializer_range": 0.02,
|
45 |
+
"label2id": {
|
46 |
+
"B-ANIM": 7,
|
47 |
+
"B-BIO": 9,
|
48 |
+
"B-CEL": 11,
|
49 |
+
"B-DIS": 13,
|
50 |
+
"B-EVE": 15,
|
51 |
+
"B-FOOD": 17,
|
52 |
+
"B-INST": 19,
|
53 |
+
"B-LOC": 5,
|
54 |
+
"B-MEDIA": 21,
|
55 |
+
"B-MYTH": 23,
|
56 |
+
"B-ORG": 3,
|
57 |
+
"B-PER": 1,
|
58 |
+
"B-PLANT": 25,
|
59 |
+
"B-TIME": 27,
|
60 |
+
"B-VEHI": 29,
|
61 |
+
"I-ANIM": 8,
|
62 |
+
"I-BIO": 10,
|
63 |
+
"I-CEL": 12,
|
64 |
+
"I-DIS": 14,
|
65 |
+
"I-EVE": 16,
|
66 |
+
"I-FOOD": 18,
|
67 |
+
"I-INST": 20,
|
68 |
+
"I-LOC": 6,
|
69 |
+
"I-MEDIA": 22,
|
70 |
+
"I-MYTH": 24,
|
71 |
+
"I-ORG": 4,
|
72 |
+
"I-PER": 2,
|
73 |
+
"I-PLANT": 26,
|
74 |
+
"I-TIME": 28,
|
75 |
+
"I-VEHI": 30,
|
76 |
+
"O": 0
|
77 |
+
},
|
78 |
+
"max_position_embeddings": 512,
|
79 |
+
"model_type": "distilbert",
|
80 |
+
"n_heads": 12,
|
81 |
+
"n_layers": 6,
|
82 |
+
"pad_token_id": 0,
|
83 |
+
"qa_dropout": 0.1,
|
84 |
+
"seq_classif_dropout": 0.2,
|
85 |
+
"sinusoidal_pos_embds": false,
|
86 |
+
"tie_weights_": true,
|
87 |
+
"transformers_version": "4.35.2",
|
88 |
+
"vocab_size": 30522
|
89 |
+
}
|
logs/train/events.out.tfevents.1701442367.snek.4295.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec376fe4d8d44a302fa9e73405beb96dfcc100ef093a11d52b4d72883f31bb6e
|
3 |
+
size 1606637
|
logs/validation/events.out.tfevents.1701443932.snek.4295.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b27a0a8afb838015294504feffdc9e4f4569eb0c8a05d894de26df530651d71
|
3 |
+
size 233
|
metrics_by_entity.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"ANIM": {"precision": 0.7179719330013581, "recall": 0.7030141843971631, "f1": 0.7104143337066069, "number": "4512"}, "BIO": {"precision": 0.4186046511627907, "recall": 0.782608695652174, "f1": 0.5454545454545454, "number": "92"}, "CEL": {"precision": 0.8632478632478633, "recall": 0.8347107438016529, "f1": 0.8487394957983193, "number": "242"}, "DIS": {"precision": 0.7223607647547797, "recall": 0.7167995600769865, "f1": 0.7195694176097158, "number": "7274"}, "EVE": {"precision": 0.9050445103857567, "recall": 0.8815028901734104, "f1": 0.8931185944363104, "number": "692"}, "FOOD": {"precision": 0.6604984894259819, "recall": 0.5081348053457292, "f1": 0.5743842364532019, "number": "6884"}, "INST": {"precision": 0.7647058823529411, "recall": 0.6724137931034483, "f1": 0.7155963302752292, "number": "116"}, "LOC": {"precision": 0.9668465019143753, "recall": 0.9695462478184991, "f1": 0.9681944928546532, "number": "22920"}, "MEDIA": {"precision": 0.9396396396396396, "recall": 0.9362657091561939, "f1": 0.9379496402877698, "number": "2228"}, "MYTH": {"precision": 0.8831168831168831, "recall": 0.6476190476190476, "f1": 0.7472527472527473, "number": "210"}, "ORG": {"precision": 0.9344133786255553, "recall": 0.9254658385093167, "f1": 0.9299180860746327, "number": "7728"}, "PER": {"precision": 0.9824064711830132, "recall": 0.9914285714285714, "f1": 0.9868969019807008, "number": "19600"}, "PLANT": {"precision": 0.6186696900982616, "recall": 0.7275555555555555, "f1": 0.6687091503267973, "number": "4500"}, "TIME": {"precision": 0.7660098522167488, "recall": 0.7530266343825666, "f1": 0.7594627594627594, "number": "826"}, "VEHI": {"precision": 0.7655172413793103, "recall": 0.7985611510791367, "f1": 0.7816901408450705, "number": "278"}, "overall_precision": 0.8795860284605433, "overall_recall": 0.8705538910655297, "overall_f1": 0.8750466531962267, "overall_accuracy": 0.9744046905128749}
|
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 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b45963a385a74900c21c7d5cd322a75418d69ea9968eb154e4beebefd29d5de8
|
3 |
+
size 265674000
|
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": true,
|
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 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|