Feature Extraction
PEFT
Safetensors
Transformers
proteins
molecules
bioinformatics
drug-discovery
lora
Run this model with HF Jobs
Run SaeedLab/BindScreen-lora-LIT_PCBA on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/SaeedLab/BindScreen-lora-LIT_PCBA. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/SaeedLab/BindScreen-lora-LIT_PCBA on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use SaeedLab/BindScreen-lora-LIT_PCBA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SaeedLab/BindScreen-lora-LIT_PCBA with PEFT:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("facebook/esm2_t36_3B_UR50D") model = PeftModel.from_pretrained(base_model, "SaeedLab/BindScreen-lora-LIT_PCBA") - Transformers
How to use SaeedLab/BindScreen-lora-LIT_PCBA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="SaeedLab/BindScreen-lora-LIT_PCBA")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SaeedLab/BindScreen-lora-LIT_PCBA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files12345677 unmodified lines1516171819202122232425262728293031323334353637387 unmodified lines46474849505152---license: cc-by-nc-nd-4.0datasets:- SaeedLab/SeqScreentags:- proteins- molecules7 unmodified lineslibrary_name: peft---# SeqScreen - ESM2 LoRA AdapterThis repository contains the LoRA adapter weights for the protein encoder used in SeqScreen, trained on filtered ChEMBL. SeqScreen is a sequence-based virtual screening method built on a dual-encoder contrastive architecture. The adapter fine-tunes [ESM2 T36](https://huggingface.co/facebook/esm2_t36_3B_UR50D) on protein-molecule interaction task.The projection layers are available separately at [SaeedLab/SeqScreen-Finetuning](https://huggingface.co/SaeedLab/SeqScreen-Finetuning), which also contains the full model description, architecture diagram, and usage examples.\[[Github Repo](https://github.com/pcdslab/SeqScreen)\] | \[[Dataset on HuggingFace](https://huggingface.co/datasets/SaeedLab/SeqScreen)\] | \[[Model Collection](https://huggingface.co/collections/SaeedLab/seqscreen)\] | \[[Cite](#citation)\]## AbstractVirtual screening aims to identify candidate molecules that bind to a target protein, playing a central role in computational drug discovery. Sequence-based deep learning methods offer an applicable alternative to structure-based approaches, but typically process one protein-molecule pair at a time, limiting their scalability to large molecular libraries. Contrastive learning methods inspired by CLIP have shown promise for learning joint protein-molecule representations, but standard CLIP training was designed for symmetric tasks and does not account for the asymmetric and one-to-many nature of protein-molecule binding. In this paper, we introduce *SeqScreen*, a sequence-based virtual screening method built on a dual-encoder contrastive architecture. SeqScreen introduces a protein-centric batch construction strategy and an asymmetric multi-positive InfoNCE loss to cope with the protein-centric nature of virtual screening. We conduct a systematic evaluation across 8 protein language models and 3 molecular language model variants. The protein-centric batch construction consistently outperforms standard CLIP training across all evaluated encoders, while requiring approximately 32 times fewer training epochs and 7 times fewer forward passes during inference compared to pair-based methods. On the LIT-PCBA dataset, SeqScreen outperforms all sequence-based baselines, achieving a relative improvement of up to 39% in EF at 0.5 over the best competing method, while remaining competitive with traditional docking approaches without requiring 3D structural information.## Model DetailsThis adapter corresponds to the **SeqScreen-Finetuning** configuration, in which ESM2 T36 is fine-tuned via LoRA alongside the projection layers. Two configurations are available in this collection:- [SeqScreen-Frozen](https://huggingface.co/SaeedLab/SeqScreen-Frozen): only the projection layers are trained, both encoders are frozen.- [SeqScreen-Finetuning](https://huggingface.co/SaeedLab/SeqScreen-Finetuning): the projection layers and ESM2 T36 are trained via LoRA, MolDeBERTa MLC is frozen.| Field | Value ||---|---|7 unmodified lines## UsageThis adapter must be used together with [SaeedLab/SeqScreen-Finetuning](https://huggingface.co/SaeedLab/SeqScreen-Finetuning), which provides the projection layers. The full usage example, including molecule encoding and similarity computation, is available in that repository.### Dependencies12345677 unmodified lines1516171819202122232425262728293031323334353637387 unmodified lines46474849505152---license: cc-by-nc-nd-4.0datasets:- SaeedLab/BindScreentags:- proteins- molecules7 unmodified lineslibrary_name: peft---# BindScreen - ESM2 LoRA AdapterThis repository contains the LoRA adapter weights for the protein encoder used in BindScreen, trained on filtered ChEMBL. BindScreen is a sequence-based virtual screening method built on a dual-encoder contrastive architecture. The adapter fine-tunes [ESM2 T36](https://huggingface.co/facebook/esm2_t36_3B_UR50D) on protein-molecule interaction task.The projection layers are available separately at [SaeedLab/BindScreen-Finetuning](https://huggingface.co/SaeedLab/BindScreen-Finetuning), which also contains the full model description, architecture diagram, and usage examples.\[[Github Repo](https://github.com/pcdslab/BindScreen)\] | \[[Dataset on HuggingFace](https://huggingface.co/datasets/SaeedLab/BindScreen)\] | \[[Model Collection](https://huggingface.co/collections/SaeedLab/bindscreen)\] | \[[Cite](#citation)\]## AbstractVirtual screening aims to identify candidate molecules that bind to a target protein, playing a central role in computational drug discovery. Sequence-based deep learning methods offer a more broadly applicable alternative to structure-based approaches, since they do not require 3D structural information. However, they typically require a separate forward pass per protein-molecule pair, limiting their scalability to large molecular libraries. Contrastive learning methods inspired by CLIP address this by encoding proteins and molecules independently, allowing similarity analysis via simple comparisons rather than a forward pass per pair. However, standard CLIP training was designed for symmetric tasks and does not account for the asymmetric and one-to-many nature of protein-molecule binding. In this paper, we introduce *BindScreen*, a sequence-based virtual screening method built on a dual-encoder contrastive architecture. BindScreen introduces a protein-centric batch construction strategy and an asymmetric multi-positive InfoNCE loss to cope with the protein-centric nature of virtual screening. We conducted a systematic evaluation of 8 protein language models and 3 molecular language model variants against BindScreen. The proposed protein-centric batch construction consistently outperforms standard CLIP training across all evaluated encoders while substantially improving computational efficiency, reducing training cost by up to 32 times. In addition, our experiments demonstrate that BindScreen requires 7 times fewer inference computations than pairwise virtual screening approaches. On the LIT-PCBA dataset, BindScreen outperforms all sequence-based baselines, achieving a relative improvement of up to 39% in EF at 0.5 over the best competing method, while remaining competitive with traditional docking approaches without requiring 3D structural information.## Model DetailsThis adapter corresponds to the **BindScreen-Finetuning** configuration, in which ESM2 T36 is fine-tuned via LoRA alongside the projection layers. Two configurations are available in this collection:- [BindScreen-Frozen](https://huggingface.co/SaeedLab/BindScreen-Frozen): only the projection layers are trained, both encoders are frozen.- [BindScreen-Finetuning](https://huggingface.co/SaeedLab/BindScreen-Finetuning): the projection layers and ESM2 T36 are trained via LoRA, MolDeBERTa MLC is frozen.| Field | Value ||---|---|7 unmodified lines## UsageThis adapter must be used together with [SaeedLab/BindScreen-Finetuning](https://huggingface.co/SaeedLab/BindScreen-Finetuning), which provides the projection layers. The full usage example, including molecule encoding and similarity computation, is available in that repository.### Dependencies
README.md+10-10