Instructions to use ModelsLab/age with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ModelsLab/age with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ModelsLab/age") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download age.pt from ModelsLab/age: direct link, hf CLI and curl.
- Browser
- Download file 9.14 MB
-
https://huggingface.co/ModelsLab/age/resolve/main/age.pt
- Command line
-
hf download hf://ModelsLab/age/age.pt
-
curl -L -o age.pt https://huggingface.co/ModelsLab/age/resolve/main/age.pt
9.14 MB
- Xet hash:
- ce6bdc7e7872a127bccf632f778daf18fa17feda1dedec942078ca95babbb399
- Size of remote file:
- 9.14 MB
- SHA256:
- 8c1c096f7cc1109b4072cbc604c811a5f0ff034fc0f6dc7cf66a558550aa4890
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.