Run this model with HF Jobs
Run ttj/stable-diffusion-vae-anime 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/ttj/stable-diffusion-vae-anime. Ask me which dataset to train on, then push the fine-tuned model to a new private 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/ttj/stable-diffusion-vae-anime 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 ttj/stable-diffusion-vae-anime with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ttj/stable-diffusion-vae-anime with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import encoderKL model = encoderKL.from_pretrained("ttj/stable-diffusion-vae-anime", device_map="auto") - Notebooks
- Google Colab
- Kaggle
You need to agree to share your Hugging Face information to access this model
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
One more step before getting this model.
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
The CreativeML OpenRAIL License specifies:
- You can't use the model to deliberately produce nor share illegal or harmful outputs or content
- CompVis claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
- You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
Please read the full license here: https://huggingface.co/spaces/CompVis/stable-diffusion-license
By clicking on "Access repository" below, you accept that your contact information (email address and username) can be shared with the model authors as well.
Log in or Sign Up to review the conditions and access this model content.
Model Details
License: The CreativeML OpenRAIL M license is an Open RAIL M license, adapted from the work that BigScience and the RAIL Initiative are jointly carrying in the area of responsible AI licensing. See also the article about the BLOOM Open RAIL license on which our license is based.
Training : This model is fine-tuned from the vae use in this stable-diffusion checkpoint CompVis/stable-diffusion-v1-4
- Dataset: a subset of Danbooru2017, can be downloaded from kaggle.
- Compute: The training using only one RTX 3090. Training was stopped at about 17 hours. And the latest checkpoint is exported.
- Training code: The code used for training can be found in this github repo: cccntu/fine-tune-models
Usage
- this model can be loaded using stable_diffusion_jax
from stable_diffusion_jax import AutoencoderKL
vae, vae_params = AutoencoderKL.from_pretrained(
"ttj/stable-diffusion-vae-anime", _do_init=False, dtype=dtype, use_auth_token=True
)
For example on using this model, please refer to this notebook in the github repo.
- Downloads last month
- -