Image-to-Image
Transformers
Safetensors
in-image-machine-translation
image-translation
image-editing
multimodal
qwen2.5-vl
flux
Instructions to use SeerRay-Lab/Unitranslator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SeerRay-Lab/Unitranslator with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-image" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-image", model="SeerRay-Lab/Unitranslator")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SeerRay-Lab/Unitranslator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download univa/generation_config.json from SeerRay-Lab/Unitranslator: direct link, hf CLI and curl.
- Browser
- Download file 121 Bytes
-
https://huggingface.co/SeerRay-Lab/Unitranslator/resolve/main/univa/generation_config.json
- Command line
-
hf download hf://SeerRay-Lab/Unitranslator/univa/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/SeerRay-Lab/Unitranslator/resolve/main/univa/generation_config.json
121 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 151643, | |
| "eos_token_id": 151645, | |
| "transformers_version": "4.50.0" | |
| } | |