Upload model
Browse files- config.json +4 -28
- 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 |
-
|
| 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":
|
| 45 |
},
|
| 46 |
"model_type": "genbio",
|
| 47 |
"torch_dtype": "float32",
|
| 48 |
-
"transformers_version": "4.
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12b23487135b5e14d13983abfc8e7fa318d5f5e30c3e21b4a64d70dba3b21500
|
| 3 |
+
size 18209552
|