Upload adapter model
Browse files- Model-demo-35M.zip +3 -0
- README.md +44 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- metadata.json +3 -0
Model-demo-35M.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:519c6f23b9c6abc0286090f44800ccc3526bf901d370bb1b046f638134ffa889
|
3 |
+
size 3958061
|
README.md
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
|
4 |
+
base_model: ProTrekHub/Protein_Encoder_35M
|
5 |
+
|
6 |
+
library_name: peft
|
7 |
+
|
8 |
+
---
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
# Model Card for Model-demo-35M
|
13 |
+
This model is used for a demo classification task
|
14 |
+
|
15 |
+
## Task type
|
16 |
+
Protein-level Classification
|
17 |
+
|
18 |
+
## Model input type
|
19 |
+
SA Sequence
|
20 |
+
|
21 |
+
## Label meanings
|
22 |
+
|
23 |
+
0: None
|
24 |
+
|
25 |
+
|
26 |
+
## LoRA config
|
27 |
+
|
28 |
+
- **r:** 8
|
29 |
+
- **lora_dropout:** 0.0
|
30 |
+
- **lora_alpha:** 16
|
31 |
+
- **target_modules:** ['output.dense', 'key', 'value', 'query', 'intermediate.dense']
|
32 |
+
- **modules_to_save:** ['classifier']
|
33 |
+
|
34 |
+
## Training config
|
35 |
+
|
36 |
+
- **optimizer:**
|
37 |
+
- **class:** AdamW
|
38 |
+
- **betas:** (0.9, 0.98)
|
39 |
+
- **weight_decay:** 0.01
|
40 |
+
- **learning rate:** 0.001
|
41 |
+
- **epoch:** 10
|
42 |
+
- **batch size:** 2
|
43 |
+
- **precision:** 16-mixed
|
44 |
+
|
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "ProTrekHub/Protein_Encoder_35M",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.0,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": [
|
18 |
+
"classifier"
|
19 |
+
],
|
20 |
+
"peft_type": "LORA",
|
21 |
+
"r": 8,
|
22 |
+
"rank_pattern": {},
|
23 |
+
"revision": null,
|
24 |
+
"target_modules": [
|
25 |
+
"output.dense",
|
26 |
+
"key",
|
27 |
+
"value",
|
28 |
+
"query",
|
29 |
+
"intermediate.dense"
|
30 |
+
],
|
31 |
+
"task_type": "SEQ_CLS",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00814bc58fdc4245ada203e90855833ab320ac1bb49fc0c07dd0d8c179277f13
|
3 |
+
size 4265400
|
metadata.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"training_data_type": "SA"
|
3 |
+
}
|