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
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
metrics:
|
| 4 |
- accuracy
|
| 5 |
-
library_name: transformers
|
| 6 |
pipeline_tag: feature-extraction
|
| 7 |
tags:
|
| 8 |
- chemistry
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
metrics:
|
| 4 |
- accuracy
|
|
|
|
| 5 |
pipeline_tag: feature-extraction
|
| 6 |
tags:
|
| 7 |
- chemistry
|