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

phi-lab-rice
/
GRADE

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use phi-lab-rice/GRADE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use phi-lab-rice/GRADE with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("phi-lab-rice/GRADE", 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
GRADE / evaluation
116 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Bin-0815's picture
Bin-0815
Release all GRADE models, checkpoints, and reviewed evaluation code
0e150d6 verified about 24 hours ago
  • reference_results
    Release all GRADE models, checkpoints, and reviewed evaluation code about 24 hours ago
  • utils
    Release all GRADE models, checkpoints, and reviewed evaluation code about 24 hours ago
  • model_registry.py
    8.92 kB
    Release all GRADE models, checkpoints, and reviewed evaluation code about 24 hours ago
  • reproduce_paper.py
    179 kB
    Release all GRADE models, checkpoints, and reviewed evaluation code about 24 hours ago
  • run_inference.py
    11.6 kB
    Release all GRADE models, checkpoints, and reviewed evaluation code about 24 hours ago
  • run_metrics.py
    6.77 kB
    Release all GRADE models, checkpoints, and reviewed evaluation code about 24 hours ago
  • smoke_test_inference.py
    14.9 kB
    Release all GRADE models, checkpoints, and reviewed evaluation code about 24 hours ago
  • test_review_fixes.py
    1.1 kB
    Release all GRADE models, checkpoints, and reviewed evaluation code about 24 hours ago