Run this model with HF Jobs
Run ReFFeX/NewMod 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/ReFFeX/NewMod. 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/ReFFeX/NewMod 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 ReFFeX/NewMod with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ReFFeX/NewMod 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("ReFFeX/NewMod") prompt = "TOK" 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+9-2
- config.yaml+8-7
- lora.safetensors+1-1
10 unmodified lines11121314151617181419202122232425262728293031253233343510 unmodified lines- replicatebase_model: "black-forest-labs/FLUX.1-dev"pipeline_tag: text-to-image# widget:# - text: >-# prompt# output:# url: https://...instance_prompt: Verinstance_prompt: TOK---
# Newmod
<!-- <Gallery /> -->
Trained on Replicate using:
https://replicate.com/ostris/flux-dev-lora-trainer/train
## Trigger wordsYou should use `Ver` to trigger the image generation.You should use `TOK` to trigger the image generation.
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)4 unmodified lines56788910111213141515161718192021222223242526272829293031323312 unmodified lines4647484849505152535455555656575859604 unmodified lines - type: custom_sd_trainer training_folder: output device: cuda:0 trigger_word: Ver trigger_word: TOK network: type: lora linear: 16 linear_alpha: 16 save: dtype: float16 save_every: 1503 save_every: 1498 max_step_saves_to_keep: 1 datasets: - folder_path: input_images caption_ext: txt caption_dropout_rate: 0.05 shuffle_tokens: false cache_latents_to_disk: true cache_latents_to_disk: false cache_latents: true resolution: - 512 - 768 - 1024 train: batch_size: 1 steps: 1502 steps: 1497 gradient_accumulation_steps: 1 train_unet: true train_text_encoder: false12 unmodified lines quantize: true sample: sampler: flowmatch sample_every: 1503 sample_every: 1498 width: 1024 height: 1024 prompts: [] neg: '' seed: 42 walk_seed: true guidance_scale: 4 sample_steps: 20 guidance_scale: 3.5 sample_steps: 28meta: name: flux_train_replicate version: '1.0'1223version https://git-lfs.github.com/spec/v1oid sha256:4aee6a7f00377bb27d1a3d2df1c7282ee6eac71bc9c8b83995c81f31d331915boid sha256:3c2c62cc97561fc15b68040334810b6b1b9ce5fc13f10fb08255cfcdaea091f5size 171969416README.md+9-2
config.yaml+8-7
lora.safetensors+1-1