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", device_map="auto")# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("4bit/uform-gen", dtype="auto", device_map="auto") - Notebooks
- Google Colab
- Kaggle

- Xet hash:
- 2b3ef7e99a67a4235274a54f6f29946e4b41c2e9d6429d36078ec4d4545009e4
- Size of remote file:
- 1.15 MB
- SHA256:
- 73ec696d1fb81753ff1365424772f463267ffe747b43a68acd65367adf314c61
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.