Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

nvidia
/
RFD4-Proteina-prep

Diffusers
modular-diffusers
biology
protein-design
annotated-cif
Model card Files Files and versions
xet
Community
1

Instructions to use nvidia/RFD4-Proteina-prep with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use nvidia/RFD4-Proteina-prep 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-prep", 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
RFD4-Proteina-prep / tests
12.2 kB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 4 commits
kdidi99's picture
kdidi99
Claude Opus 5
Document and test RFD4's batching contract for several designs
33517d4 3 days ago
  • test_custom_block.py
    6.79 kB
    Skip the custom-block test when diffusers is absent 3 days ago
  • test_prepare.py
    541 Bytes
    Add the annotated-CIF preparation and export package for the Diffusers RFD4-Proteina pipeline 7 days ago
  • test_write_cif_designs.py
    4.82 kB
    Document and test RFD4's batching contract for several designs 3 days ago