How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("FreedomIntelligence/Janus-4o-7B", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("peterface/ThinkClearly")

prompt = "Make the sea shell red"
image = pipe(prompt).images[0]

ThinkClearly

https://github.com/peterN908/ThinkClearly/tree/main

Model description

A conceptual exploration of tool use in AR image models

We fine-tune Janus 4o models to produce `<CLEAR>` instruction tokens when making text+image to image edits. This indicate that this token patch should be an exact pixel match to the input image

Download model

Download them in the Files & versions tab.

Downloads last month
-
Inference Examples
Examples
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for peterface/ThinkClearly

Adapter
(1)
this model

Dataset used to train peterface/ThinkClearly