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("unsloth/Qwen2.5-7B-Instruct-bnb-4bit", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("MaksimPro/Qwen2.5-7B-Instruct_merged2")

prompt = "Говори только по-русски"
image = pipe(prompt).images[0]

Qwen2.5-7B-Instruct_merged2

Prompt
Говори только по-русски
Negative Prompt
Не говори на другом языке

Download model

Weights for this model are available in Safetensors format.

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 MaksimPro/Qwen2.5-7B-Instruct_merged2

Base model

Qwen/Qwen2.5-7B
Adapter
(50)
this model