cer-ner
Browse files- README.md +11 -10
- config.json +1 -2
- model.safetensors +1 -1
- tokenizer.json +1 -1
- tokenizer_config.json +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
base_model: dmis-lab/biobert-v1.1
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
metrics:
|
@@ -17,13 +17,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
# cer_model
|
19 |
|
20 |
-
This model is a fine-tuned version of [dmis-lab/biobert-v1.1](https://huggingface.co/dmis-lab/biobert-v1.1) on the None dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
-
- Loss:
|
23 |
-
- Precision: 0.
|
24 |
-
- Recall: 0.
|
25 |
-
- F1: 0.
|
26 |
-
- Accuracy: 0.
|
27 |
|
28 |
## Model description
|
29 |
|
@@ -48,13 +48,14 @@ The following hyperparameters were used during training:
|
|
48 |
- seed: 42
|
49 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
- lr_scheduler_type: linear
|
|
|
51 |
- num_epochs: 1
|
52 |
|
53 |
### Training results
|
54 |
|
55 |
-
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1
|
56 |
-
|
57 |
-
| 0.
|
58 |
|
59 |
|
60 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
base_model: dmis-lab/biobert-base-cased-v1.1
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
metrics:
|
|
|
17 |
|
18 |
# cer_model
|
19 |
|
20 |
+
This model is a fine-tuned version of [dmis-lab/biobert-base-cased-v1.1](https://huggingface.co/dmis-lab/biobert-base-cased-v1.1) on the None dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.4081
|
23 |
+
- Precision: 0.9099
|
24 |
+
- Recall: 0.8471
|
25 |
+
- F1: 0.8774
|
26 |
+
- Accuracy: 0.9268
|
27 |
|
28 |
## Model description
|
29 |
|
|
|
48 |
- seed: 42
|
49 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
- lr_scheduler_type: linear
|
51 |
+
- lr_scheduler_warmup_ratio: 0.2
|
52 |
- num_epochs: 1
|
53 |
|
54 |
### Training results
|
55 |
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
58 |
+
| 0.0179 | 1.0 | 4841 | 0.4081 | 0.9099 | 0.8471 | 0.8774 | 0.9268 |
|
59 |
|
60 |
|
61 |
### Framework versions
|
config.json
CHANGED
@@ -1,11 +1,10 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "dmis-lab/biobert-v1.1",
|
3 |
"architectures": [
|
4 |
"BertForTokenClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
8 |
-
"gradient_checkpointing": false,
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dmis-lab/biobert-base-cased-v1.1",
|
3 |
"architectures": [
|
4 |
"BertForTokenClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 430911284
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:348c0ba0ca23ebfaa378bdefd316fc9db0e8ecf4bb5f3cd16b67b9d30418dba6
|
3 |
size 430911284
|
tokenizer.json
CHANGED
@@ -54,7 +54,7 @@
|
|
54 |
"clean_text": true,
|
55 |
"handle_chinese_chars": true,
|
56 |
"strip_accents": null,
|
57 |
-
"lowercase":
|
58 |
},
|
59 |
"pre_tokenizer": {
|
60 |
"type": "BertPreTokenizer"
|
|
|
54 |
"clean_text": true,
|
55 |
"handle_chinese_chars": true,
|
56 |
"strip_accents": null,
|
57 |
+
"lowercase": true
|
58 |
},
|
59 |
"pre_tokenizer": {
|
60 |
"type": "BertPreTokenizer"
|
tokenizer_config.json
CHANGED
@@ -44,7 +44,7 @@
|
|
44 |
"clean_up_tokenization_spaces": true,
|
45 |
"cls_token": "[CLS]",
|
46 |
"do_basic_tokenize": true,
|
47 |
-
"do_lower_case":
|
48 |
"mask_token": "[MASK]",
|
49 |
"model_max_length": 512,
|
50 |
"never_split": null,
|
|
|
44 |
"clean_up_tokenization_spaces": true,
|
45 |
"cls_token": "[CLS]",
|
46 |
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
"mask_token": "[MASK]",
|
49 |
"model_max_length": 512,
|
50 |
"never_split": null,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4728
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b687e106ab7ba05682da854439a79d6a5c5a2b64efcee55cb0195993a1151eb
|
3 |
size 4728
|