Downloads · 30 days
7
4% of all-time downloads
jangmin/foodai-pipeline-ko
foodai-pipeline-ko is a text-to-image model from jangmin. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
7
4% of all-time downloads
All-time downloads
186
Public
Parameters
860M
4.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.7 GB · 100%
From the Hugging Face model README
This pipeline was finetuned from CompVis/stable-diffusion-v1-4 with replacement of text encoder Bingsu/my-korean-stable-diffusion-v1-5 on the AI-HUB: 건강관리를 위한 음식 이미지 dataset.
You can use the pipeline like so:
from diffusers import StableDiffusionPipeline
import torch
# Set device
device = (
"mps"
if torch.backends.mps.is_available()
else "cuda"
if torch.cuda.is_available()
else "cpu"
)
torch_dtype = torch.float16 if device == "cuda" else torch.float32
pipeline = StableDiffusionPipeline.from_pretrained("jangmin/foodai-pipeline-ko", torch_dtype=torch_dtype)
pipeline.to(device)
prompt = "짜장면, 정면에서 본 사진, 그릇에 담긴"
image = pipeline(prompt, guidance_scale=8, num_inference_steps=35).images[0]
image
These are the key hyperparameters used during training: