Instructions to use Miayan/freelit-checkpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Miayan/freelit-checkpoint with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Miayan/freelit-checkpoint", 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
Download train_r2_diff_ctrl/checkpoint-100001/custom_encoder/config.json from Miayan/freelit-checkpoint: direct link, hf CLI and curl.
- Browser
- Download file 193 Bytes
-
https://huggingface.co/Miayan/freelit-checkpoint/resolve/main/train_r2_diff_ctrl/checkpoint-100001/custom_encoder/config.json
- Command line
-
hf download hf://Miayan/freelit-checkpoint/train_r2_diff_ctrl/checkpoint-100001/custom_encoder/config.json
-
curl -L -o config.json https://huggingface.co/Miayan/freelit-checkpoint/resolve/main/train_r2_diff_ctrl/checkpoint-100001/custom_encoder/config.json
193 Bytes
| { | |
| "Ba": 4, | |
| "Bc": 4, | |
| "Bi": 4, | |
| "K": 4, | |
| "_class_name": "CustomEncoder", | |
| "_diffusers_version": "0.33.1", | |
| "_name_or_path": "train_r2_diff_ctrl/checkpoint-10000", | |
| "cross_dim": 1024 | |
| } | |