Diffusers
Safetensors
English
RFD4ProteinaPipeline
biology
protein-design
biomolecular-design
structure-generation
flow-matching
annotated-cif
Instructions to use nvidia/RFD4-Proteina-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nvidia/RFD4-Proteina-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nvidia/RFD4-Proteina-Diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download examples/examples.json from nvidia/RFD4-Proteina-Diffusers: direct link, hf CLI and curl.
- Browser
- Download file 1.32 kB
-
https://huggingface.co/nvidia/RFD4-Proteina-Diffusers/resolve/main/examples/examples.json
- Command line
-
hf download hf://nvidia/RFD4-Proteina-Diffusers/examples/examples.json
-
curl -L -o examples.json https://huggingface.co/nvidia/RFD4-Proteina-Diffusers/resolve/main/examples/examples.json
1.32 kB
| [ | |
| { | |
| "label": "Protein binder \u00b7 PD-L1", | |
| "file": "protein_binder.cif", | |
| "task": "unconditional", | |
| "id": "protein_binder" | |
| }, | |
| { | |
| "label": "Antibody \u00b7 HER2 CDR H3", | |
| "file": "antibody_design.cif", | |
| "task": "antibody_design", | |
| "id": "antibody_design" | |
| }, | |
| { | |
| "label": "Enzyme \u00b7 catalytic motif", | |
| "file": "enzyme_design.cif", | |
| "task": "enzyme_design", | |
| "id": "enzyme_design" | |
| }, | |
| { | |
| "label": "Inverse folding \u00b7 2KL8", | |
| "file": "inverse_folding.cif", | |
| "task": "inverse_folding", | |
| "id": "inverse_folding" | |
| }, | |
| { | |
| "label": "Motif scaffolding \u00b7 1QJG", | |
| "file": "motif_scaffolding.cif", | |
| "task": "motif_scaffolding", | |
| "id": "motif_scaffolding" | |
| }, | |
| { | |
| "label": "VHH \u00b7 PD-L1 CDRs", | |
| "file": "nanobody.cif", | |
| "task": "antibody_design", | |
| "id": "nanobody" | |
| }, | |
| { | |
| "label": "Partial diffusion \u00b7 2KL8", | |
| "file": "inverse_folding.cif", | |
| "task": "partial_diffusion", | |
| "id": "partial_diffusion" | |
| }, | |
| { | |
| "label": "Small-molecule binder \u00b7 SAM", | |
| "file": "small_molecule_binder.cif", | |
| "task": "small_molecule_binder", | |
| "id": "small_molecule_binder" | |
| }, | |
| { | |
| "label": "Unconditional protein", | |
| "file": "unconditional.cif", | |
| "task": "unconditional", | |
| "id": "unconditional" | |
| } | |
| ] | |