Run this model with HF Jobs
Run Qilex/VirtualPetDiffusion2 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/Qilex/VirtualPetDiffusion2. 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/Qilex/VirtualPetDiffusion2 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 Qilex/VirtualPetDiffusion2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Qilex/VirtualPetDiffusion2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qilex/VirtualPetDiffusion2", 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
VirtualPetDiffusion2
Model description
This diffusion model is trained with the π€ Diffusers library on a dataset of roughly 8,000 virtual pet thumbnail images.
Intended uses & limitations
This model can be used to generate small (128x128) virtual pet-like thumbnails. The pets are generally somewhat abstract.
How to use
from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("Qilex/VirtualPetDiffusion2")
image = pipeline()["sample"][0]
#this line only works in jupyter
display(image)
Training data
This model was trained on roughly 8,000 virtual pet thumbnail images (80x80px). The data was randomly flipped, rotated, and perspected using torchvision transforms to prevent some of the issues from the first VirtualPetDiffusion.
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0001
- train_batch_size: 16
- eval_batch_size: 16
- gradient_accumulation_steps: 1
- optimizer: AdamW with betas=(None, None), weight_decay=None and epsilon=None
- lr_scheduler: None
- lr_warmup_steps: 500
- ema_inv_gamma: None
- ema_inv_gamma: None
- ema_inv_gamma: None
- mixed_precision: no
Training results
π TensorBoard logs
- Downloads last month
- 13