Run this model with HF Jobs
Run LibreYOLO/LibrePRX512-sft-distilled on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/LibreYOLO/LibrePRX512-sft-distilled. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/LibreYOLO/LibrePRX512-sft-distilled on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use LibreYOLO/LibrePRX512-sft-distilled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibrePRX512-sft-distilled with LibreYOLO:
# pip install libreyolo # See the model card for usage: https://huggingface.co/LibreYOLO/LibrePRX512-sft-distilled
- Diffusers
How to use LibreYOLO/LibrePRX512-sft-distilled 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-distilled", 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-distilled
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 distilled to 8 sampling steps, ready to use. Mirrored for LibreYOLO.
from libreyolo import LibreGen
model = LibreGen("prx-512-sft-distilled") # downloads this repo
model("a red fox sleeping in fresh snow").save("fox.png")
libreyolo generate prompt="a red fox" model=prx-512-sft-distilled
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-distilled - Upstream revision:
cb72bdc1f4c77126fb80d0c03fab156ee5f4df3a - 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 |
4d651efe158a726f9433cce5efdcdb8e3019e0c753d3687b26ff796d6b48c930 |
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.
- Downloads last month
- 28
Model tree for LibreYOLO/LibrePRX512-sft-distilled
Base model
Photoroom/prx-512-t2i-sft-distilled