CoolFace
Modelpublic

jerrythechicken1/diffusion-model-math

sourceHugging Faceotherupdated 2y agoView on Hugging Face
1likes21downloads
Model Card

diffusion-model-math

Model trained with AI Toolkit by Ostris <Gallery />

Trigger words

No trigger words defined.

Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Use it with the 🧨 diffusers library

py
from diffusers import AutoPipelineForText2Image
import torch

pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('jerrythechicken1/diffusion-model-math', weight_name='diffusion-model-math.safetensors')
image = pipeline('4 + 1').images[0]
image.save("my_image.png")

For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers