Linear77's picture
Update README.md
56ba2b2 verified
|
raw
history blame
4.39 kB
metadata
tags:
  - text-to-image
  - lora
  - diffusers
  - template:diffusion-lora
  - flux
  - nft
  - pfp
  - art
  - cartoon
widget:
  - text: >-
      YellowGang, A front-facing view of the character from image_0.png wearing
      a back-turned black snapback cap, a red basketball jersey with "1" and
      "YellowGang" logo, gold chains, and holding a small basketball, solid blue
      background.
    output:
      url: >-
        https://cdn-uploads.huggingface.co/production/uploads/no-id/placeholder-yellowgang-default.png
  - text: >-
      YellowGang, A character from image_0.png wearing a futuristic cyborg
      motorcycle helmet with a glowing red LED visor, an astronaut suit with the
      "YellowGang" patch, and a starry cosmic background.
    output:
      url: >-
        https://cdn-uploads.huggingface.co/production/uploads/no-id/placeholder-yellowgang-cyborg.png
  - text: >-
      YellowGang, The yellow character from image_0.png clean-shaven (bald),
      wearing a classic black and white zebra bandana, sleek black aviator
      sunglasses, and a pink Japanese Kimono with the "YellowGang" logo.
    output:
      url: >-
        https://cdn-uploads.huggingface.co/production/uploads/no-id/placeholder-yellowgang-kimono.png
  - text: >-
      YellowGang, A close-up portrait of the character from image_0.png with
      large over-ear DJ headphones, angry red eyes, a spiked leather choker
      collar, and a blue streetwear hoodie with the "YellowGang" logo, dark city
      background.
    output:
      url: >-
        https://cdn-uploads.huggingface.co/production/uploads/no-id/placeholder-yellowgang-punk.png
  - text: >-
      YellowGang, A character from image_0.png with neon green spike hair, "X"
      dead-style eyes, a tattered military uniform, and a zombie-groan mouth
      expression.
    output:
      url: >-
        https://cdn-uploads.huggingface.co/production/uploads/no-id/placeholder-yellowgang-zombie.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: YellowGang
license: creativeml-openrail-m

yellowgang_banner.png

Prompt
NFT ++, An eye-level view of a glass milk carton with the words "prithivml" written on it in black letters. The carton is filled with a few dark gray clouds, and there is a white barcode on the left side of the carton. The background is a light blue color.
Prompt
NFT++, A quirky cartoon depiction of a glass cube labeled "prithivmods" in bold white letters. The container is filled with tiny, glowing Polaroid photos floating in a transparent blue liquid. Each photo features a different miniature scene, such as sunsets and faces. A barcode wraps around the bottom left corner of the cube. The background is a gradient of pink and orange, evoking nostalgia.
Prompt
NFT++, A detailed cartoon drawing of glass cube labeled "hf.co" in bold white letters. Inside, a shimmering liquid with hues of blue, purple, and silver flows, dotted with tiny glowing particles resembling stars. A barcode is seamlessly integrated into the container’s sleek design on the back. The background is a midnight blue gradient, adding a celestial feel
Prompt
NFT ++, Captured on a light pink background, a cartoon drawing of a glass container with the word "prithiv-hf" written on it in black letters. The container is filled with a clear liquid, and there are brown bandages inside of the container. There is a barcode on the left side of the box, and a white bar code on the right side. The background is a solid pink.
Prompt
NFT ++, a black and white drawing of a black swan in a glass container. The container is shaped like a hexagon, with a black handle on the right side. The swan is swimming in the water, its head facing towards the left side of the container, its beak slightly open. The water in the container is a dark blue, with white splashes on it. Above the swan, the words "prithiv-hf" are written in bold black letters. The background is a light blue, and the text "prithiv-hf" is written in a bold black font.
Prompt
NFT ++, a cartoon drawing of a cats face is seen in a clear glass container. The container is filled with a variety of brown objects, including a barcode and the word "prithiv" written in black letters. The background is a stark white, with a light brown border. The cats head is adorned with a red ribbon, adding a pop of color to the scene. The word "imo" is written on the top right corner of the container.

Model description for YellowGang-Generator-LoRA

This LoRA model is a specialized generator for the "YellowGang" collection, based on the signature yellow-skinned character style with bold cartoon outlines, as seen in image_0.png. It is fine-tuned to preserve the character's facial features and proportions while allowing for high-fidelity generation of diverse traits, including various headwear (bandanas, crowns, helmets), eyewear (cyborg, classic, sleepy), outfits (hoodies, jerseys, armor, suits), and neck accessories (chains, chokers, scarfs). The model ensures the "YellowGang" logo is consistently applied to all outfits.

Image Processing Parameters (Used for Training)

Parameter Value Parameter Value
LR Scheduler constant Noise Offset 0.03
Optimizer AdamW Multires Noise Discount 0.1
Network Dim 128 Multires Noise Iterations 10
Network Alpha 64 Repeat & Steps 25 & 3500
Epoch 15 Save Every N Epochs 2
Labeling: florence2-en(natural language & English) with specific trait tagging.

Total Images Used for Training : 20 (Base character + variation set)

Best Dimensions & Inference

Dimensions Aspect Ratio Recommendation
1024 x 1024 1:1 (Square PFP) Best (Default for PFP)
1280 x 832 3:2 Recommended

Inference Range

  • Recommended Inference Steps: 30–35

Setting Up

To use this LoRA in your Diffusers pipeline, ensure you use the YellowGang instance prompt.

import torch
from diffusers import DiffusionPipeline

# Base model on which the LoRA was trained
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)

# The location of the fine-tuned LoRA
lora_repo = "your_username/YellowGang-Generator-LoRA"
pipe.load_lora_weights(lora_repo)

# Trigger word to activate the specific character identity
trigger_word = "YellowGang"  

device = torch.device("cuda")
pipe.to(device)