Training in progress epoch 0
Browse files- README.md +57 -0
- config.json +53 -0
- special_tokens_map.json +7 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_keras_callback
|
5 |
+
model-index:
|
6 |
+
- name: Olec/my_awesome_wnut_model
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
11 |
+
probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# Olec/my_awesome_wnut_model
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 0.3717
|
18 |
+
- Validation Loss: 0.3158
|
19 |
+
- Train Precision: 0.4027
|
20 |
+
- Train Recall: 0.1806
|
21 |
+
- Train F1: 0.2494
|
22 |
+
- Train Accuracy: 0.9322
|
23 |
+
- Epoch: 0
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 636, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
43 |
+
- training_precision: float32
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Train Loss | Validation Loss | Train Precision | Train Recall | Train F1 | Train Accuracy | Epoch |
|
48 |
+
|:----------:|:---------------:|:---------------:|:------------:|:--------:|:--------------:|:-----:|
|
49 |
+
| 0.3717 | 0.3158 | 0.4027 | 0.1806 | 0.2494 | 0.9322 | 0 |
|
50 |
+
|
51 |
+
|
52 |
+
### Framework versions
|
53 |
+
|
54 |
+
- Transformers 4.29.2
|
55 |
+
- TensorFlow 2.10.0
|
56 |
+
- Datasets 2.12.0
|
57 |
+
- Tokenizers 0.13.2
|
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-corporation",
|
14 |
+
"2": "I-corporation",
|
15 |
+
"3": "B-creative-work",
|
16 |
+
"4": "I-creative-work",
|
17 |
+
"5": "B-group",
|
18 |
+
"6": "I-group",
|
19 |
+
"7": "B-location",
|
20 |
+
"8": "I-location",
|
21 |
+
"9": "B-person",
|
22 |
+
"10": "I-person",
|
23 |
+
"11": "B-product",
|
24 |
+
"12": "I-product"
|
25 |
+
},
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"label2id": {
|
28 |
+
"B-corporation": 1,
|
29 |
+
"B-creative-work": 3,
|
30 |
+
"B-group": 5,
|
31 |
+
"B-location": 7,
|
32 |
+
"B-person": 9,
|
33 |
+
"B-product": 11,
|
34 |
+
"I-corporation": 2,
|
35 |
+
"I-creative-work": 4,
|
36 |
+
"I-group": 6,
|
37 |
+
"I-location": 8,
|
38 |
+
"I-person": 10,
|
39 |
+
"I-product": 12,
|
40 |
+
"O": 0
|
41 |
+
},
|
42 |
+
"max_position_embeddings": 512,
|
43 |
+
"model_type": "distilbert",
|
44 |
+
"n_heads": 12,
|
45 |
+
"n_layers": 6,
|
46 |
+
"pad_token_id": 0,
|
47 |
+
"qa_dropout": 0.1,
|
48 |
+
"seq_classif_dropout": 0.2,
|
49 |
+
"sinusoidal_pos_embds": false,
|
50 |
+
"tie_weights_": true,
|
51 |
+
"transformers_version": "4.29.2",
|
52 |
+
"vocab_size": 30522
|
53 |
+
}
|
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:c77a3a3b037a980c29b71cf9944a1de3b7865aac7a22422de7f08a6c131bf148
|
3 |
+
size 265619184
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 512,
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"strip_accents": null,
|
10 |
+
"tokenize_chinese_chars": true,
|
11 |
+
"tokenizer_class": "DistilBertTokenizer",
|
12 |
+
"unk_token": "[UNK]"
|
13 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|