Instructions to use itsmohit/jewel-model-overfit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use itsmohit/jewel-model-overfit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("itsmohit/jewel-model-overfit", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
jewel-model-overfit
A full fine-tune of the FLUX.2 [klein] base 4B transformer for image-to-image jewellery retouching. It was deliberately overfit on the 12-pair jewel-overfit-dataset for 5000 steps (final loss โ 0.095, lr 1e-5).
Only the transformer is included here. Load the VAE, text encoder and scheduler from the base model.
- Prompt:
studio-retouch the jewellery - Weights:
transformer/diffusion_pytorch_model.safetensors(bf16, ~7.7 GB)
import torch
from diffusers import Flux2Transformer2DModel
transformer = Flux2Transformer2DModel.from_pretrained(
"itsmohit/jewel-model-overfit", subfolder="transformer", torch_dtype=torch.bfloat16
)
License: follows the FLUX.2 [klein] base 4B license.
- Downloads last month
- -
Model tree for itsmohit/jewel-model-overfit
Base model
black-forest-labs/FLUX.2-klein-base-4B