Adam-Fan commited on
Commit
d3e8a87
1 Parent(s): a6704ee

Upload adapter model

Browse files
Files changed (4) hide show
  1. README.md +38 -0
  2. adapter_config.json +34 -0
  3. adapter_model.safetensors +3 -0
  4. metadata.json +4 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: westlake-repl/SaProt_35M_AF2
4
+ ---
5
+
6
+
7
+
8
+ # Model Card for Model-Demo-35M
9
+ This model is used for a demo task
10
+
11
+ ## Task type
12
+ Protein-level Regression
13
+
14
+ ## Model input type
15
+ SA Sequence
16
+
17
+ ## LoRA config
18
+
19
+ - **r:** 8
20
+ - **lora_dropout:** 0.0
21
+ - **lora_alpha:** 16
22
+ - **target_modules:** ['value', 'output.dense', 'query', 'intermediate.dense', 'key']
23
+ - **modules_to_save:** ['classifier']
24
+
25
+ ## Training config
26
+
27
+ - **optimizer:**
28
+ - **class:** AdamW
29
+ - **betas:** (0.9, 0.98)
30
+ - **weight_decay:** 0.01
31
+ - **learning rate:** 0.0005
32
+ - **epoch:** 5
33
+ - **batch size:** 1
34
+ - **precision:** 16-mixed
35
+
36
+ ### Framework versions
37
+
38
+ - PEFT 0.10.0
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "westlake-repl/SaProt_35M_AF2",
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
+ "value",
26
+ "output.dense",
27
+ "query",
28
+ "intermediate.dense",
29
+ "key"
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:e421b33d4743a2824f9c9568c122e598b86ab4e3d4a9e0fa3b0a2fa923adb1b1
3
+ size 4263476
metadata.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "training_task_type": "Protein-level Regression",
3
+ "training_data_type": "SA"
4
+ }