Feature Extraction
Transformers
PyTorch
Safetensors
Diffusers
SMI-TED
chemistry
foundation models
AI4Science
materials
molecules
transformer
Instructions to use ibm-research/materials.smi-ted with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ibm-research/materials.smi-ted with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ibm-research/materials.smi-ted")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ibm-research/materials.smi-ted", device_map="auto") - Diffusers
How to use ibm-research/materials.smi-ted with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ibm-research/materials.smi-ted", 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
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (58eda00ac475e874d6028d2ba437a610bd5bdb86)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
model_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:747a369bfc6fbcbfe9fa8277d554ec6edadacbaa01ce072eaf2d139fcb34d214
|
| 3 |
+
size 1159784188
|