Diffusers
Safetensors
English
RFD4ProteinaPipeline
biology
protein-design
biomolecular-design
structure-generation
flow-matching
annotated-cif
Run this model with HF Jobs
Run nvidia/RFD4-Proteina-Diffusers 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/nvidia/RFD4-Proteina-Diffusers. 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/nvidia/RFD4-Proteina-Diffusers 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 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
Model card: parameter count, fine-tuning note
Browse files49 unmodified lines505152535455565749 unmodified lines| **Pipeline** | `RFD4ProteinaPipeline`: `transformer` + `vae` + `scheduler` || **Inputs** | Annotated CIF structures, prepared with [`rfd4-proteina-prep`](https://huggingface.co/nvidia/RFD4-Proteina-prep) || **Outputs** | Atom37 coordinates and residue identities, written back to annotated CIF || **Weights** | EMA weights, 434.3 million parameters, stored in FP32 (1.74 GB); runs in BF16 || **Sampler** | Released `thinking_medium` recipe: 60 steps, 180 trunk passes || **Runtime** | `diffusers` and `rfd4-proteina-prep`; Python 3.11 or newer; a CUDA GPU is recommended || **License** | [BSD 3-Clause](LICENSE) for the RFD4 model and weights |49 unmodified lines50515253545556575849 unmodified lines| **Pipeline** | `RFD4ProteinaPipeline`: `transformer` + `vae` + `scheduler` || **Inputs** | Annotated CIF structures, prepared with [`rfd4-proteina-prep`](https://huggingface.co/nvidia/RFD4-Proteina-prep) || **Outputs** | Atom37 coordinates and residue identities, written back to annotated CIF || **Weights** | EMA weights, 435.6 million parameters, stored in FP32 (1.74 GB); runs in BF16 || **Sampler** | Released `thinking_medium` recipe: 60 steps, 180 trunk passes || **Fine-tuning** | The release is a LoRA fine-tune of the pretrained base, merged into these weights. The base and the adapter (Diffusers LoRA format, `lora/`) are on the `pretrain-base` branch. || **Runtime** | `diffusers` and `rfd4-proteina-prep`; Python 3.11 or newer; a CUDA GPU is recommended || **License** | [BSD 3-Clause](LICENSE) for the RFD4 model and weights |
README.md+2-1