Token Classification
Transformers
PEFT
PyTorch
protein-language-model
protein-annotation
bioinformatics
esm2
Instructions to use Wangwpi/PALM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Wangwpi/PALM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Wangwpi/PALM")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Wangwpi/PALM", device_map="auto") - PEFT
How to use Wangwpi/PALM with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files23 unmodified lines24252627282930313220 unmodified lines535455565758596015 unmodified lines7677787980818223 unmodified linespathogenicity/random_split_fold_3.ptpathogenicity/random_split_fold_4.ptpathogenicity/random_split_fold_5.ptcheckpoint_manifest.json```The annotation checkpoint predicts four residue-level outputs:- domain occurrence: none, one, or multiple;20 unmodified linesannotation = predictor.annotate("MSEQUENCE...")```The checkpoint is downloaded from the private `Wangwpi/PALM` repository;authenticate with `huggingface-cli login` or `HF_TOKEN` before first use.## Pathogenicity heads15 unmodified lines- Cohort filters and transcript aggregation must be reported with benchmarkresults.## Citation and licenseAdd the final paper citation, author list, repository links, and selected modellicense before publishing this model repository.23 unmodified lines242526272829303132333435363738394041424344454620 unmodified lines67686970717273747515 unmodified lines91929394959623 unmodified linespathogenicity/random_split_fold_3.ptpathogenicity/random_split_fold_4.ptpathogenicity/random_split_fold_5.ptinterpro_classes.tsvcheckpoint_manifest.json````interpro_classes.tsv` maps every output class to its InterPro entry:```texthead class_index interpro_id interpro_type namedomain 0 IPR000001 Domain Kringlesite 0 IPR000035 Conserved_site Alkylbase DNA glycosidase, conserved site````class_index` is 0-based and per head: domain indices run 0-17950, and siteindices restart at 0 and run to 1382. The checkpoint itself carries the sameaccession-to-index maps as `ipr2domain` and `ipr2site`; this file adds thehuman-readable names.The annotation checkpoint predicts four residue-level outputs:- domain occurrence: none, one, or multiple;20 unmodified linesannotation = predictor.annotate("MSEQUENCE...")```The checkpoint is downloaded from the[`Wangwpi/PALM`](https://huggingface.co/Wangwpi/PALM) model repository andcached by `huggingface_hub`.## Pathogenicity heads15 unmodified lines- Cohort filters and transcript aggregation must be reported with benchmarkresults.## CitationCitation information will be added when the PALM manuscript is available.
README.md+19-5