Image-to-Text
Transformers
Safetensors
English
vlm
text-generation
image-captioning
visual-question-answering
Instructions to use 4bit/uform-gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 4bit/uform-gen 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="4bit/uform-gen")# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("4bit/uform-gen", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 4fffa3c500e1f64b20beaeb3ccb84ae88f17791e0d3ccc0868229d76cba4e6a1
- Size of remote file:
- 4.98 GB
- SHA256:
- c7ae42a70765c8dc2d47ed8c5c2cdd7ced413b6d08b58f8983d639b96be87f4b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.