Upload adapter model
Browse files- Model-demo-1.2B.zip +3 -0
- README.md +46 -0
- adapter_config.json +37 -0
- adapter_model.safetensors +3 -0
- metadata.json +3 -0
Model-demo-1.2B.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40321a9a2ae49ae71ed342514c6a47ebbbb149cb7347d291419e080fa6c4aa23
|
3 |
+
size 11683628
|
README.md
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
|
4 |
+
base_model: Rostlab/prot_t5_xl_uniref50
|
5 |
+
|
6 |
+
library_name: peft
|
7 |
+
|
8 |
+
---
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
# Model Card for Model-demo-1.2B
|
13 |
+
This model is used for a demo classification task
|
14 |
+
|
15 |
+
## Task type
|
16 |
+
Protein-level Classification
|
17 |
+
|
18 |
+
## Model input type
|
19 |
+
AA Sequence
|
20 |
+
|
21 |
+
## Label meanings
|
22 |
+
|
23 |
+
0: A
|
24 |
+
|
25 |
+
1: B
|
26 |
+
|
27 |
+
|
28 |
+
## LoRA config
|
29 |
+
|
30 |
+
- **r:** 8
|
31 |
+
- **lora_dropout:** 0.0
|
32 |
+
- **lora_alpha:** 16
|
33 |
+
- **target_modules:** ['SelfAttention.o', 'SelfAttention.k', 'EncDecAttention.o', 'EncDecAttention.v', 'SelfAttention.q', 'EncDecAttention.k', 'EncDecAttention.q', 'SelfAttention.v']
|
34 |
+
- **modules_to_save:** ['classifier']
|
35 |
+
|
36 |
+
## Training config
|
37 |
+
|
38 |
+
- **optimizer:**
|
39 |
+
- **class:** AdamW
|
40 |
+
- **betas:** (0.9, 0.98)
|
41 |
+
- **weight_decay:** 0.01
|
42 |
+
- **learning rate:** 0.001
|
43 |
+
- **epoch:** 1
|
44 |
+
- **batch size:** 4
|
45 |
+
- **precision:** 16-mixed
|
46 |
+
|
adapter_config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "Rostlab/prot_t5_xl_uniref50",
|
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 |
+
"SelfAttention.o",
|
26 |
+
"SelfAttention.k",
|
27 |
+
"EncDecAttention.o",
|
28 |
+
"EncDecAttention.v",
|
29 |
+
"SelfAttention.q",
|
30 |
+
"EncDecAttention.k",
|
31 |
+
"EncDecAttention.q",
|
32 |
+
"SelfAttention.v"
|
33 |
+
],
|
34 |
+
"task_type": "SEQ_CLS",
|
35 |
+
"use_dora": false,
|
36 |
+
"use_rslora": false
|
37 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6aeec75c75f7012795b3933d5ae69b1f38d170bd214656d90171c82430b558c8
|
3 |
+
size 15755592
|
metadata.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"training_data_type": "AA"
|
3 |
+
}
|