Image-to-Image
LibreYOLO
Diffusers
Safetensors
open-vision-banana
flux
semantic-segmentation
referring-segmentation
depth-estimation
surface-normal-estimation
image-editing
text-to-image
Instructions to use LibreYOLO/LibreOpenVisionBanana9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibreOpenVisionBanana9b 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/LibreOpenVisionBanana9b with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LibreYOLO/LibreOpenVisionBanana9b", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download text_encoder/generation_config.json from LibreYOLO/LibreOpenVisionBanana9b: direct link, hf CLI and curl.
- Browser
- Download file 214 Bytes
-
https://huggingface.co/LibreYOLO/LibreOpenVisionBanana9b/resolve/main/text_encoder/generation_config.json
- Command line
-
hf download hf://LibreYOLO/LibreOpenVisionBanana9b/text_encoder/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/LibreYOLO/LibreOpenVisionBanana9b/resolve/main/text_encoder/generation_config.json
214 Bytes
| { | |
| "bos_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "pad_token_id": 151643, | |
| "temperature": 0.6, | |
| "top_k": 20, | |
| "top_p": 0.95, | |
| "transformers_version": "4.56.1" | |
| } | |