Instructions to use xpanceo-team/mattergen-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xpanceo-team/mattergen-base 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-base", 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": "MatterGenModel", | |
| "_crystal_diffusers_version": "0.1.0", | |
| "_diffusers_version": "0.33.1", | |
| "atom_emb_dim": 512, | |
| "edge_emb_dim": 512, | |
| "edge_emb_with_lattice_angles": true, | |
| "max_atomic_number": 100, | |
| "num_edge_blocks": 5, | |
| "original_lattice_update": true | |
| } | |