Instructions to use baricevic/instruct-pix2pix-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use baricevic/instruct-pix2pix-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("baricevic/instruct-pix2pix-model", 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 text_encoder/flax_model.msgpack from baricevic/instruct-pix2pix-model: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/baricevic/instruct-pix2pix-model/resolve/main/text_encoder/flax_model.msgpack
- Command line
-
hf download hf://baricevic/instruct-pix2pix-model/text_encoder/flax_model.msgpack
-
curl -L -o flax_model.msgpack https://huggingface.co/baricevic/instruct-pix2pix-model/resolve/main/text_encoder/flax_model.msgpack
246 MB
- Xet hash:
- 4736ad01b8bd989bde3fc1fb4cbb7051ce87e3014bd39a7ee4bcb14459ff41fb
- Size of remote file:
- 246 MB
- SHA256:
- 38aca8345bad31819530d6291463fe6b38b07275ae38065f774b30e7a8e07d64
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.