Run this model with HF Jobs
Run isatis/kw 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/isatis/kw. 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/isatis/kw 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 isatis/kw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use isatis/kw with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("isatis/kw", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
change path for imports
Browse files28 unmodified lines29303132333435363738394041424344454647484950515253545556575859606128 unmodified linesclass EndpointHandler:LORA_PATHS = {"hairdetailer": "hairdetailer.safetensors","lora_leica": "lora_leica.safetensors","epiNoiseoffset_v2": "epiNoiseoffset_v2.safetensors","MBHU-TT2FRS": "MBHU-TT2FRS.safetensors","ShinyOiledSkin_v20": "ShinyOiledSkin_v20-LoRA.safetensors","polyhedron_new_skin_v1.1": "polyhedron_new_skin_v1.1.safetensors","detailed_eye-10": "detailed_eye-10.safetensors","add_detail": "add_detail.safetensors","MuscleGirl_v1": "MuscleGirl_v1.safetensors",}TEXTUAL_INVERSION = [# {# "weight_name": "EasyNegative.safetensors",# "token": "easynegative",# },{"weight_name": "badhandv4.pt", "token": "badhandv4"},{"weight_name": "bad-artist-anime.pt","token": "bad-artist-anime",},{"weight_name": "NegfeetV2.pt", "token": "NegfeetV2"},{"weight_name": "ng_deepnegative_v1_75t.pt","token": "ng_deepnegative_v1_75t",},{"weight_name": "bad-hands-5.pt", "token": "bad-hands-5"},]def __init__(self, path="."):28 unmodified lines29303132333435363738394041424344454647484950515253545556575859606128 unmodified linesclass EndpointHandler:LORA_PATHS = {"hairdetailer": "isatis/kw/lora/hairdetailer.safetensors","lora_leica": "isatis/kw/lora/lora_leica.safetensors","epiNoiseoffset_v2": "isatis/kw/lora/epiNoiseoffset_v2.safetensors","MBHU-TT2FRS": "isatis/kw/lora/MBHU-TT2FRS.safetensors","ShinyOiledSkin_v20": "isatis/kw/lora/ShinyOiledSkin_v20-LoRA.safetensors","polyhedron_new_skin_v1.1": "isatis/kw/lora/polyhedron_new_skin_v1.1.safetensors","detailed_eye-10": "isatis/kw/lora/detailed_eye-10.safetensors","add_detail": "isatis/kw/lora/add_detail.safetensors","MuscleGirl_v1": "isatis/kw/lora/MuscleGirl_v1.safetensors",}TEXTUAL_INVERSION = [{"weight_name": "https://huggingface.co/isatis/kw/embeddings/EasyNegative.safetensors","token": "easynegative",},{"weight_name": "isatis/kw/embeddings/badhandv4.pt", "token": "badhandv4"},{"weight_name": "isatis/kw/embeddings/bad-artist-anime.pt","token": "bad-artist-anime",},{"weight_name": "isatis/kw/embeddings/NegfeetV2.pt", "token": "NegfeetV2"},{"weight_name": "isatis/kw/embeddings/ng_deepnegative_v1_75t.pt","token": "ng_deepnegative_v1_75t",},{"weight_name": "isatis/kw/embeddings/bad-hands-5.pt", "token": "bad-hands-5"},]def __init__(self, path="."):
handler.py+18-18