Upload adapter model
Browse files- Model-Demo-ProTrek-35M.zip +3 -0
- README.md +52 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- metadata.json +4 -0
    	
        Model-Demo-ProTrek-35M.zip
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:bc5e25c3ae0cd4a0dec877a7fdcc41343760d17f860170c3aa051b8199b628a3
         | 
| 3 | 
            +
            size 3952711
         | 
    	
        README.md
    ADDED
    
    | @@ -0,0 +1,52 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 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-ProTrek-35M
         | 
| 13 | 
            +
            ## Base model
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            [ProTrekHub/Protein_Encoder_35M](https://huggingface.co/ProTrekHub/Protein_Encoder_35M)
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            ## Task description
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            The task is to predict the protein solubility.
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            ## Label meaning
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            Label 1 - soluble
         | 
| 24 | 
            +
            Lable 0 - unsoluble
         | 
| 25 | 
            +
             | 
| 26 | 
            +
             | 
| 27 | 
            +
             | 
| 28 | 
            +
            ## Task type
         | 
| 29 | 
            +
            Protein-level Classification
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            ## Model input type
         | 
| 32 | 
            +
            AA Sequence
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            ## LoRA config
         | 
| 35 | 
            +
             | 
| 36 | 
            +
            - **r:** 8
         | 
| 37 | 
            +
            - **lora_dropout:** 0.0
         | 
| 38 | 
            +
            - **lora_alpha:** 16
         | 
| 39 | 
            +
            - **target_modules:** ['value', 'intermediate.dense', 'query', 'output.dense', 'key']
         | 
| 40 | 
            +
            - **modules_to_save:** ['classifier']
         | 
| 41 | 
            +
             | 
| 42 | 
            +
            ## Training config
         | 
| 43 | 
            +
             | 
| 44 | 
            +
            - **optimizer:**
         | 
| 45 | 
            +
              - **class:** AdamW
         | 
| 46 | 
            +
              - **betas:** (0.9, 0.98)
         | 
| 47 | 
            +
              - **weight_decay:** 0.01
         | 
| 48 | 
            +
            - **learning rate:** 0.0005
         | 
| 49 | 
            +
            - **epoch:** 5
         | 
| 50 | 
            +
            - **batch size:** 1
         | 
| 51 | 
            +
            - **precision:** 16-mixed 
         | 
| 52 | 
            +
             | 
    	
        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 | 
            +
                "value",
         | 
| 26 | 
            +
                "intermediate.dense",
         | 
| 27 | 
            +
                "query",
         | 
| 28 | 
            +
                "output.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:6fe056a85c468d0eef54a06474f7b8661befc4ec2d082288be5f69f200c2f136
         | 
| 3 | 
            +
            size 4265400
         | 
    	
        metadata.json
    ADDED
    
    | @@ -0,0 +1,4 @@ | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
                "training_task_type": "Protein-level Classification",
         | 
| 3 | 
            +
                "training_data_type": "AA"
         | 
| 4 | 
            +
            }
         |