Run this model with HF Jobs
Run hellomrsheel/anurag 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/hellomrsheel/anurag. 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/hellomrsheel/anurag 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 hellomrsheel/anurag with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hellomrsheel/anurag with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("hellomrsheel/anurag") prompt = "Chaitanya" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload folder using huggingface_hub
Browse filesFiles changed (3)
- README.md+4-4
- config.yaml+1-1
- lora.safetensors+2-2
15 unmodified lines16171819192021229 unmodified lines32333435353637382 unmodified lines414243444445464714 unmodified lines626364656566676815 unmodified lines# prompt# output:# url: https://...instance_prompt: Anuraginstance_prompt: Chaitanya---
# Anurag9 unmodified lines
## Trigger words
You should use `Anurag` to trigger the image generation.You should use `Chaitanya` to trigger the image generation.
## Run this LoRA with an API using Replicate2 unmodified linesimport replicate
input = { "prompt": "Anurag", "prompt": "Chaitanya", "lora_weights": "https://huggingface.co/hellomrsheel/anurag/resolve/main/lora.safetensors"}
14 unmodified lines
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')pipeline.load_lora_weights('hellomrsheel/anurag', weight_name='lora.safetensors')image = pipeline('Anurag').images[0]image = pipeline('Chaitanya').images[0]```
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)4 unmodified lines56788910114 unmodified lines - type: custom_sd_trainer training_folder: output device: cuda:0 trigger_word: Anurag trigger_word: Chaitanya network: type: lora linear: 1612323version https://git-lfs.github.com/spec/v1oid sha256:65bc9306e0e155afc85df182d9d73b98432612865feef1285fa07ef488948fb5size 171969416oid sha256:67efccc8675c7d305f646af20a652fbf18cec2c5af7cc8e634a108bff2ba4bc7size 171969424README.md+4-4
config.yaml+1-1
lora.safetensors+2-2