Instructions to use Barathrum17/mateo2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Barathrum17/mateo2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Barathrum17/mateo2") prompt = "zccz" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - output: | |
| url: images/m4t3o_013.png | |
| text: zccz | |
| parameters: | |
| negative_prompt: zczc | |
| base_model: Tongyi-MAI/Z-Image-Turbo | |
| instance_prompt: m4t3o | |
| license: mit | |
| # safs | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `m4t3o` to trigger the image generation. | |
| ## Download model | |
| [Download](/Barathrum17/mateo2/tree/main) them in the Files & versions tab. | |