Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

linoyts
/
ideogram4-yarn-art-bf16

Text-to-Image
Diffusers
TensorBoard
diffusers-training
lora
ideogram4
ideogram4-diffusers
template:sd-lora
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use linoyts/ideogram4-yarn-art-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use linoyts/ideogram4-yarn-art-bf16 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Disty0/Ideogram-4-SDNQ-FP8", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("linoyts/ideogram4-yarn-art-bf16")
    
    prompt = "{\"high_level_description\":\"A whimsical yarn-craft illustration of Yoda rendered entirely in knitted and crocheted fiber, mounted inside a round wooden embroidery hoop on a linen backdrop, a soft diffused daylight photograph with 1:1 aspect ratio.\",\"compositional_deconstruction\":{\"background\":\"Neutral pale linen backdrop filling the frame, fine grain texture visible, soft diffused daylight from upper-left casting gentle shadows across the surface, palette dominated by mossy greens, cream, oatmeal browns, and warm wood tones against the pale linen ground.\",\"elements\":[{\"type\":\"obj\",\"desc\":\"Round wooden embroidery hoop framing the entire piece, light birch finish with a small brass tension screw at the bottom edge. The hoop sits flat on the linen backdrop, centered in the frame.\"},{\"type\":\"obj\",\"desc\":\"Yoda's head and shoulders sculpted from soft moss-green yarn, filling roughly 80% of the hoop interior, centered. Large pointed ears with visible stitch texture and tiny pink felt inner-ear patches. Wrinkled forehead formed by gathered cream-colored yarn tufts. Deep-set eyes made from two small black beads set into white felt circles. Long hooked nose crafted from a single rolled cord of darker green yarn. Mouth stitched as a small closed curve in dark thread. Wispy white beard and sideburns made from looped mohair fibers cascading down the chin. Three-dimensional stitch texture reads clearly under the soft directional light.\"},{\"type\":\"obj\",\"desc\":\"Small brown robe collar at the base of Yoda's neck, crocheted in chunky oatmeal-brown yarn with a loose cable-knit pattern, sitting just below the chin within the lower portion of the hoop.\"},{\"type\":\"obj\",\"desc\":\"Scattered loose yarn scraps in moss-green, cream, and oatmeal-brown resting on the linen surface beneath the lower-left edge of the hoop, falling into soft focus.\"},{\"type\":\"obj\",\"desc\":\"A pair of small wooden crochet hooks lying crossed on the linen surface beneath the lower-right edge of the hoop, light wood handles with tapered metal tips, softly out of focus.\"}]}}"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
ideogram4-yarn-art-bf16
2.56 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
linoyts's picture
linoyts HF Staff
End of training
38564fa verified 28 days ago
  • checkpoint-1000
    End of training 28 days ago
  • checkpoint-250
    End of training 28 days ago
  • checkpoint-500
    End of training 28 days ago
  • checkpoint-750
    End of training 28 days ago
  • logs
    End of training 28 days ago
  • val_images
    End of training 28 days ago
  • .gitattributes
    2.84 kB
    End of training 28 days ago
  • README.md
    8.85 kB
    End of training 28 days ago
  • image_0.png
    1.89 MB
    xet
    End of training 28 days ago
  • image_1.png
    1.92 MB
    xet
    End of training 28 days ago
  • pytorch_lora_weights.safetensors
    191 MB
    xet
    End of training 28 days ago