Instructions to use SaProtHub/Model-ACE2_Omicron_BQ.1.1_binding_affinity-35M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SaProtHub/Model-ACE2_Omicron_BQ.1.1_binding_affinity-35M with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("westlake-repl/SaProt_35M_AF2") model = PeftModel.from_pretrained(base_model, "SaProtHub/Model-ACE2_Omicron_BQ.1.1_binding_affinity-35M") - Notebooks
- Google Colab
- Kaggle
Upload 3 files
Browse files- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
adapter_config.json
CHANGED
|
@@ -23,10 +23,10 @@
|
|
| 23 |
"revision": null,
|
| 24 |
"target_modules": [
|
| 25 |
"query",
|
| 26 |
-
"
|
| 27 |
"output.dense",
|
| 28 |
"key",
|
| 29 |
-
"
|
| 30 |
],
|
| 31 |
"task_type": "SEQ_CLS",
|
| 32 |
"use_dora": false,
|
|
|
|
| 23 |
"revision": null,
|
| 24 |
"target_modules": [
|
| 25 |
"query",
|
| 26 |
+
"intermediate.dense",
|
| 27 |
"output.dense",
|
| 28 |
"key",
|
| 29 |
+
"value"
|
| 30 |
],
|
| 31 |
"task_type": "SEQ_CLS",
|
| 32 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4263476
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbca6631eb04ad4d927e0a848f67f5e57883eea74d86b9fa842ba3d186b6825b
|
| 3 |
size 4263476
|