Feature Extraction
Transformers
Safetensors
seqscreen
proteins
molecules
bioinformatics
drug-discovery
custom_code
Instructions to use SaeedLab/BindScreen-Frozen-LIT_PCBA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SaeedLab/BindScreen-Frozen-LIT_PCBA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="SaeedLab/BindScreen-Frozen-LIT_PCBA", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SaeedLab/BindScreen-Frozen-LIT_PCBA", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download configuration_seqscreen.py from SaeedLab/BindScreen-Frozen-LIT_PCBA: direct link, hf CLI and curl.
- Browser
- Download file 398 Bytes
-
https://huggingface.co/SaeedLab/BindScreen-Frozen-LIT_PCBA/resolve/main/configuration_seqscreen.py
- Command line
-
hf download hf://SaeedLab/BindScreen-Frozen-LIT_PCBA/configuration_seqscreen.py
-
curl -L -o configuration_seqscreen.py https://huggingface.co/SaeedLab/BindScreen-Frozen-LIT_PCBA/resolve/main/configuration_seqscreen.py
398 Bytes
| from transformers import PretrainedConfig | |
| class SeqScreenConfig(PretrainedConfig): | |
| model_type = "seqscreen" | |
| def __init__( | |
| self, | |
| prot_dim: int = 2560, | |
| mol_dim: int = 768, | |
| proj_dim: int = 512, | |
| dropout: float = 0.1, | |
| **kwargs): | |
| super().__init__(**kwargs) | |
| self.prot_dim = prot_dim | |
| self.mol_dim = mol_dim | |
| self.proj_dim = proj_dim | |
| self.dropout = dropout |