Instructions to use farapart/t5_encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use farapart/t5_encoder with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("farapart/t5_encoder", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download decoder.pth from farapart/t5_encoder: direct link, hf CLI and curl.
- Browser
- Download file 99.2 MB
-
https://huggingface.co/farapart/t5_encoder/resolve/main/decoder.pth
- Command line
-
hf download hf://farapart/t5_encoder/decoder.pth
-
curl -L -o decoder.pth https://huggingface.co/farapart/t5_encoder/resolve/main/decoder.pth
99.2 MB
- Xet hash:
- ad474d6aad3f30ffa5b6b3ca9659bafbba4717eef17a311c1a98e329aa39ae83
- Size of remote file:
- 99.2 MB
- SHA256:
- 67ba14a4bf576742be05e45c4cc19e128594cbb0866ca22a8f6bf17a54374137
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.