End of training
Browse files- README.md +60 -0
- config.json +85 -0
- model.safetensors +3 -0
- runs/Nov19_08-19-22_f770c02d8443/events.out.tfevents.1732004711.f770c02d8443.30.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: distilbert-base-cased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: distilbert-base-cased-finetuned-ner-eng
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# distilbert-base-cased-finetuned-ner-eng
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.2012
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 2e-05
|
39 |
+
- train_batch_size: 32
|
40 |
+
- eval_batch_size: 32
|
41 |
+
- seed: 42
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: linear
|
44 |
+
- num_epochs: 3
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
50 |
+
| No log | 1.0 | 84 | 0.2498 |
|
51 |
+
| No log | 2.0 | 168 | 0.2110 |
|
52 |
+
| No log | 3.0 | 252 | 0.2012 |
|
53 |
+
|
54 |
+
|
55 |
+
### Framework versions
|
56 |
+
|
57 |
+
- Transformers 4.45.1
|
58 |
+
- Pytorch 2.4.0
|
59 |
+
- Datasets 3.0.1
|
60 |
+
- Tokenizers 0.20.0
|
config.json
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "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": "O\"",
|
13 |
+
"1": "B-MED\"",
|
14 |
+
"2": "C-B-VIP",
|
15 |
+
"3": "B-MTG",
|
16 |
+
"4": "I-LEG",
|
17 |
+
"5": "B-EVENT",
|
18 |
+
"6": "I-ORG\"",
|
19 |
+
"7": "0",
|
20 |
+
"8": "I-PER",
|
21 |
+
"9": "B-ORG",
|
22 |
+
"10": "I-MED",
|
23 |
+
"11": "B-MED",
|
24 |
+
"12": "I-ORG",
|
25 |
+
"13": "B-PER",
|
26 |
+
"14": "B-POS",
|
27 |
+
"15": "O",
|
28 |
+
"16": "I-LOC",
|
29 |
+
"17": "B-O",
|
30 |
+
"18": "B-LEG",
|
31 |
+
"19": "B-VIP",
|
32 |
+
"20": "B-DOC",
|
33 |
+
"21": "B-TITLE",
|
34 |
+
"22": "B- VIP",
|
35 |
+
"23": "MICHAEL B-VIP",
|
36 |
+
"24": "B-LOC",
|
37 |
+
"25": "I-VIP",
|
38 |
+
"26": "B-PROD",
|
39 |
+
"27": "I-DOC"
|
40 |
+
},
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"label2id": {
|
43 |
+
"0": 7,
|
44 |
+
"B- VIP": 22,
|
45 |
+
"B-DOC": 20,
|
46 |
+
"B-EVENT": 5,
|
47 |
+
"B-LEG": 18,
|
48 |
+
"B-LOC": 24,
|
49 |
+
"B-MED": 11,
|
50 |
+
"B-MED\"": 1,
|
51 |
+
"B-MTG": 3,
|
52 |
+
"B-O": 17,
|
53 |
+
"B-ORG": 9,
|
54 |
+
"B-PER": 13,
|
55 |
+
"B-POS": 14,
|
56 |
+
"B-PROD": 26,
|
57 |
+
"B-TITLE": 21,
|
58 |
+
"B-VIP": 19,
|
59 |
+
"C-B-VIP": 2,
|
60 |
+
"I-DOC": 27,
|
61 |
+
"I-LEG": 4,
|
62 |
+
"I-LOC": 16,
|
63 |
+
"I-MED": 10,
|
64 |
+
"I-ORG": 12,
|
65 |
+
"I-ORG\"": 6,
|
66 |
+
"I-PER": 8,
|
67 |
+
"I-VIP": 25,
|
68 |
+
"MICHAEL B-VIP": 23,
|
69 |
+
"O": 15,
|
70 |
+
"O\"": 0
|
71 |
+
},
|
72 |
+
"max_position_embeddings": 512,
|
73 |
+
"model_type": "distilbert",
|
74 |
+
"n_heads": 12,
|
75 |
+
"n_layers": 6,
|
76 |
+
"output_past": true,
|
77 |
+
"pad_token_id": 0,
|
78 |
+
"qa_dropout": 0.1,
|
79 |
+
"seq_classif_dropout": 0.2,
|
80 |
+
"sinusoidal_pos_embds": false,
|
81 |
+
"tie_weights_": true,
|
82 |
+
"torch_dtype": "float32",
|
83 |
+
"transformers_version": "4.45.1",
|
84 |
+
"vocab_size": 28996
|
85 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bc736936f1d47e2a2422d5ec9ef5b93a37d0c9905370e95061e4465afe3f416
|
3 |
+
size 260862112
|
runs/Nov19_08-19-22_f770c02d8443/events.out.tfevents.1732004711.f770c02d8443.30.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18b5cc8849dbf30dd506475280362c87e2cbe5c6b05be7e5eedbe8cbac757310
|
3 |
+
size 7124
|
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,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": false,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
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 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f937ca4176924add505da51e72d0f14c457d01333d3d72e55cacc0060d53b5ae
|
3 |
+
size 5240
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|