Ziyao1010 commited on
Commit
3c1be3f
·
verified ·
1 Parent(s): e68f01a

add kmer6-decoder

Browse files
kmer6-decoder/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 96,
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": 15630
32
+ }
kmer6-decoder/eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_loss": 2.6511454582214355,
3
+ "eval_masked_accuracy": 0.5854349738889968,
4
+ "eval_next_token_count": 87511,
5
+ "eval_runtime": 0.2825,
6
+ "eval_samples_per_second": 7079.03,
7
+ "eval_steps_per_second": 14.158,
8
+ "epoch": 1.0,
9
+ "eval_perplexity": 14.170260794431945
10
+ }
kmer6-decoder/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
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
+ }
kmer6-decoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41511c3d035ca36f2984226e7a92019fa2d68e4e1e372e69db5fc5a78bf34fe7
3
+ size 35067200
kmer6-decoder/model_config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 15630,
3
+ "n_positions": 96,
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
+ }
kmer6-decoder/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
kmer6-decoder/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
kmer6-decoder/tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
kmer6-decoder/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
Free AI Image Generator No sign-up. Instant results. Open Now