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 lines161718192021229 unmodified lines323334353637382 unmodified lines4142434445464714 unmodified lines6263646566676815 unmodified lines# prompt# output:# url: https://...instance_prompt: Anurag---# Anurag9 unmodified lines## Trigger wordsYou should use `Anurag` to trigger the image generation.## Run this LoRA with an API using Replicate2 unmodified linesimport replicateinput = {"prompt": "Anurag","lora_weights": "https://huggingface.co/hellomrsheel/anurag/resolve/main/lora.safetensors"}14 unmodified linespipeline = 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]```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)15 unmodified lines161718192021229 unmodified lines323334353637382 unmodified lines4142434445464714 unmodified lines6263646566676815 unmodified lines# prompt# output:# url: https://...instance_prompt: Chaitanya---# Anurag9 unmodified lines## Trigger wordsYou should use `Chaitanya` to trigger the image generation.## Run this LoRA with an API using Replicate2 unmodified linesimport replicateinput = {"prompt": "Chaitanya","lora_weights": "https://huggingface.co/hellomrsheel/anurag/resolve/main/lora.safetensors"}14 unmodified linespipeline = 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('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 lines5678910114 unmodified lines- type: custom_sd_trainertraining_folder: outputdevice: cuda:0trigger_word: Anuragnetwork:type: loralinear: 164 unmodified lines5678910114 unmodified lines- type: custom_sd_trainertraining_folder: outputdevice: cuda:0trigger_word: Chaitanyanetwork:type: loralinear: 16
123version https://git-lfs.github.com/spec/v1oid sha256:65bc9306e0e155afc85df182d9d73b98432612865feef1285fa07ef488948fb5size 171969416123version https://git-lfs.github.com/spec/v1oid sha256:67efccc8675c7d305f646af20a652fbf18cec2c5af7cc8e634a108bff2ba4bc7size 171969424
README.md+4-4
config.yaml+1-1
lora.safetensors+2-2