Instructions to use glif-loradex-trainer/scrillax_PFP_Meme_Bot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use glif-loradex-trainer/scrillax_PFP_Meme_Bot with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("glif-loradex-trainer/scrillax_PFP_Meme_Bot") prompt = "wounded centaur, mythical creature PFP" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload folder using huggingface_hub
Browse files- PFP_Meme_Bot.safetensors +3 -0
- PFP_Meme_Bot_000000500.safetensors +3 -0
- PFP_Meme_Bot_000001000.safetensors +3 -0
- README.md +40 -0
- config.yaml +69 -0
- samples/1736426234097__000000000_0.jpg +0 -0
- samples/1736426257989__000000000_1.jpg +0 -0
- samples/1736426281824__000000000_2.jpg +0 -0
- samples/1736427203243__000000500_0.jpg +0 -0
- samples/1736427227251__000000500_1.jpg +0 -0
- samples/1736427251228__000000500_2.jpg +0 -0
- samples/1736428175701__000001000_0.jpg +0 -0
- samples/1736428199685__000001000_1.jpg +0 -0
- samples/1736428223597__000001000_2.jpg +0 -0
- samples/1736429142550__000001500_0.jpg +0 -0
- samples/1736429166485__000001500_1.jpg +0 -0
- samples/1736429190394__000001500_2.jpg +0 -0
PFP_Meme_Bot.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e184057d2351b0c937aa3d0d072e711869faa93ac7d3b7e4f522d35da18e2d3b
|
| 3 |
+
size 451202696
|
PFP_Meme_Bot_000000500.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03d192db70d3f75cf9a1604dcc78eb9d8c3ba7c0a82d7a87782c00f607657293
|
| 3 |
+
size 451202696
|
PFP_Meme_Bot_000001000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:301fe8bb35ac401a3a98bd00d6375f5bab21d67195862d6ae1c296e1916d1be7
|
| 3 |
+
size 451202696
|
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- diffusers
|
| 4 |
+
- text-to-image
|
| 5 |
+
- template:sd-lora
|
| 6 |
+
- base_model:black-forest-labs/FLUX.1-dev
|
| 7 |
+
- base_model:finetune:black-forest-labs/FLUX.1-dev
|
| 8 |
+
- license:other
|
| 9 |
+
- region:us
|
| 10 |
+
- flux
|
| 11 |
+
- lora
|
| 12 |
+
widget:
|
| 13 |
+
- output:
|
| 14 |
+
url: samples/1736429142550__000001500_0.jpg
|
| 15 |
+
text: wounded centaur, mythical creature PFP
|
| 16 |
+
- output:
|
| 17 |
+
url: samples/1736429166485__000001500_1.jpg
|
| 18 |
+
text: goofy profile picture PFP
|
| 19 |
+
- output:
|
| 20 |
+
url: samples/1736429190394__000001500_2.jpg
|
| 21 |
+
text: cartoon style profile picture of a slimey character PFP
|
| 22 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 23 |
+
trigger: "PFP"
|
| 24 |
+
instance_prompt: "PFP"
|
| 25 |
+
license: other
|
| 26 |
+
license_name: flux-1-dev-non-commercial-license
|
| 27 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 28 |
+
---
|
| 29 |
+
# PFP_Meme_Bot
|
| 30 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) under the [Glif Loradex program](https://huggingface.co/glif-loradex-trainer) by [Glif](https://glif.app) user `scrillax`.
|
| 31 |
+
<Gallery />
|
| 32 |
+
## Trigger words
|
| 33 |
+
You should use `PFP` to trigger the image generation.
|
| 34 |
+
## Download model
|
| 35 |
+
Weights for this model are available in Safetensors format.
|
| 36 |
+
[Download](/glif-loradex-trainer/scrillax_PFP_Meme_Bot/tree/main) them in the Files & versions tab.
|
| 37 |
+
|
| 38 |
+
## License
|
| 39 |
+
This model is licensed under the [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
|
| 40 |
+
|
config.yaml
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
config:
|
| 2 |
+
name: PFP_Meme_Bot
|
| 3 |
+
process:
|
| 4 |
+
- datasets:
|
| 5 |
+
- cache_latents_to_disk: true
|
| 6 |
+
caption_dropout_rate: 0.2
|
| 7 |
+
caption_ext: txt
|
| 8 |
+
folder_path: /root/lorahub/PFP_Meme_Bot/dataset
|
| 9 |
+
resolution:
|
| 10 |
+
- 512
|
| 11 |
+
- 768
|
| 12 |
+
- 1024
|
| 13 |
+
shuffle_tokens: false
|
| 14 |
+
token_dropout_rate: 0.01
|
| 15 |
+
device: cuda:0
|
| 16 |
+
model:
|
| 17 |
+
is_flux: true
|
| 18 |
+
name_or_path: black-forest-labs/FLUX.1-dev
|
| 19 |
+
quantize: true
|
| 20 |
+
text_encoder_bits: 8
|
| 21 |
+
network:
|
| 22 |
+
linear: 42
|
| 23 |
+
linear_alpha: 42
|
| 24 |
+
transformer_only: true
|
| 25 |
+
type: lora
|
| 26 |
+
performance_log_every: 500
|
| 27 |
+
sample:
|
| 28 |
+
guidance_scale: 3.5
|
| 29 |
+
height: 1024
|
| 30 |
+
neg: ''
|
| 31 |
+
prompts:
|
| 32 |
+
- wounded centaur, mythical creature [trigger]
|
| 33 |
+
- goofy profile picture [trigger]
|
| 34 |
+
- cartoon style profile picture of a slimey character [trigger]
|
| 35 |
+
sample_every: 500
|
| 36 |
+
sample_steps: 25
|
| 37 |
+
sampler: flowmatch
|
| 38 |
+
seed: 42
|
| 39 |
+
walk_seed: true
|
| 40 |
+
width: 1024
|
| 41 |
+
save:
|
| 42 |
+
dtype: float16
|
| 43 |
+
max_step_saves_to_keep: 3
|
| 44 |
+
save_every: 500
|
| 45 |
+
save_format: diffusers
|
| 46 |
+
train:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
dtype: bf16
|
| 49 |
+
ema_config:
|
| 50 |
+
ema_decay: 0.99
|
| 51 |
+
use_ema: true
|
| 52 |
+
gradient_accumulation_steps: 1
|
| 53 |
+
gradient_checkpointing: true
|
| 54 |
+
linear_timesteps: true
|
| 55 |
+
loss_type: mse
|
| 56 |
+
lr: 0.0002
|
| 57 |
+
noise_scheduler: flowmatch
|
| 58 |
+
optimizer: adamw8bit
|
| 59 |
+
reg_weight: 1.0
|
| 60 |
+
steps: 1500
|
| 61 |
+
target_noise_multiplier: 1.0
|
| 62 |
+
train_text_encoder: false
|
| 63 |
+
train_unet: true
|
| 64 |
+
training_folder: /root/lorahub
|
| 65 |
+
trigger_word: PFP
|
| 66 |
+
type: sd_trainer
|
| 67 |
+
job: extension
|
| 68 |
+
meta:
|
| 69 |
+
description: ''
|
samples/1736426234097__000000000_0.jpg
ADDED
|
samples/1736426257989__000000000_1.jpg
ADDED
|
samples/1736426281824__000000000_2.jpg
ADDED
|
samples/1736427203243__000000500_0.jpg
ADDED
|
samples/1736427227251__000000500_1.jpg
ADDED
|
samples/1736427251228__000000500_2.jpg
ADDED
|
samples/1736428175701__000001000_0.jpg
ADDED
|
samples/1736428199685__000001000_1.jpg
ADDED
|
samples/1736428223597__000001000_2.jpg
ADDED
|
samples/1736429142550__000001500_0.jpg
ADDED
|
samples/1736429166485__000001500_1.jpg
ADDED
|
samples/1736429190394__000001500_2.jpg
ADDED
|