MOBOLAJI / README.md
adedolllapo's picture
initial commit
8a81fd7 verified
metadata
tags:
  - text-to-image
  - stable-diffusion
  - lora
  - diffusers
  - template:sd-lora
widget:
  - text: MOST BEATIFUL GIRL IN THE WORLD AFRICAN FINEST
    parameters:
      negative_prompt: >-
        SHE FELL INLOVE WITH THE PRINCE AND THE KING HAD AN AFAIR WITH HER
        MOTHER LONG TIME AGE, SO THE KING IS HER FATHER AS WELL AS THE PRINCE
    output:
      url: >-
        images/Default_African_Story_YouTube_page_featuring_a_stunning_illust_1.jpg
base_model: stabilityai/stable-diffusion-3-medium
instance_prompt: MOBOLAJI
license: afl-3.0

MOBOLAJI

Prompt
MOST BEATIFUL GIRL IN THE WORLD AFRICAN FINEST
Negative Prompt
SHE FELL INLOVE WITH THE PRINCE AND THE KING HAD AN AFAIR WITH HER MOTHER LONG TIME AGE, SO THE KING IS HER FATHER AS WELL AS THE PRINCE

Model description

from transformers import MOBOLAJI

Define your dataset and dataloader

dataset = YourDataset()

dataloader = DataLoader(dataset, batch_size=32, shuffle=True)

Define optimizer

optimizer = MOBOLAJI Default_African_Story_YouTube_page_featuring_a_stunning_illust_1 (1).jpg (model.parameters(), lr=5e-5)

Fine-tuning loop

model.train() for epoch in range(num_epochs): for batch in dataloader: optimizer.zero_grad() inputs = tokenizer(batch['text'], return_tensors='pt', padding=True, truncation=True) outputs = model(**inputs) loss = compute_loss(outputs, batch['labels']) loss.backward() optimizer.step()

Trigger words

You should use MOBOLAJI to trigger the image generation.

Download model

Download them in the Files & versions tab.