Instructions to use mikelola/modelTFM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mikelola/modelTFM with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mikelola/modelTFM", 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
- 12.5 kB xet
- 15 kB xet
- 25.1 kB xet
- 50.5 kB xet
- 75.9 kB xet
- 2.56 kB xet
- 15 kB xet
- 68.3 kB xet
- 53 kB xet
- 1.32 kB xet
- 6.28 kB xet
- 12.5 kB xet
- 34 kB xet
- 37.8 kB xet
- 127 kB xet
- 127 kB xet
- 254 kB xet
- 381 kB xet
- 133 kB xet
- 133 kB xet
- 133 kB xet
- 4.05 MB xet
- 53 kB xet
- 53 kB xet
- 53 kB xet
- 53 kB xet
- 53 kB xet
- 53 kB xet
- 53 kB xet
- 53 kB xet
- 53 kB xet
- 53 kB xet
- 4.05 MB xet