Instructions to use YYQ227/TargetP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use YYQ227/TargetP with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("ProTrekHub/Protein_Encoder_35M") model = PeftModel.from_pretrained(base_model, "YYQ227/TargetP") - Notebooks
- Google Colab
- Kaggle
File size: 1,044 Bytes
82826e0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
---
base_model: ProTrekHub/Protein_Encoder_35M
library_name: peft
---
# Model Card for Model-targetP-ProTrek-35M
## Base model
[ProTrekHub/Protein_Encoder_35M](https://huggingface.co/ProTrekHub/Protein_Encoder_35M)
## Task description
Detecting Sequence Signals in Targeting Peptides.It is a protein level classification task specificly sub cellular location prediction.
## Label meaning
noTP 0, SP 1, mTP 2, cTP 3, luTP 4
## Citation
Please consider citing the following work if you find the model useful:
https://github.com/JJAlmagro/TargetP-2.0
## Task type
Protein-level Classification
## Model input type
AA Sequence
## LoRA config
- **r:** 8
- **lora_dropout:** 0.0
- **lora_alpha:** 16
- **target_modules:** ['intermediate.dense', 'query', 'output.dense', 'key', 'value']
- **modules_to_save:** ['classifier']
## Training config
- **optimizer:**
- **class:** AdamW
- **betas:** (0.9, 0.98)
- **weight_decay:** 0.01
- **learning rate:** 0.0005
- **epoch:** 3
- **batch size:** 32
- **precision:** 16-mixed
|