hr-wesbeaver
commited on
Commit
•
370f91b
1
Parent(s):
35dca71
test-ner
Browse files- README.md +19 -6
- config.json +1 -1
- model.safetensors +3 -0
- tokenizer_config.json +43 -1
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,7 +1,13 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
3 |
tags:
|
4 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
|
5 |
model-index:
|
6 |
- name: test-ner
|
7 |
results: []
|
@@ -13,6 +19,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
13 |
# test-ner
|
14 |
|
15 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
## Model description
|
18 |
|
@@ -37,18 +49,19 @@ The following hyperparameters were used during training:
|
|
37 |
- seed: 42
|
38 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
39 |
- lr_scheduler_type: linear
|
40 |
-
- num_epochs:
|
41 |
|
42 |
### Training results
|
43 |
|
44 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
45 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
46 |
-
|
|
|
|
47 |
|
48 |
|
49 |
### Framework versions
|
50 |
|
51 |
-
- Transformers 4.
|
52 |
-
- Pytorch 2.
|
53 |
-
- Datasets 2.19.
|
54 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: bert-base-uncased
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
model-index:
|
12 |
- name: test-ner
|
13 |
results: []
|
|
|
19 |
# test-ner
|
20 |
|
21 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.0693
|
24 |
+
- Precision: 0.3093
|
25 |
+
- Recall: 0.2664
|
26 |
+
- F1: 0.2863
|
27 |
+
- Accuracy: 0.9788
|
28 |
|
29 |
## Model description
|
30 |
|
|
|
49 |
- seed: 42
|
50 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 2
|
53 |
|
54 |
### Training results
|
55 |
|
56 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
58 |
+
| 0.1576 | 1.0 | 78 | 0.0892 | 0.1865 | 0.1264 | 0.1507 | 0.9736 |
|
59 |
+
| 0.039 | 2.0 | 156 | 0.0693 | 0.3093 | 0.2664 | 0.2863 | 0.9788 |
|
60 |
|
61 |
|
62 |
### Framework versions
|
63 |
|
64 |
+
- Transformers 4.36.2
|
65 |
+
- Pytorch 2.2.2
|
66 |
+
- Datasets 2.19.1
|
67 |
+
- Tokenizers 0.15.2
|
config.json
CHANGED
@@ -31,7 +31,7 @@
|
|
31 |
"pad_token_id": 0,
|
32 |
"position_embedding_type": "absolute",
|
33 |
"torch_dtype": "float32",
|
34 |
-
"transformers_version": "4.
|
35 |
"type_vocab_size": 2,
|
36 |
"use_cache": true,
|
37 |
"vocab_size": 30522
|
|
|
31 |
"pad_token_id": 0,
|
32 |
"position_embedding_type": "absolute",
|
33 |
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.36.2",
|
35 |
"type_vocab_size": 2,
|
36 |
"use_cache": true,
|
37 |
"vocab_size": 30522
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30c3a6d7da90a34132b9f12de5b9585a09d5b1747477666d1ec43c1a200c0ba0
|
3 |
+
size 435602240
|
tokenizer_config.json
CHANGED
@@ -1,11 +1,53 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"cls_token": "[CLS]",
|
3 |
"do_lower_case": true,
|
4 |
"mask_token": "[MASK]",
|
5 |
"model_max_length": 512,
|
6 |
"pad_token": "[PAD]",
|
7 |
"sep_token": "[SEP]",
|
8 |
-
"special_tokens_map_file": null,
|
9 |
"strip_accents": null,
|
10 |
"tokenize_chinese_chars": true,
|
11 |
"tokenizer_class": "BertTokenizer",
|
|
|
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": "BertTokenizer",
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ac092c31f304d6e91c86d7daff73b6b70e2a2fad0734a22cdbf2dea4e8ffb42
|
3 |
+
size 4664
|