Run this model with HF Jobs
Run gokaygokay/Light-Fix-Kontext-Dev-LoRA on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/gokaygokay/Light-Fix-Kontext-Dev-LoRA. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/gokaygokay/Light-Fix-Kontext-Dev-LoRA on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use gokaygokay/Light-Fix-Kontext-Dev-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gokaygokay/Light-Fix-Kontext-Dev-LoRA 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("black-forest-labs/FLUX.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("gokaygokay/Light-Fix-Kontext-Dev-LoRA") prompt = "Fuse this image into background" 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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
File size: 131 Bytes
91ad5d8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6fc9d726296b23b5b729863bcc7a7493a412af3120ae0cba2af42450232184ef
size 149343
|