Image-to-Text
Transformers
Safetensors
qwen2_5_vl
image-text-to-text
Eval Results
text-generation-inference
Instructions to use TainU/RePlan-Qwen2.5-VL-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TainU/RePlan-Qwen2.5-VL-7B with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" 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-text", model="TainU/RePlan-Qwen2.5-VL-7B")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("TainU/RePlan-Qwen2.5-VL-7B") model = AutoModelForMultimodalLM.from_pretrained("TainU/RePlan-Qwen2.5-VL-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from TainU/RePlan-Qwen2.5-VL-7B: direct link, hf CLI and curl.
- Browser
- Download file 147 Bytes
-
https://huggingface.co/TainU/RePlan-Qwen2.5-VL-7B/resolve/main/generation_config.json
- Command line
-
hf download hf://TainU/RePlan-Qwen2.5-VL-7B/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/TainU/RePlan-Qwen2.5-VL-7B/resolve/main/generation_config.json
147 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 151643, | |
| "eos_token_id": 151645, | |
| "pad_token_id": 151643, | |
| "transformers_version": "4.52.4" | |
| } | |