lgq12697 commited on
Commit
26de505
·
1 Parent(s): f68ddd7

update model

Browse files
Files changed (4) hide show
  1. README.md +1 -1
  2. config.json +50 -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,50 @@
1
- {"d_model": 768, "n_layer": 24, "vocab_size": 267, "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": "../model/finetune/PlantDna_Mamba_4mer/plant-multi-species-core-promoters",
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": "Not_promoter",
17
+ "1": "promoter"
18
+ },
19
+ "initializer_range": 0.1,
20
+ "intermediate_size": 1536,
21
+ "label2id": {
22
+ "Not_promoter": 0,
23
+ "promoter": 1
24
+ },
25
+ "layer_norm_epsilon": 1e-05,
26
+ "model_type": "mamba",
27
+ "n_layer": 24,
28
+ "num_hidden_layers": 24,
29
+ "pad_token_id": 0,
30
+ "pad_vocab_size_multiple": 8,
31
+ "problem_type": "single_label_classification",
32
+ "rescale_prenorm_residual": false,
33
+ "residual_in_fp32": true,
34
+ "rms_norm": true,
35
+ "ssm_cfg": {},
36
+ "state_size": 16,
37
+ "time_step_floor": 0.0001,
38
+ "time_step_init_scheme": "random",
39
+ "time_step_max": 0.1,
40
+ "time_step_min": 0.001,
41
+ "time_step_rank": 48,
42
+ "time_step_scale": 1.0,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.45.0.dev0",
45
+ "use_bias": false,
46
+ "use_cache": false,
47
+ "use_conv_bias": true,
48
+ "use_mambapy": false,
49
+ "vocab_size": 267
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01dbdb064b40d7f3b75730dab53b7d7db8156bd8648a6b498e6d5870e0f4d79d
3
+ size 362933784
test_metrics.json DELETED
@@ -1 +0,0 @@
1
- {'test_loss': 0.40144839882850647, 'test_accuracy': 0.81875, 'test_f1': 0.8262672811059908, 'test_precision': 0.7933628318584071, 'test_recall': 0.8620192307692308, 'test_matthews_correlation': 0.639900580307719, 'test_runtime': 26.0814, 'test_samples_per_second': 319.001, 'test_steps_per_second': 19.938}