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 lines11121314151617181920212223242526272810 unmodified lines- replicatebase_model: "black-forest-labs/FLUX.1-dev"pipeline_tag: text-to-imageinstance_prompt: Ver---# NewmodTrained on Replicate using:https://replicate.com/ostris/flux-dev-lora-trainer/train## Trigger wordsYou should use `Ver` to trigger the image generation.## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)10 unmodified lines1112131415161718192021222324252627282930313233343510 unmodified lines- replicatebase_model: "black-forest-labs/FLUX.1-dev"pipeline_tag: text-to-image# widget:# - text: >-# prompt# output:# url: https://...instance_prompt: TOK---# Newmod<!-- <Gallery /> -->Trained on Replicate using:https://replicate.com/ostris/flux-dev-lora-trainer/train## Trigger wordsYou should use `TOK` to trigger the image generation.## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
4 unmodified lines56789101112131415161718192021222324252627282930313212 unmodified lines4546474849505152535455565758594 unmodified lines- type: custom_sd_trainertraining_folder: outputdevice: cuda:0trigger_word: Vernetwork:type: loralinear: 16linear_alpha: 16save:dtype: float16save_every: 1503max_step_saves_to_keep: 1datasets:- folder_path: input_imagescaption_ext: txtcaption_dropout_rate: 0.05shuffle_tokens: falsecache_latents_to_disk: trueresolution:- 512- 768- 1024train:batch_size: 1steps: 1502gradient_accumulation_steps: 1train_unet: truetrain_text_encoder: false12 unmodified linesquantize: truesample:sampler: flowmatchsample_every: 1503width: 1024height: 1024prompts: []neg: ''seed: 42walk_seed: trueguidance_scale: 4sample_steps: 20meta:name: flux_train_replicateversion: '1.0'4 unmodified lines5678910111213141516171819202122232425262728293031323312 unmodified lines4647484950515253545556575859604 unmodified lines- type: custom_sd_trainertraining_folder: outputdevice: cuda:0trigger_word: TOKnetwork:type: loralinear: 16linear_alpha: 16save:dtype: float16save_every: 1498max_step_saves_to_keep: 1datasets:- folder_path: input_imagescaption_ext: txtcaption_dropout_rate: 0.05shuffle_tokens: falsecache_latents_to_disk: falsecache_latents: trueresolution:- 512- 768- 1024train:batch_size: 1steps: 1497gradient_accumulation_steps: 1train_unet: truetrain_text_encoder: false12 unmodified linesquantize: truesample:sampler: flowmatchsample_every: 1498width: 1024height: 1024prompts: []neg: ''seed: 42walk_seed: trueguidance_scale: 3.5sample_steps: 28meta:name: flux_train_replicateversion: '1.0'
123version https://git-lfs.github.com/spec/v1oid sha256:4aee6a7f00377bb27d1a3d2df1c7282ee6eac71bc9c8b83995c81f31d331915bsize 171969416123version https://git-lfs.github.com/spec/v1oid sha256:3c2c62cc97561fc15b68040334810b6b1b9ce5fc13f10fb08255cfcdaea091f5size 171969416
README.md+9-2
config.yaml+8-7
lora.safetensors+1-1