lgq12697 commited on
Commit
452ddae
1 Parent(s): c968828

update model

Browse files
Files changed (4) hide show
  1. README.md +1 -1
  2. config.json +42 -1
  3. model.safetensors +3 -0
  4. test_metrics.json +0 -1
README.md CHANGED
@@ -18,7 +18,7 @@ All the models have a comparable model size between 90 MB and 150 MB, BPE tokeni
18
  ### Model Sources
19
 
20
  - **Repository:** [Plant DNA LLMs](https://github.com/zhangtaolab/plant_DNA_LLMs)
21
- - **Manuscript:** [Versatile applications of foundation DNA large language models in plant genomes]()
22
 
23
  ### Architecture
24
 
 
18
  ### Model Sources
19
 
20
  - **Repository:** [Plant DNA LLMs](https://github.com/zhangtaolab/plant_DNA_LLMs)
21
+ - **Manuscript:** [PDLLMs: A group of tailored DNA large language models for analyzing plant genomes]()
22
 
23
  ### Architecture
24
 
config.json CHANGED
@@ -1 +1,42 @@
1
- {"d_model": 768, "n_layer": 24, "vocab_size": 27, "ssm_cfg": {}, "rms_norm": true, "residual_in_fp32": true, "fused_add_norm": true, "pad_vocab_size_multiple": 1, "tie_embeddings": true}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Plant_DNAMamba_2mer_conservation",
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
+ "initializer_range": 0.1,
16
+ "intermediate_size": 1536,
17
+ "layer_norm_epsilon": 1e-05,
18
+ "model_type": "mamba",
19
+ "n_layer": 24,
20
+ "num_hidden_layers": 24,
21
+ "pad_token_id": 0,
22
+ "pad_vocab_size_multiple": 8,
23
+ "problem_type": "single_label_classification",
24
+ "rescale_prenorm_residual": false,
25
+ "residual_in_fp32": true,
26
+ "rms_norm": true,
27
+ "ssm_cfg": {},
28
+ "state_size": 16,
29
+ "time_step_floor": 0.0001,
30
+ "time_step_init_scheme": "random",
31
+ "time_step_max": 0.1,
32
+ "time_step_min": 0.001,
33
+ "time_step_rank": 48,
34
+ "time_step_scale": 1.0,
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.45.0.dev0",
37
+ "use_bias": false,
38
+ "use_cache": false,
39
+ "use_conv_bias": true,
40
+ "use_mambapy": false,
41
+ "vocab_size": 27
42
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20ff49997954221e48c8fecc9bb59509047b5f989f607ab30a339ebf146e3690
3
+ size 362196504
test_metrics.json DELETED
@@ -1 +0,0 @@
1
- {'test_loss': 0.981111466884613, 'test_accuracy': 0.8829545454545454, 'test_f1': 0.8808904307603354, 'test_precision': 0.8967039434961742, 'test_recall': 0.865625, 'test_matthews_correlation': 0.7663695309159654, 'test_runtime': 22.2581, 'test_samples_per_second': 316.29, 'test_steps_per_second': 19.768}