Instructions to use Mike0021/flux-dev-apple-emoji-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Mike0021/flux-dev-apple-emoji-lora 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("Mike0021/flux-dev-apple-emoji-lora") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload trained emoji LoRA
Browse files- .gitattributes +10 -0
- README.md +58 -0
- pytorch_lora_weights.safetensors +3 -0
- samples/01-emj-icon-of-a-pelican-with-a-hat-centered-on-a-plain-white-background.png +3 -0
- samples/02-emj-icon-of-a-robot-with-a-monocle-centered-on-a-plain-white-background.png +3 -0
- samples/03-emj-icon-of-a-cat-with-sunglasses-centered-on-a-plain-white-background.png +3 -0
- samples/04-emj-icon-of-a-giraffe-with-a-scarf-centered-on-a-plain-white-background.png +3 -0
- samples/05-emj-icon-of-a-panda-with-a-wizard-hat-centered-on-a-plain-white-background.png +3 -0
- samples/06-emj-icon-of-a-red-apple-centered-on-a-plain-white-background.png +3 -0
- samples/07-emj-icon-of-a-rocket-centered-on-a-plain-white-background.png +3 -0
- samples/08-emj-icon-of-a-birthday-cake-centered-on-a-plain-white-background.png +3 -0
- samples/09-emj-icon-of-a-soccer-ball-centered-on-a-plain-white-background.png +3 -0
- samples/avatar-comparison-sheet.png +3 -0
- training.log +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
samples/01-emj-icon-of-a-pelican-with-a-hat-centered-on-a-plain-white-background.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
samples/02-emj-icon-of-a-robot-with-a-monocle-centered-on-a-plain-white-background.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
samples/03-emj-icon-of-a-cat-with-sunglasses-centered-on-a-plain-white-background.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
samples/04-emj-icon-of-a-giraffe-with-a-scarf-centered-on-a-plain-white-background.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
samples/05-emj-icon-of-a-panda-with-a-wizard-hat-centered-on-a-plain-white-background.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
samples/06-emj-icon-of-a-red-apple-centered-on-a-plain-white-background.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
samples/07-emj-icon-of-a-rocket-centered-on-a-plain-white-background.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
samples/08-emj-icon-of-a-birthday-cake-centered-on-a-plain-white-background.png filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
samples/09-emj-icon-of-a-soccer-ball-centered-on-a-plain-white-background.png filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
samples/avatar-comparison-sheet.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 4 |
+
tags:
|
| 5 |
+
- text-to-image
|
| 6 |
+
- diffusers
|
| 7 |
+
- lora
|
| 8 |
+
- flux
|
| 9 |
+
- emoji
|
| 10 |
+
- avatar
|
| 11 |
+
- apple-style
|
| 12 |
+
library_name: diffusers
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Mike0021/flux-dev-apple-emoji-lora
|
| 16 |
+
|
| 17 |
+
This repository contains LoRA weights for generating clean, centered Apple-style emoji avatars with `emj icon` as the trigger phrase.
|
| 18 |
+
|
| 19 |
+
The LoRA was trained for research and experimentation on Apple-style emoji assets. It is not affiliated with, endorsed by, or sponsored by Apple. The raw Apple emoji training images are not included in this repository.
|
| 20 |
+
|
| 21 |
+
## Usage
|
| 22 |
+
|
| 23 |
+
```python
|
| 24 |
+
import torch
|
| 25 |
+
from diffusers import FluxPipeline
|
| 26 |
+
|
| 27 |
+
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
| 28 |
+
pipe.load_lora_weights("Mike0021/flux-dev-apple-emoji-lora", weight_name="pytorch_lora_weights.safetensors")
|
| 29 |
+
pipe.enable_model_cpu_offload()
|
| 30 |
+
|
| 31 |
+
image = pipe(
|
| 32 |
+
"emj icon of a smiling dragon, centered on a plain white background",
|
| 33 |
+
height=1024,
|
| 34 |
+
width=1024,
|
| 35 |
+
num_inference_steps=30,
|
| 36 |
+
guidance_scale=4.0,
|
| 37 |
+
).images[0]
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
## Training Summary
|
| 41 |
+
|
| 42 |
+
- Base model: `black-forest-labs/FLUX.1-dev`
|
| 43 |
+
- Trigger phrase: `emj icon`
|
| 44 |
+
- Dataset: 220 curated Apple emoji image/caption pairs prepared from `iamcal/emoji-data`
|
| 45 |
+
- Training images are RGB 512x512 composites on a plain white background
|
| 46 |
+
- Captions were metadata-derived per-image captions with the shared `emj` style trigger
|
| 47 |
+
|
| 48 |
+
## Samples
|
| 49 |
+
|
| 50 |
+
The comparison sheet uses avatar-style prompts from the target Hub avatar generator prompt distribution. The right column is `fofr/sdxl-emoji` rendered with the same subject prompts where feasible.
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+
## Limitations
|
| 55 |
+
|
| 56 |
+
- This model is intended for research and experimentation.
|
| 57 |
+
- Apple emoji source assets are Apple IP; review the relevant terms before using derivatives commercially.
|
| 58 |
+
- The model may reproduce Apple-like visual conventions and should not be presented as an official Apple model.
|
pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75e68527371506e8a7d5716f279f7a089eae6302ef6dd19870d89eb5191ac491
|
| 3 |
+
size 179401024
|
samples/01-emj-icon-of-a-pelican-with-a-hat-centered-on-a-plain-white-background.png
ADDED
|
|
Git LFS Details
|
samples/02-emj-icon-of-a-robot-with-a-monocle-centered-on-a-plain-white-background.png
ADDED
|
|
Git LFS Details
|
samples/03-emj-icon-of-a-cat-with-sunglasses-centered-on-a-plain-white-background.png
ADDED
|
|
Git LFS Details
|
samples/04-emj-icon-of-a-giraffe-with-a-scarf-centered-on-a-plain-white-background.png
ADDED
|
|
Git LFS Details
|
samples/05-emj-icon-of-a-panda-with-a-wizard-hat-centered-on-a-plain-white-background.png
ADDED
|
|
Git LFS Details
|
samples/06-emj-icon-of-a-red-apple-centered-on-a-plain-white-background.png
ADDED
|
|
Git LFS Details
|
samples/07-emj-icon-of-a-rocket-centered-on-a-plain-white-background.png
ADDED
|
|
Git LFS Details
|
samples/08-emj-icon-of-a-birthday-cake-centered-on-a-plain-white-background.png
ADDED
|
|
Git LFS Details
|
samples/09-emj-icon-of-a-soccer-ball-centered-on-a-plain-white-background.png
ADDED
|
|
Git LFS Details
|
samples/avatar-comparison-sheet.png
ADDED
|
|
Git LFS Details
|
training.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|