Run this model with HF Jobs
Run MHesho/pachuto-diffusion 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/MHesho/pachuto-diffusion. 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/MHesho/pachuto-diffusion 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 MHesho/pachuto-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MHesho/pachuto-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MHesho/pachuto-diffusion", dtype=torch.bfloat16, device_map="cuda") 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
- DiffusionBee
Additional 4k training iter (Attempt 2)
Browse filesFiles changed (8)
14 unmodified lines151617181920212 unmodified lines242526272829303132338 unmodified lines424344454647482 unmodified lines51525354555657585914 unmodified lines"pad_tokens": false,"with_prior_preservation": true,"prior_loss_weight": 1.0,"num_class_images": 2000,"output_dir": "/content/drive/MyDrive/pachutorresart_diffusion_weights/zwx","seed": 1337,"resolution": 512,2 unmodified lines"train_batch_size": 1,"sample_batch_size": 4,"num_train_epochs": 4,"max_train_steps": 8000,"gradient_accumulation_steps": 1,"gradient_checkpointing": false,"learning_rate": 1e-06,"scale_lr": false,"lr_scheduler": "polynomial","lr_warmup_steps": 0,8 unmodified lines"hub_model_id": null,"logging_dir": "logs","log_interval": 10,"save_interval": 8000,"save_min_steps": 0,"mixed_precision": "fp16","not_cache_latents": false,2 unmodified lines"concepts_list": [{"instance_prompt": "pachutorresart style","class_prompt": "style","instance_data_dir": "/content/data/pachutorresart","class_data_dir": "/content/data/style"}]}14 unmodified lines151617181920212 unmodified lines242526272829303132338 unmodified lines424344454647482 unmodified lines51525354555657585914 unmodified lines"pad_tokens": false,"with_prior_preservation": true,"prior_loss_weight": 1.0,"num_class_images": 1000,"output_dir": "/content/drive/MyDrive/pachutorresart_diffusion_weights/zwx","seed": 1337,"resolution": 512,2 unmodified lines"train_batch_size": 1,"sample_batch_size": 4,"num_train_epochs": 4,"max_train_steps": 4000,"gradient_accumulation_steps": 1,"gradient_checkpointing": false,"learning_rate": 1e-05,"scale_lr": false,"lr_scheduler": "polynomial","lr_warmup_steps": 0,8 unmodified lines"hub_model_id": null,"logging_dir": "logs","log_interval": 10,"save_interval": 4000,"save_min_steps": 0,"mixed_precision": "fp16","not_cache_latents": false,2 unmodified lines"concepts_list": [{"instance_prompt": "pachutorresart style","class_prompt": "illustration style","instance_data_dir": "/content/data/pachutorresart","class_data_dir": "/content/data/illustration style"}]}
123version https://git-lfs.github.com/spec/v1oid sha256:0e3cdf83e3f54542c056d978c1dd64a9b63f639d7aa9720777d21f495d8150d6size 492309793123version https://git-lfs.github.com/spec/v1oid sha256:e5254f56484a3539d5eb80c7292d9cc9262d459cc843cb3af77ec5c4680073c7size 492309793
18 unmodified lines1920212223242518 unmodified lines},"errors": "replace","model_max_length": 77,"name_or_path": "/root/.cache/huggingface/diffusers/models--MHesho--pachuto-diffusion/snapshots/2400c90c42fef3e8418ca186a55bfbf4a0ee78bf/tokenizer","pad_token": "<|endoftext|>","special_tokens_map_file": "./special_tokens_map.json","tokenizer_class": "CLIPTokenizer",18 unmodified lines1920212223242518 unmodified lines},"errors": "replace","model_max_length": 77,"name_or_path": "/root/.cache/huggingface/diffusers/models--MHesho--pachuto-diffusion/snapshots/6b10c566bdebadda1bd431dbf75057c2d24b048e/tokenizer","pad_token": "<|endoftext|>","special_tokens_map_file": "./special_tokens_map.json","tokenizer_class": "CLIPTokenizer",
123version https://git-lfs.github.com/spec/v1oid sha256:a80ac4686dc6ce976e97fd0c16616ab7f73d4c1a6f56080fb8aebac2f8129fd5size 3438375973123version https://git-lfs.github.com/spec/v1oid sha256:a760bc3bd512e5a612e640d65bf88d18e0211d86d6167934e9eb5e7dd9434feasize 3438375973
args.json+6-6
samples/0.png


samples/1.png


samples/2.png


samples/3.png


text_encoder/pytorch_model.bin+1-1
tokenizer/tokenizer_config.json+1-1
unet/diffusion_pytorch_model.bin+1-1