Ziyao1010 commited on
Commit
5c1918d
·
verified ·
1 Parent(s): 6309a1f

Remove early prototype kmer1-decoder (not used in the paper)

Browse files
kmer1-decoder/config.json DELETED
@@ -1,32 +0,0 @@
1
- {
2
- "activation_function": "gelu_new",
3
- "architectures": [
4
- "GPT2LMHeadModel"
5
- ],
6
- "attn_pdrop": 0.1,
7
- "bos_token_id": 2,
8
- "embd_pdrop": 0.1,
9
- "eos_token_id": 3,
10
- "initializer_range": 0.02,
11
- "layer_norm_epsilon": 1e-05,
12
- "model_type": "gpt2",
13
- "n_embd": 256,
14
- "n_head": 4,
15
- "n_inner": 1024,
16
- "n_layer": 6,
17
- "n_positions": 512,
18
- "pad_token_id": 0,
19
- "reorder_and_upcast_attn": false,
20
- "resid_pdrop": 0.1,
21
- "scale_attn_by_inverse_layer_idx": false,
22
- "scale_attn_weights": true,
23
- "summary_activation": null,
24
- "summary_first_dropout": 0.1,
25
- "summary_proj_to_labels": true,
26
- "summary_type": "cls_index",
27
- "summary_use_proj": true,
28
- "torch_dtype": "float32",
29
- "transformers_version": "4.46.3",
30
- "use_cache": true,
31
- "vocab_size": 10
32
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
kmer1-decoder/eval_results.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "eval_loss": 0.5514755845069885,
3
- "eval_masked_accuracy": 0.7674719289606015,
4
- "eval_next_token_count": 509689,
5
- "eval_runtime": 0.5524,
6
- "eval_samples_per_second": 3620.738,
7
- "eval_steps_per_second": 7.241,
8
- "epoch": 1.0,
9
- "eval_perplexity": 1.7358124670446264
10
- }
 
 
 
 
 
 
 
 
 
 
 
kmer1-decoder/generation_config.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "_from_model_config": true,
3
- "bos_token_id": 2,
4
- "eos_token_id": 3,
5
- "pad_token_id": 0,
6
- "transformers_version": "4.46.3"
7
- }
 
 
 
 
 
 
 
 
kmer1-decoder/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a817544c9b4285d173c52016910918351165598075403df76160bab33a7e6bc9
3
- size 19498304
 
 
 
 
kmer1-decoder/model_config.json DELETED
@@ -1,88 +0,0 @@
1
- {
2
- "vocab_size": 10,
3
- "n_positions": 512,
4
- "n_embd": 256,
5
- "n_layer": 6,
6
- "n_head": 4,
7
- "n_inner": 1024,
8
- "activation_function": "gelu_new",
9
- "resid_pdrop": 0.1,
10
- "embd_pdrop": 0.1,
11
- "attn_pdrop": 0.1,
12
- "layer_norm_epsilon": 1e-05,
13
- "initializer_range": 0.02,
14
- "summary_type": "cls_index",
15
- "summary_use_proj": true,
16
- "summary_activation": null,
17
- "summary_first_dropout": 0.1,
18
- "summary_proj_to_labels": true,
19
- "scale_attn_weights": true,
20
- "use_cache": true,
21
- "scale_attn_by_inverse_layer_idx": false,
22
- "reorder_and_upcast_attn": false,
23
- "bos_token_id": 2,
24
- "eos_token_id": 3,
25
- "return_dict": true,
26
- "output_hidden_states": false,
27
- "output_attentions": false,
28
- "torchscript": false,
29
- "torch_dtype": "float32",
30
- "use_bfloat16": false,
31
- "tf_legacy_loss": false,
32
- "pruned_heads": {},
33
- "tie_word_embeddings": true,
34
- "chunk_size_feed_forward": 0,
35
- "is_encoder_decoder": false,
36
- "is_decoder": false,
37
- "cross_attention_hidden_size": null,
38
- "add_cross_attention": false,
39
- "tie_encoder_decoder": false,
40
- "max_length": 20,
41
- "min_length": 0,
42
- "do_sample": false,
43
- "early_stopping": false,
44
- "num_beams": 1,
45
- "num_beam_groups": 1,
46
- "diversity_penalty": 0.0,
47
- "temperature": 1.0,
48
- "top_k": 50,
49
- "top_p": 1.0,
50
- "typical_p": 1.0,
51
- "repetition_penalty": 1.0,
52
- "length_penalty": 1.0,
53
- "no_repeat_ngram_size": 0,
54
- "encoder_no_repeat_ngram_size": 0,
55
- "bad_words_ids": null,
56
- "num_return_sequences": 1,
57
- "output_scores": false,
58
- "return_dict_in_generate": false,
59
- "forced_bos_token_id": null,
60
- "forced_eos_token_id": null,
61
- "remove_invalid_values": false,
62
- "exponential_decay_length_penalty": null,
63
- "suppress_tokens": null,
64
- "begin_suppress_tokens": null,
65
- "architectures": [
66
- "GPT2LMHeadModel"
67
- ],
68
- "finetuning_task": null,
69
- "id2label": {
70
- "0": "LABEL_0",
71
- "1": "LABEL_1"
72
- },
73
- "label2id": {
74
- "LABEL_0": 0,
75
- "LABEL_1": 1
76
- },
77
- "tokenizer_class": null,
78
- "prefix": null,
79
- "pad_token_id": 0,
80
- "sep_token_id": null,
81
- "decoder_start_token_id": null,
82
- "task_specific_params": null,
83
- "problem_type": null,
84
- "_name_or_path": "",
85
- "_attn_implementation_autoset": false,
86
- "transformers_version": "4.46.3",
87
- "model_type": "gpt2"
88
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
kmer1-decoder/special_tokens_map.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
7
- }
 
 
 
 
 
 
 
 
kmer1-decoder/tokenizer.json DELETED
@@ -1,165 +0,0 @@
1
- {
2
- "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 512,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
- "padding": null,
10
- "added_tokens": [
11
- {
12
- "id": 0,
13
- "content": "[PAD]",
14
- "single_word": false,
15
- "lstrip": false,
16
- "rstrip": false,
17
- "normalized": false,
18
- "special": true
19
- },
20
- {
21
- "id": 1,
22
- "content": "[UNK]",
23
- "single_word": false,
24
- "lstrip": false,
25
- "rstrip": false,
26
- "normalized": false,
27
- "special": true
28
- },
29
- {
30
- "id": 2,
31
- "content": "[CLS]",
32
- "single_word": false,
33
- "lstrip": false,
34
- "rstrip": false,
35
- "normalized": false,
36
- "special": true
37
- },
38
- {
39
- "id": 3,
40
- "content": "[SEP]",
41
- "single_word": false,
42
- "lstrip": false,
43
- "rstrip": false,
44
- "normalized": false,
45
- "special": true
46
- },
47
- {
48
- "id": 4,
49
- "content": "[MASK]",
50
- "single_word": false,
51
- "lstrip": false,
52
- "rstrip": false,
53
- "normalized": false,
54
- "special": true
55
- }
56
- ],
57
- "normalizer": {
58
- "type": "BertNormalizer",
59
- "clean_text": true,
60
- "handle_chinese_chars": false,
61
- "strip_accents": false,
62
- "lowercase": false
63
- },
64
- "pre_tokenizer": {
65
- "type": "BertPreTokenizer"
66
- },
67
- "post_processor": {
68
- "type": "TemplateProcessing",
69
- "single": [
70
- {
71
- "SpecialToken": {
72
- "id": "[CLS]",
73
- "type_id": 0
74
- }
75
- },
76
- {
77
- "Sequence": {
78
- "id": "A",
79
- "type_id": 0
80
- }
81
- },
82
- {
83
- "SpecialToken": {
84
- "id": "[SEP]",
85
- "type_id": 0
86
- }
87
- }
88
- ],
89
- "pair": [
90
- {
91
- "SpecialToken": {
92
- "id": "[CLS]",
93
- "type_id": 0
94
- }
95
- },
96
- {
97
- "Sequence": {
98
- "id": "A",
99
- "type_id": 0
100
- }
101
- },
102
- {
103
- "SpecialToken": {
104
- "id": "[SEP]",
105
- "type_id": 0
106
- }
107
- },
108
- {
109
- "Sequence": {
110
- "id": "B",
111
- "type_id": 1
112
- }
113
- },
114
- {
115
- "SpecialToken": {
116
- "id": "[SEP]",
117
- "type_id": 1
118
- }
119
- }
120
- ],
121
- "special_tokens": {
122
- "[CLS]": {
123
- "id": "[CLS]",
124
- "ids": [
125
- 2
126
- ],
127
- "tokens": [
128
- "[CLS]"
129
- ]
130
- },
131
- "[SEP]": {
132
- "id": "[SEP]",
133
- "ids": [
134
- 3
135
- ],
136
- "tokens": [
137
- "[SEP]"
138
- ]
139
- }
140
- }
141
- },
142
- "decoder": {
143
- "type": "WordPiece",
144
- "prefix": "##",
145
- "cleanup": true
146
- },
147
- "model": {
148
- "type": "WordPiece",
149
- "unk_token": "[UNK]",
150
- "continuing_subword_prefix": "##",
151
- "max_input_chars_per_word": 100,
152
- "vocab": {
153
- "[PAD]": 0,
154
- "[UNK]": 1,
155
- "[CLS]": 2,
156
- "[SEP]": 3,
157
- "[MASK]": 4,
158
- "A": 5,
159
- "U": 6,
160
- "C": 7,
161
- "G": 8,
162
- "N": 9
163
- }
164
- }
165
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
kmer1-decoder/tokenizer_config.json DELETED
@@ -1,57 +0,0 @@
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
- "1": {
12
- "content": "[UNK]",
13
- "lstrip": false,
14
- "normalized": false,
15
- "rstrip": false,
16
- "single_word": false,
17
- "special": true
18
- },
19
- "2": {
20
- "content": "[CLS]",
21
- "lstrip": false,
22
- "normalized": false,
23
- "rstrip": false,
24
- "single_word": false,
25
- "special": true
26
- },
27
- "3": {
28
- "content": "[SEP]",
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
- },
44
- "clean_up_tokenization_spaces": true,
45
- "cls_token": "[CLS]",
46
- "do_basic_tokenize": true,
47
- "do_lower_case": false,
48
- "mask_token": "[MASK]",
49
- "model_max_length": 1000000000000000019884624838656,
50
- "never_split": null,
51
- "pad_token": "[PAD]",
52
- "sep_token": "[SEP]",
53
- "strip_accents": false,
54
- "tokenize_chinese_chars": false,
55
- "tokenizer_class": "BertTokenizer",
56
- "unk_token": "[UNK]"
57
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
kmer1-decoder/vocab.txt DELETED
@@ -1,10 +0,0 @@
1
- [PAD]
2
- [UNK]
3
- [CLS]
4
- [SEP]
5
- [MASK]
6
- A
7
- U
8
- C
9
- G
10
- N