Instructions to use LibreYOLO/LibrePRX512-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LibreYOLO/LibrePRX512-sft with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LibreYOLO/LibrePRX512-sft", 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
LibrePRX512-sft
PRX, Photoroom's 1.3B text-to-image transformer trained from scratch, with a T5Gemma 2B text encoder and the FLUX.1 VAE. Native resolution 512; supervised fine-tune, ready to use. Mirrored for LibreYOLO.
from libreyolo import LibreGen
model = LibreGen("prx-512-sft") # downloads this repo
model("a red fox sleeping in fresh snow").save("fox.png")
libreyolo generate prompt="a red fox" model=prx-512-sft
Install libreyolo[gen].
This is a mirror, not a new model
The weights are Photoroom's. Nothing was retrained, converted or re-encoded;
every file is byte-identical to upstream and keeps upstream's diffusers
pipeline layout, so diffusers loads this folder as it is.
- Upstream repository:
Photoroom/prx-512-t2i-sft - Upstream revision:
2996423bc26e8eaca48774fac1797484214dfea0 - Announcement: We're open-sourcing our text-to-image model and the process behind it
| File | SHA-256 |
|---|---|
text_encoder/model-00001-of-00003.safetensors |
e7a37fef2b11c87a9a2a43c26fcd7199c1d1b203ef11e10863a56611c8fdb57f |
text_encoder/model-00002-of-00003.safetensors |
49da6c85ed4ff10f7f1afaa5a37a0b292fdb58aa855916ef584d697155a9bf58 |
text_encoder/model-00003-of-00003.safetensors |
1a6361ba65805092625aa4e2b3b8d42b810ab836682ddc8277088c9a251b4084 |
transformer/diffusion_pytorch_model.safetensors |
73ce9d3ab7ad9cc798d50963739aaac13c2b89f5212e12acbf2a03977959cdc5 |
vae/diffusion_pytorch_model.safetensors |
8c717328c8ad41faab2ccfd52ae17332505c6833cf176aad56e7b58f2c4d4c94 |
License
The PRX weights are Apache-2.0, as published by Photoroom. The bundled T5Gemma 2B text encoder is provided under and subject to the Gemma Terms of Use, and you may not use it for the restricted uses in the Gemma Prohibited Use Policy. The FLUX.1 [schnell] VAE is Apache-2.0. See LICENSE and NOTICE.
Model tree for LibreYOLO/LibrePRX512-sft
Base model
Photoroom/prx-512-t2i-sft