Instructions to use perilli/OCS_Models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use perilli/OCS_Models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("perilli/OCS_Models", 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 Encoding/Image/CLIP-ViT-H-fp16.safetensors from perilli/OCS_Models: direct link, hf CLI and curl.
- Browser
- Download file 1.26 GB
-
https://huggingface.co/perilli/OCS_Models/resolve/b60e09a77458f2defea945da0bdb9858be8ddee8/Encoding/Image/CLIP-ViT-H-fp16.safetensors
- Command line
-
hf download hf://perilli/OCS_Models@b60e09a77458f2defea945da0bdb9858be8ddee8/Encoding/Image/CLIP-ViT-H-fp16.safetensors
-
curl -L -o CLIP-ViT-H-fp16.safetensors https://huggingface.co/perilli/OCS_Models/resolve/b60e09a77458f2defea945da0bdb9858be8ddee8/Encoding/Image/CLIP-ViT-H-fp16.safetensors
1.26 GB
- Xet hash:
- 1c80b69aac642f321ce1a3faebda1b7b7ff3086a1fcb81ece792a1ea4b4c1326
- Size of remote file:
- 1.26 GB
- SHA256:
- 5846f524f8ebf9c3092cba64d1d2ed63b0997d00e80be32b0124114a592e8474
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.