Run this model with HF Jobs
Run SimpleTuner/moss-image-LoRA-experiments 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/SimpleTuner/moss-image-LoRA-experiments. 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/SimpleTuner/moss-image-LoRA-experiments 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 SimpleTuner/moss-image-LoRA-experiments with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SimpleTuner/moss-image-LoRA-experiments with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OpenMOSS-Team/MOSS-Image-Base", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("SimpleTuner/moss-image-LoRA-experiments") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Download recipes/sft-1024/dataloader.json from SimpleTuner/moss-image-LoRA-experiments: direct link, hf CLI and curl.
- Browser
- Download file 502 Bytes
-
https://huggingface.co/SimpleTuner/moss-image-LoRA-experiments/resolve/main/recipes/sft-1024/dataloader.json
- Command line
-
hf download hf://SimpleTuner/moss-image-LoRA-experiments/recipes/sft-1024/dataloader.json
-
curl -L -o dataloader.json https://huggingface.co/SimpleTuner/moss-image-LoRA-experiments/resolve/main/recipes/sft-1024/dataloader.json
502 Bytes
| [ | |
| { | |
| "id": "domokun", | |
| "type": "local", | |
| "dataset_type": "image", | |
| "instance_data_dir": "datasets/domokun", | |
| "caption_strategy": "textfile", | |
| "resolution": 1.048576, | |
| "resolution_type": "area", | |
| "crop": false, | |
| "minimum_image_size": 0, | |
| "repeats": 10, | |
| "cache_dir_vae": "cache/sft-1024/vae", | |
| "text_embeds": "text" | |
| }, | |
| { | |
| "id": "text", | |
| "type": "local", | |
| "dataset_type": "text_embeds", | |
| "default": true, | |
| "cache_dir": "cache/sft-1024/text" | |
| } | |
| ] | |