Image-to-Text
Transformers
Safetensors
English
vlm
feature-extraction
image-captioning
visual-question-answering
custom_code
Instructions to use unum-cloud/uform-gen2-dpo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unum-cloud/uform-gen2-dpo 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="unum-cloud/uform-gen2-dpo", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("unum-cloud/uform-gen2-dpo", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- bf91af1a6c58824cc6d4d2bee35dc5211b11336c89a0b14500e84872a8fa8147
- Size of remote file:
- 4.98 GB
- SHA256:
- a0be8c717e54079a0de25dcd2bdf0ed07d418c56f35eb97cf0a91aa2d3bd6a4c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.