blog-image-lora-medium

1
by
Nikngr
Image Model
OTHER
New
0 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary

AI model with specialized capabilities.

Code Examples

Quick Startpythonpytorch
import torch
from diffusers import StableDiffusionPipeline

pipe = StableDiffusionPipeline.from_pretrained(
    "runwayml/stable-diffusion-v1-5",
    torch_dtype=torch.float32,
    safety_checker=None
).to("cuda")

pipe.unet.load_attn_procs("Nikngr/blog-image-lora-medium")

prompt = "Artificial Intelligence in Healthcare, data science infographic, professional blog illustration"
image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5).images[0]
image.save("blog_cover.png")
LoRA Configurationjson
{
  "r": 16,
  "lora_alpha": 32,
  "target_modules": ["to_k", "to_q", "to_v", "to_out.0"],
  "lora_dropout": 0.05
}

Deploy This Model

Production-ready deployment in minutes

Together.ai

Instant API access to this model

Fastest API

Production-ready inference API. Start free, scale to millions.

Try Free API

Replicate

One-click model deployment

Easiest Setup

Run models in the cloud with simple API. No DevOps required.

Deploy Now

Disclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.