Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

UniParser
/
UniEM-Gen

Text-to-Image
Diffusers
Safetensors
StableDiffusionXLPipeline
materials
microstructure
electron_micrograph
characterization
scientific_figure_understanding
Model card Files Files and versions
xet
Community

Instructions to use UniParser/UniEM-Gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use UniParser/UniEM-Gen with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("UniParser/UniEM-Gen", 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
  • Local Apps
  • Draw Things
  • DiffusionBee
UniEM-Gen
6.95 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 19 commits
NNNan's picture
NNNan
Update README.md
9da470d verified 8 months ago
  • examples
    Upload figure1.png 9 months ago
  • scheduler
    Upload model 9 months ago
  • text_encoder
    Upload model 9 months ago
  • text_encoder_2
    Upload model 9 months ago
  • tokenizer
    Upload model 9 months ago
  • tokenizer_2
    Upload model 9 months ago
  • unet
    Upload model 9 months ago
  • vae
    Upload model 9 months ago
  • .gitattributes
    1.63 kB
    Upload figure2.png 9 months ago
  • README.md
    3.43 kB
    Update README.md 8 months ago
  • attribute_values.json
    101 kB
    Upload attribute_values.json 9 months ago
  • model_index.json
    781 Bytes
    Upload model 9 months ago