Instructions to use xpanceo-team/mattergen-formula-e_above_hull with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xpanceo-team/mattergen-formula-e_above_hull with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("xpanceo-team/mattergen-formula-e_above_hull", 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
| { | |
| "_class_name": "ConditionEncoder", | |
| "_crystal_diffusers_version": "0.1.0", | |
| "_diffusers_version": "0.33.1", | |
| "bias_t_emb": 0.001, | |
| "condition": { | |
| "e_above_hull": { | |
| "condition_type": "adapter", | |
| "encoding_type": "sinusoidal", | |
| "scale": true, | |
| "scale_mean": [ | |
| 0.04565476253628731 | |
| ], | |
| "scale_std": [ | |
| 0.02985692210495472 | |
| ] | |
| }, | |
| "formula": { | |
| "condition_type": "adapter", | |
| "encoding_type": "chemical_system", | |
| "input_dim": 100 | |
| } | |
| }, | |
| "condition_dim": 512, | |
| "dropout": 0.1, | |
| "scale_t_emb": 0.001, | |
| "t_emb_dim": 512 | |
| } | |