lgq12697 commited on
Commit
3a78399
1 Parent(s): bb2fed0

update model

Browse files
Files changed (3) hide show
  1. config.json +50 -1
  2. model.safetensors +3 -0
  3. test_metrics.json +0 -1
config.json CHANGED
@@ -1 +1,50 @@
1
- {"d_model": 768, "n_layer": 24, "vocab_size": 75, "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_3mer/plant-multi-species-histone-modifications-H3K27ac",
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_modification",
17
+ "1": "modification"
18
+ },
19
+ "initializer_range": 0.1,
20
+ "intermediate_size": 1536,
21
+ "label2id": {
22
+ "Not_modification": 0,
23
+ "modification": 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": 75
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03ed3417dde907009070f48caf03cff5e453b3f7ed6fa450538fa8435f46624d
3
+ size 362343960
test_metrics.json DELETED
@@ -1 +0,0 @@
1
- {'test_loss': 0.4393389821052551, 'test_accuracy': 0.79736328125, 'test_f1': 0.8010355738805255, 'test_precision': 0.7867771708419665, 'test_recall': 0.8158203125, 'test_matthews_correlation': 0.5951321785645645, 'test_runtime': 32.108, 'test_samples_per_second': 318.923, 'test_steps_per_second': 19.933}