tanoManzo commited on
Commit
e519150
1 Parent(s): fbc0e97

End of training

Browse files
Files changed (5) hide show
  1. README.md +85 -0
  2. config.json +37 -0
  3. pytorch_model.bin +3 -0
  4. special_tokens_map.json +51 -0
  5. tokenizer_config.json +70 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bsd-3-clause
3
+ base_model: LongSafari/hyenadna-medium-160k-seqlen-hf
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - accuracy
10
+ model-index:
11
+ - name: hyenadna-medium-160k-seqlen-hf_ft_BioS73_1kbpHG19_DHSs_H3K27AC
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # hyenadna-medium-160k-seqlen-hf_ft_BioS73_1kbpHG19_DHSs_H3K27AC
19
+
20
+ This model is a fine-tuned version of [LongSafari/hyenadna-medium-160k-seqlen-hf](https://huggingface.co/LongSafari/hyenadna-medium-160k-seqlen-hf) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.5049
23
+ - F1 Score: 0.8498
24
+ - Precision: 0.8092
25
+ - Recall: 0.8946
26
+ - Accuracy: 0.8312
27
+ - Auc: 0.9050
28
+ - Prc: 0.8919
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 1e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 20
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | F1 Score | Precision | Recall | Accuracy | Auc | Prc |
59
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:--------:|:------:|:------:|
60
+ | 0.4658 | 0.3726 | 500 | 0.4353 | 0.8344 | 0.7760 | 0.9022 | 0.8088 | 0.8792 | 0.8707 |
61
+ | 0.4465 | 0.7452 | 1000 | 0.4110 | 0.8362 | 0.8066 | 0.8680 | 0.8185 | 0.8881 | 0.8822 |
62
+ | 0.4114 | 1.1177 | 1500 | 0.3973 | 0.8398 | 0.7786 | 0.9113 | 0.8144 | 0.8952 | 0.8901 |
63
+ | 0.3962 | 1.4903 | 2000 | 0.4114 | 0.8288 | 0.8245 | 0.8331 | 0.8163 | 0.8981 | 0.8925 |
64
+ | 0.3888 | 1.8629 | 2500 | 0.3946 | 0.8529 | 0.7811 | 0.9392 | 0.8271 | 0.9034 | 0.8962 |
65
+ | 0.3713 | 2.2355 | 3000 | 0.3950 | 0.8505 | 0.7984 | 0.9099 | 0.8293 | 0.9022 | 0.8959 |
66
+ | 0.357 | 2.6080 | 3500 | 0.3787 | 0.8476 | 0.8081 | 0.8911 | 0.8289 | 0.9044 | 0.8980 |
67
+ | 0.3466 | 2.9806 | 4000 | 0.3876 | 0.8538 | 0.7936 | 0.9239 | 0.8312 | 0.9075 | 0.8995 |
68
+ | 0.3164 | 3.3532 | 4500 | 0.3935 | 0.8513 | 0.8097 | 0.8973 | 0.8327 | 0.9059 | 0.8937 |
69
+ | 0.33 | 3.7258 | 5000 | 0.4684 | 0.8245 | 0.8426 | 0.8073 | 0.8166 | 0.9083 | 0.9012 |
70
+ | 0.31 | 4.0984 | 5500 | 0.4464 | 0.8520 | 0.7870 | 0.9288 | 0.8278 | 0.9049 | 0.8975 |
71
+ | 0.2786 | 4.4709 | 6000 | 0.4071 | 0.8506 | 0.8159 | 0.8883 | 0.8334 | 0.9028 | 0.8933 |
72
+ | 0.2874 | 4.8435 | 6500 | 0.3797 | 0.8640 | 0.8040 | 0.9337 | 0.8431 | 0.9050 | 0.8913 |
73
+ | 0.2567 | 5.2161 | 7000 | 0.4544 | 0.8517 | 0.7925 | 0.9204 | 0.8289 | 0.8983 | 0.8855 |
74
+ | 0.2388 | 5.5887 | 7500 | 0.4834 | 0.8415 | 0.8340 | 0.8492 | 0.8293 | 0.9032 | 0.8919 |
75
+ | 0.2386 | 5.9613 | 8000 | 0.4892 | 0.8533 | 0.8033 | 0.9099 | 0.8330 | 0.9003 | 0.8847 |
76
+ | 0.1956 | 6.3338 | 8500 | 0.5595 | 0.8511 | 0.8348 | 0.8680 | 0.8379 | 0.8992 | 0.8811 |
77
+ | 0.2257 | 6.7064 | 9000 | 0.5049 | 0.8498 | 0.8092 | 0.8946 | 0.8312 | 0.9050 | 0.8919 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.42.3
83
+ - Pytorch 2.3.0+cu121
84
+ - Datasets 2.18.0
85
+ - Tokenizers 0.19.0
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "LongSafari/hyenadna-medium-160k-seqlen-hf",
3
+ "activation_freq": 10,
4
+ "architectures": [
5
+ "HyenaDNAForSequenceClassification"
6
+ ],
7
+ "auto_map": {
8
+ "AutoConfig": "LongSafari/hyenadna-medium-160k-seqlen-hf--configuration_hyena.HyenaConfig",
9
+ "AutoModel": "LongSafari/hyenadna-medium-160k-seqlen-hf--modeling_hyena.HyenaDNAModel",
10
+ "AutoModelForCausalLM": "LongSafari/hyenadna-medium-160k-seqlen-hf--modeling_hyena.HyenaDNAForCausalLM",
11
+ "AutoModelForSequenceClassification": "LongSafari/hyenadna-medium-160k-seqlen-hf--modeling_hyena.HyenaDNAForSequenceClassification"
12
+ },
13
+ "d_inner": 1024,
14
+ "d_model": 256,
15
+ "emb_dim": 5,
16
+ "embed_dropout": 0.1,
17
+ "filter_order": 64,
18
+ "hyena_dropout": 0.0,
19
+ "hyena_filter_dropout": 0.0,
20
+ "hyena_order": 2,
21
+ "initializer_range": 0.02,
22
+ "layer_norm_epsilon": 1e-05,
23
+ "max_seq_len": 160002,
24
+ "model_type": "hyenadna",
25
+ "n_layer": 8,
26
+ "num_inner_mlps": 2,
27
+ "pad_token_id": 4,
28
+ "pad_vocab_size_multiple": 8,
29
+ "problem_type": "single_label_classification",
30
+ "short_filter_order": 3,
31
+ "tie_word_embeddings": false,
32
+ "torch_dtype": "float32",
33
+ "train_freq": true,
34
+ "transformers_version": "4.42.3",
35
+ "use_bias": true,
36
+ "vocab_size": 12
37
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:543448c674705949224f67ddf65fdca36ffc9d6d27845b2cbd53dfd0d8b47278
3
+ size 57008026
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "[BOS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "[CLS]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "[SEP]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "[MASK]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "[PAD]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "[SEP]",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "[UNK]",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[CLS]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "[SEP]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[BOS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[MASK]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "[PAD]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "6": {
45
+ "content": "[UNK]",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ }
52
+ },
53
+ "auto_map": {
54
+ "AutoTokenizer": [
55
+ "LongSafari/hyenadna-medium-160k-seqlen-hf--tokenization_hyena.HyenaDNATokenizer",
56
+ null
57
+ ]
58
+ },
59
+ "bos_token": "[BOS]",
60
+ "clean_up_tokenization_spaces": true,
61
+ "cls_token": "[CLS]",
62
+ "eos_token": "[SEP]",
63
+ "mask_token": "[MASK]",
64
+ "model_max_length": 160002,
65
+ "pad_token": "[PAD]",
66
+ "padding_side": "left",
67
+ "sep_token": "[SEP]",
68
+ "tokenizer_class": "HyenaDNATokenizer",
69
+ "unk_token": "[UNK]"
70
+ }