DianLiI commited on
Commit
b18fc71
·
verified ·
1 Parent(s): 5d3f188

Upload model

Browse files
Files changed (2) hide show
  1. config.json +4 -28
  2. model.safetensors +2 -2
config.json CHANGED
@@ -10,40 +10,16 @@
10
  "_class_path": "genbio_finetune.tasks.SequenceClassification",
11
  "_instantiator": "lightning.pytorch.cli.instantiate_module",
12
  "adapter": "genbio_finetune.models.LinearAdapter",
13
- "backbone": {
14
- "class_path": "genbio_finetune.models.huggingface",
15
- "init_args": {
16
- "config_overwrites": null,
17
- "lora_alpha": 16,
18
- "lora_dropout": 0.1,
19
- "lora_modules_to_save": null,
20
- "lora_r": 16,
21
- "lora_target_modules": [
22
- "query",
23
- "value",
24
- "key",
25
- "dense"
26
- ],
27
- "lora_use_rslora": false,
28
- "max_length": null,
29
- "model_init_args": null,
30
- "model_path": "multimolecule/rnabert",
31
- "modules_for_model_registration": [
32
- "multimolecule"
33
- ],
34
- "save_peft_only": true,
35
- "use_peft": true
36
- }
37
- },
38
- "batch_size": 2,
39
  "lr_scheduler": null,
40
  "n_classes": 2,
41
  "optimizer": "torch.optim.AdamW",
42
  "reset_optimizer_states": false,
43
  "strict_loading": false,
44
- "use_legacy_adapter": true
45
  },
46
  "model_type": "genbio",
47
  "torch_dtype": "float32",
48
- "transformers_version": "4.46.1"
49
  }
 
10
  "_class_path": "genbio_finetune.tasks.SequenceClassification",
11
  "_instantiator": "lightning.pytorch.cli.instantiate_module",
12
  "adapter": "genbio_finetune.models.LinearAdapter",
13
+ "backbone": "genbio_finetune.models.dummy",
14
+ "batch_size": 128,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  "lr_scheduler": null,
16
  "n_classes": 2,
17
  "optimizer": "torch.optim.AdamW",
18
  "reset_optimizer_states": false,
19
  "strict_loading": false,
20
+ "use_legacy_adapter": false
21
  },
22
  "model_type": "genbio",
23
  "torch_dtype": "float32",
24
+ "transformers_version": "4.38.0"
25
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e2b1063adba335f7f21bd7df3aa0fa86524fa3a97e2224d42a1c851198dcc0d9
3
- size 2461896
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12b23487135b5e14d13983abfc8e7fa318d5f5e30c3e21b4a64d70dba3b21500
3
+ size 18209552