Instructions to use LibreYOLO/LibrePRX1024-beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibrePRX1024-beta with LibreYOLO:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Diffusers
How to use LibreYOLO/LibrePRX1024-beta 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/LibrePRX1024-beta", 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 tokenizer/tokenizer_config.json from LibreYOLO/LibrePRX1024-beta: direct link, hf CLI and curl.
- Browser
- Download file 412 Bytes
-
https://huggingface.co/LibreYOLO/LibrePRX1024-beta/resolve/main/tokenizer/tokenizer_config.json
- Command line
-
hf download hf://LibreYOLO/LibrePRX1024-beta/tokenizer/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/LibreYOLO/LibrePRX1024-beta/resolve/main/tokenizer/tokenizer_config.json
412 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<bos>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<eos>", | |
| "is_local": false, | |
| "mask_token": "<mask>", | |
| "model_max_length": 256, | |
| "pad_token": "<pad>", | |
| "padding_side": "right", | |
| "sp_model_kwargs": {}, | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "GemmaTokenizer", | |
| "unk_token": "<unk>", | |
| "use_default_system_prompt": false | |
| } | |