End of training
Browse files- README.md +83 -0
- config.json +32 -0
- model.safetensors +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +60 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: AIRI-Institute/gena-lm-bert-base-t2t-multi
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: gena-lm-bert-base-t2t-multi_ft_BioS45_1kbpHG19_DHSs_H3K27AC
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# gena-lm-bert-base-t2t-multi_ft_BioS45_1kbpHG19_DHSs_H3K27AC
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [AIRI-Institute/gena-lm-bert-base-t2t-multi](https://huggingface.co/AIRI-Institute/gena-lm-bert-base-t2t-multi) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.4693
|
22 |
+
- F1 Score: 0.8489
|
23 |
+
- Precision: 0.8151
|
24 |
+
- Recall: 0.8855
|
25 |
+
- Accuracy: 0.8355
|
26 |
+
- Auc: 0.8880
|
27 |
+
- Prc: 0.8543
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 1e-05
|
47 |
+
- train_batch_size: 8
|
48 |
+
- eval_batch_size: 8
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 20
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 Score | Precision | Recall | Accuracy | Auc | Prc |
|
58 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:--------:|:------:|:------:|
|
59 |
+
| 0.7045 | 0.2103 | 500 | 0.6716 | 0.3608 | 0.8731 | 0.2274 | 0.5797 | 0.7448 | 0.7630 |
|
60 |
+
| 0.6504 | 0.4207 | 1000 | 0.6005 | 0.7373 | 0.7184 | 0.7573 | 0.7186 | 0.7845 | 0.7959 |
|
61 |
+
| 0.5759 | 0.6310 | 1500 | 0.5370 | 0.7482 | 0.7872 | 0.7129 | 0.7497 | 0.7960 | 0.7969 |
|
62 |
+
| 0.5182 | 0.8414 | 2000 | 0.5214 | 0.8035 | 0.7299 | 0.8935 | 0.7720 | 0.8064 | 0.7516 |
|
63 |
+
| 0.4665 | 1.0517 | 2500 | 0.4835 | 0.8199 | 0.8304 | 0.8097 | 0.8145 | 0.8676 | 0.8310 |
|
64 |
+
| 0.463 | 1.2621 | 3000 | 0.4728 | 0.8318 | 0.7679 | 0.9073 | 0.8086 | 0.8709 | 0.8363 |
|
65 |
+
| 0.441 | 1.4724 | 3500 | 0.4638 | 0.8316 | 0.8067 | 0.8581 | 0.8187 | 0.8770 | 0.8401 |
|
66 |
+
| 0.4178 | 1.6828 | 4000 | 0.4333 | 0.8358 | 0.8040 | 0.8702 | 0.8216 | 0.8940 | 0.8833 |
|
67 |
+
| 0.4165 | 1.8931 | 4500 | 0.4512 | 0.8387 | 0.8095 | 0.8702 | 0.8254 | 0.8851 | 0.8599 |
|
68 |
+
| 0.4082 | 2.1035 | 5000 | 0.4773 | 0.8361 | 0.8288 | 0.8435 | 0.8275 | 0.8801 | 0.8592 |
|
69 |
+
| 0.4006 | 2.3138 | 5500 | 0.4735 | 0.8453 | 0.8066 | 0.8879 | 0.8305 | 0.8766 | 0.8257 |
|
70 |
+
| 0.4053 | 2.5242 | 6000 | 0.4654 | 0.8500 | 0.8033 | 0.9024 | 0.8338 | 0.8930 | 0.8661 |
|
71 |
+
| 0.4101 | 2.7345 | 6500 | 0.4794 | 0.8493 | 0.8059 | 0.8976 | 0.8338 | 0.8637 | 0.8114 |
|
72 |
+
| 0.4299 | 2.9449 | 7000 | 0.5050 | 0.8069 | 0.8732 | 0.75 | 0.8128 | 0.9019 | 0.8977 |
|
73 |
+
| 0.3828 | 3.1552 | 7500 | 0.6362 | 0.7813 | 0.8957 | 0.6927 | 0.7976 | 0.8789 | 0.8808 |
|
74 |
+
| 0.4132 | 3.3656 | 8000 | 0.4565 | 0.8484 | 0.8130 | 0.8871 | 0.8347 | 0.9009 | 0.8765 |
|
75 |
+
| 0.383 | 3.5759 | 8500 | 0.4693 | 0.8489 | 0.8151 | 0.8855 | 0.8355 | 0.8880 | 0.8543 |
|
76 |
+
|
77 |
+
|
78 |
+
### Framework versions
|
79 |
+
|
80 |
+
- Transformers 4.42.3
|
81 |
+
- Pytorch 2.3.0+cu121
|
82 |
+
- Datasets 2.18.0
|
83 |
+
- Tokenizers 0.19.0
|
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "AIRI-Institute/gena-lm-bert-base-t2t-multi",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoModel": "AIRI-Institute/gena-lm-bert-base-t2t-multi--modeling_bert.BertForMaskedLM"
|
9 |
+
},
|
10 |
+
"classifier_dropout": null,
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"last_layer_norm": false,
|
18 |
+
"layer_norm_eps": 1e-12,
|
19 |
+
"max_position_embeddings": 512,
|
20 |
+
"model_type": "bert",
|
21 |
+
"num_attention_heads": 12,
|
22 |
+
"num_hidden_layers": 12,
|
23 |
+
"pad_token_id": 3,
|
24 |
+
"position_embedding_type": "absolute",
|
25 |
+
"pre_layer_norm": true,
|
26 |
+
"problem_type": "single_label_classification",
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.42.3",
|
29 |
+
"type_vocab_size": 2,
|
30 |
+
"use_cache": true,
|
31 |
+
"vocab_size": 32000
|
32 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5aec86e4d218056c40a13f136c49773021b2aa34fac563b046ecaa3dd00d891d
|
3 |
+
size 442503040
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[UNK]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[CLS]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[SEP]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[PAD]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"5": {
|
44 |
+
"content": "-",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"clean_up_tokenization_spaces": true,
|
53 |
+
"cls_token": "[CLS]",
|
54 |
+
"mask_token": "[MASK]",
|
55 |
+
"model_max_length": 1000000000000000019884624838656,
|
56 |
+
"pad_token": "[PAD]",
|
57 |
+
"sep_token": "[SEP]",
|
58 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
59 |
+
"unk_token": "[UNK]"
|
60 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:815590c31d85b8fd9ccf51e104974ba98b1fde00b21426372751ff96f426ed2b
|
3 |
+
size 5240
|