Training in progress, epoch 1
Browse files- README.md +88 -0
- config.json +41 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: michiyasunaga/BioLinkBERT-base
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
datasets:
|
| 8 |
+
- source_data
|
| 9 |
+
metrics:
|
| 10 |
+
- precision
|
| 11 |
+
- recall
|
| 12 |
+
- f1
|
| 13 |
+
model-index:
|
| 14 |
+
- name: SourceData_GeneprodRoles_v1_0_0_BioLinkBERT_base_1.0
|
| 15 |
+
results:
|
| 16 |
+
- task:
|
| 17 |
+
name: Token Classification
|
| 18 |
+
type: token-classification
|
| 19 |
+
dataset:
|
| 20 |
+
name: source_data
|
| 21 |
+
type: source_data
|
| 22 |
+
config: ROLES_GP
|
| 23 |
+
split: validation
|
| 24 |
+
args: ROLES_GP
|
| 25 |
+
metrics:
|
| 26 |
+
- name: Precision
|
| 27 |
+
type: precision
|
| 28 |
+
value: 0.9220255327226995
|
| 29 |
+
- name: Recall
|
| 30 |
+
type: recall
|
| 31 |
+
value: 0.9266873360362509
|
| 32 |
+
- name: F1
|
| 33 |
+
type: f1
|
| 34 |
+
value: 0.9243505566657151
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 38 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 39 |
+
|
| 40 |
+
# SourceData_GeneprodRoles_v1_0_0_BioLinkBERT_base_1.0
|
| 41 |
+
|
| 42 |
+
This model is a fine-tuned version of [michiyasunaga/BioLinkBERT-base](https://huggingface.co/michiyasunaga/BioLinkBERT-base) on the source_data dataset.
|
| 43 |
+
It achieves the following results on the evaluation set:
|
| 44 |
+
- Loss: 0.0137
|
| 45 |
+
- Accuracy Score: 0.9948
|
| 46 |
+
- Precision: 0.9220
|
| 47 |
+
- Recall: 0.9267
|
| 48 |
+
- F1: 0.9244
|
| 49 |
+
|
| 50 |
+
## Model description
|
| 51 |
+
|
| 52 |
+
More information needed
|
| 53 |
+
|
| 54 |
+
## Intended uses & limitations
|
| 55 |
+
|
| 56 |
+
More information needed
|
| 57 |
+
|
| 58 |
+
## Training and evaluation data
|
| 59 |
+
|
| 60 |
+
More information needed
|
| 61 |
+
|
| 62 |
+
## Training procedure
|
| 63 |
+
|
| 64 |
+
### Training hyperparameters
|
| 65 |
+
|
| 66 |
+
The following hyperparameters were used during training:
|
| 67 |
+
- learning_rate: 0.0001
|
| 68 |
+
- train_batch_size: 64
|
| 69 |
+
- eval_batch_size: 128
|
| 70 |
+
- seed: 42
|
| 71 |
+
- optimizer: Use adafactor and the args are:
|
| 72 |
+
No additional optimizer arguments
|
| 73 |
+
- lr_scheduler_type: linear
|
| 74 |
+
- num_epochs: 1.0
|
| 75 |
+
|
| 76 |
+
### Training results
|
| 77 |
+
|
| 78 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy Score | Precision | Recall | F1 |
|
| 79 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:---------:|:------:|:------:|
|
| 80 |
+
| 0.0146 | 1.0 | 864 | 0.0137 | 0.9948 | 0.9220 | 0.9267 | 0.9244 |
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
### Framework versions
|
| 84 |
+
|
| 85 |
+
- Transformers 4.46.3
|
| 86 |
+
- Pytorch 1.13.1+cu117
|
| 87 |
+
- Datasets 3.1.0
|
| 88 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "michiyasunaga/BioLinkBERT-base",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": 0.2,
|
| 8 |
+
"gradient_checkpointing": false,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "O",
|
| 14 |
+
"1": "B-CONTROLLED_VAR",
|
| 15 |
+
"2": "I-CONTROLLED_VAR",
|
| 16 |
+
"3": "B-MEASURED_VAR",
|
| 17 |
+
"4": "I-MEASURED_VAR"
|
| 18 |
+
},
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 3072,
|
| 21 |
+
"label2id": {
|
| 22 |
+
"B-CONTROLLED_VAR": 1,
|
| 23 |
+
"B-MEASURED_VAR": 3,
|
| 24 |
+
"I-CONTROLLED_VAR": 2,
|
| 25 |
+
"I-MEASURED_VAR": 4,
|
| 26 |
+
"O": 0
|
| 27 |
+
},
|
| 28 |
+
"layer_norm_eps": 1e-12,
|
| 29 |
+
"max_length": 512,
|
| 30 |
+
"max_position_embeddings": 512,
|
| 31 |
+
"model_type": "bert",
|
| 32 |
+
"num_attention_heads": 12,
|
| 33 |
+
"num_hidden_layers": 12,
|
| 34 |
+
"pad_token_id": 0,
|
| 35 |
+
"position_embedding_type": "absolute",
|
| 36 |
+
"torch_dtype": "float32",
|
| 37 |
+
"transformers_version": "4.46.3",
|
| 38 |
+
"type_vocab_size": 2,
|
| 39 |
+
"use_cache": true,
|
| 40 |
+
"vocab_size": 28895
|
| 41 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df2f4b817813a1a522d724a64c24d93c6b6c4a04d69a15d7110c172a52bb424d
|
| 3 |
+
size 430607156
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58073486c320d306ae6b1493aa3fc34836a8992b5d88111fb042252ff7aa5a85
|
| 3 |
+
size 5243
|