lgq12697 commited on
Commit
f5497b2
·
1 Parent(s): c6ed7b2

update model

Browse files
Files changed (5) hide show
  1. README.md +1 -1
  2. config.json +48 -1
  3. model.safetensors +3 -0
  4. tokenizer.json +25 -4
  5. tokenizer_config.json +2 -0
README.md CHANGED
@@ -25,7 +25,7 @@ All the models have a comparable model size between 90 MB and 150 MB, BPE tokeni
25
  ### Model Sources
26
 
27
  - **Repository:** [Plant DNA LLMs](https://github.com/zhangtaolab/plant_DNA_LLMs)
28
- - **Manuscript:** [Versatile applications of foundation DNA large language models in plant genomes]()
29
 
30
  ### Architecture
31
 
 
25
  ### Model Sources
26
 
27
  - **Repository:** [Plant DNA LLMs](https://github.com/zhangtaolab/plant_DNA_LLMs)
28
+ - **Manuscript:** [PDLLMs: A group of tailored DNA large language models for analyzing plant genomes]()
29
 
30
  ### Architecture
31
 
config.json CHANGED
@@ -1 +1,48 @@
1
- {"d_model": 768, "n_layer": 24, "vocab_size": 8000, "ssm_cfg": {}, "rms_norm": true, "residual_in_fp32": true, "fused_add_norm": true, "pad_vocab_size_multiple": 8, "tie_embeddings": true}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Plant_DNAMamba_BPE_promoter_strength_leaf",
3
+ "architectures": [
4
+ "MambaForSequenceClassification"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "conv_kernel": 4,
8
+ "d_inner": 1536,
9
+ "d_model": 768,
10
+ "eos_token_id": 0,
11
+ "expand": 2,
12
+ "fused_add_norm": true,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "LABEL_0"
17
+ },
18
+ "initializer_range": 0.1,
19
+ "intermediate_size": 1536,
20
+ "label2id": {
21
+ "LABEL_0": 0
22
+ },
23
+ "layer_norm_epsilon": 1e-05,
24
+ "model_type": "mamba",
25
+ "n_layer": 24,
26
+ "num_hidden_layers": 24,
27
+ "pad_token_id": 0,
28
+ "pad_vocab_size_multiple": 8,
29
+ "problem_type": "regression",
30
+ "rescale_prenorm_residual": false,
31
+ "residual_in_fp32": true,
32
+ "rms_norm": true,
33
+ "ssm_cfg": {},
34
+ "state_size": 16,
35
+ "time_step_floor": 0.0001,
36
+ "time_step_init_scheme": "random",
37
+ "time_step_max": 0.1,
38
+ "time_step_min": 0.001,
39
+ "time_step_rank": 48,
40
+ "time_step_scale": 1.0,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.45.0.dev0",
43
+ "use_bias": false,
44
+ "use_cache": false,
45
+ "use_conv_bias": true,
46
+ "use_mambapy": false,
47
+ "vocab_size": 8000
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fadb3759020bc954d52006510958413c1a62e830603b41a99c8c31c10cb221b
3
+ size 386686548
tokenizer.json CHANGED
@@ -46,10 +46,30 @@
46
  "use_regex": true
47
  },
48
  "post_processor": {
49
- "type": "ByteLevel",
50
- "add_prefix_space": false,
51
- "trim_offsets": true,
52
- "use_regex": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  },
54
  "decoder": {
55
  "type": "ByteLevel",
@@ -65,6 +85,7 @@
65
  "end_of_word_suffix": null,
66
  "fuse_unk": false,
67
  "byte_fallback": false,
 
68
  "vocab": {
69
  "<|endoftext|>": 0,
70
  "<|padding|>": 1,
 
46
  "use_regex": true
47
  },
48
  "post_processor": {
49
+ "type": "TemplateProcessing",
50
+ "single": [
51
+ {
52
+ "Sequence": {
53
+ "id": "A",
54
+ "type_id": 0
55
+ }
56
+ }
57
+ ],
58
+ "pair": [
59
+ {
60
+ "Sequence": {
61
+ "id": "A",
62
+ "type_id": 0
63
+ }
64
+ },
65
+ {
66
+ "Sequence": {
67
+ "id": "B",
68
+ "type_id": 1
69
+ }
70
+ }
71
+ ],
72
+ "special_tokens": {}
73
  },
74
  "decoder": {
75
  "type": "ByteLevel",
 
85
  "end_of_word_suffix": null,
86
  "fuse_unk": false,
87
  "byte_fallback": false,
88
+ "ignore_merges": false,
89
  "vocab": {
90
  "<|endoftext|>": 0,
91
  "<|padding|>": 1,
tokenizer_config.json CHANGED
@@ -1,4 +1,6 @@
1
  {
 
 
2
  "add_prefix_space": false,
3
  "added_tokens_decoder": {
4
  "0": {
 
1
  {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
  "add_prefix_space": false,
5
  "added_tokens_decoder": {
6
  "0": {