Run this model with HF Jobs
Run vik-pups/cartoon 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/vik-pups/cartoon. 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/vik-pups/cartoon 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 vik-pups/cartoon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use vik-pups/cartoon with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("vik-pups/cartoon") 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
End of training
Browse filesFiles changed (9)
- README.mdAdded+21
- image_0.pngAdded
- image_1.pngAdded
- image_2.pngAdded
- image_3.pngAdded
- logs/text2image-fine-tune/1698766401.465316/events.out.tfevents.1698766401.3e1e5deb4e9a.23757.1Added+3
- logs/text2image-fine-tune/1698766401.4670625/hparams.ymlAdded+49
- logs/text2image-fine-tune/events.out.tfevents.1698766401.3e1e5deb4e9a.23757.0Added+3
- pytorch_lora_weights.safetensorsAdded+3
123456789101112131415161718192021
---license: creativeml-openrail-mbase_model: runwayml/stable-diffusion-v1-5tags:- stable-diffusion- stable-diffusion-diffusers- text-to-image- diffusers- lorainference: true--- # LoRA text2image fine-tuning - vik-pups/cartoonThese are LoRA adaption weights for runwayml/stable-diffusion-v1-5. The weights were fine-tuned on the Norod78/cartoon-blip-captions dataset. You can find some example images in the following.

123version https://git-lfs.github.com/spec/v1oid sha256:65162c81575a50f2a6b1d6a7ada8302d0a471db677a75c0b18d09ca4a0542c7dsize 228212345678910111213141516171819202122232425262728293031323334353637383940414243444546474849adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1.0e-08adam_weight_decay: 0.01allow_tf32: falsecache_dir: nullcaption_column: textcenter_crop: truecheckpointing_steps: 500checkpoints_total_limit: nulldataloader_num_workers: 8dataset_config_name: nulldataset_name: Norod78/cartoon-blip-captionsenable_xformers_memory_efficient_attention: falsegradient_accumulation_steps: 4gradient_checkpointing: falsehub_model_id: ''hub_token: nullimage_column: imagelearning_rate: 0.0001local_rank: -1logging_dir: logslr_scheduler: cosinelr_warmup_steps: 0max_grad_norm: 1.0max_train_samples: nullmax_train_steps: 100mixed_precision: nullnoise_offset: 0num_train_epochs: 1num_validation_images: 4output_dir: $/sddata/finetune/lora/cartoonprediction_type: nullpretrained_model_name_or_path: runwayml/stable-diffusion-v1-5push_to_hub: truerandom_flip: truerank: 4report_to: tensorboardresolution: 512resume_from_checkpoint: nullrevision: nullscale_lr: falseseed: 1337snr_gamma: nulltrain_batch_size: 1train_data_dir: nulluse_8bit_adam: falsevalidation_epochs: 1validation_prompt: Aang from avatar.123version https://git-lfs.github.com/spec/v1oid sha256:e3bed729f7052a417a451d5fb196c4899eb99bfb08ed0429d0ecbdd39fd97bfesize 1209112123version https://git-lfs.github.com/spec/v1oid sha256:a505b58e2bc53fdea5ef4e12aeef0cea49aeefc37389f165486fcd1747dfb0a2size 3227336README.mdAdded+21
image_0.pngAdded

image_1.pngAdded

image_2.pngAdded

image_3.pngAdded

logs/text2image-fine-tune/1698766401.465316/events.out.tfevents.1698766401.3e1e5deb4e9a.23757.1Added+3
logs/text2image-fine-tune/1698766401.4670625/hparams.ymlAdded+49
logs/text2image-fine-tune/events.out.tfevents.1698766401.3e1e5deb4e9a.23757.0Added+3
pytorch_lora_weights.safetensorsAdded+3