File size: 2,529 Bytes
3b0752f | 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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | ---
license: cc-by-nc-4.0
tags:
- biology
- bioinformatics
- peptide
- anti-aging
- skin
- protein
- protbert
- classification
library_name: pytorch
---
# iASAP-Fuse Weights
Pre-trained weights for **iASAP-Fuse**, a deep-learning model that predicts the
anti-skin-aging activity of peptides by fusing ProtBERT contextual embeddings
with engineered Z-scale physicochemical descriptors.
The companion code, CLI and local web UI are released as the Python package
**`iasapfuse`** on the project's GitHub repository.
## Model summary
- **Task**: binary classification (anti-skin-aging peptide / non anti-skin-aging peptide)
- **Backbone**: [Rostlab/prot_bert](https://huggingface.co/Rostlab/prot_bert) (frozen feature extractor)
- **Head**: fusion network combining ProtBERT [CLS] embeddings + Z-scale descriptors
- **Training**: 10-fold cross-validation, Stochastic Weight Averaging (SWA) per fold
- **Ensemble**: prediction-time average over 10 folds, calibrated with the saved `stats.json`
## Files
```
.
βββ stats.json # ensemble normalisation / threshold metadata
βββ fold_1/
β βββ best_swa.pt # SWA model weights
β βββ metrics_final.json # held-out fold metrics
βββ fold_2/
β βββ best_swa.pt
β βββ metrics_final.json
βββ ...
βββ fold_10/
βββ best_swa.pt
βββ metrics_final.json
```
All `.pt` files are PyTorch state dicts intended to be loaded by
`iasapfuse.inference`.
## How to use
### Option 1 β via the `iasapfuse` CLI (recommended)
```bash
pip install iasapfuse # or install from source
iasapfuse weights download \
--repo-id YudoX/iASAP-Fuse-weights \
--target-dir ./weights
iasapfuse predict examples/predict_sequences.csv --device cpu
```
### Option 2 β via `huggingface_hub`
```python
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="YudoX/iASAP-Fuse-weights",
local_dir="./weights",
allow_patterns=["fold_*/*.pt", "fold_*/*.json", "stats.json"],
)
```
## License
The weights are released under **CC BY-NC 4.0** (AttributionβNonCommercial 4.0
International). Academic and non-commercial research use is permitted with
attribution. Commercial use requires separate permission from the authors.
## Citation
A formal BibTeX entry will be added once the paper is published.
## Disclaimer
These weights are intended for research only. They are **not** validated for
clinical, diagnostic, cosmetic-product or any production use.
|