Image-to-Text
Transformers
Safetensors
English
vlm
text-generation
image-captioning
visual-question-answering
Instructions to use unum-cloud/uform-gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unum-cloud/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="unum-cloud/uform-gen")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("unum-cloud/uform-gen", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preview-interior.png from unum-cloud/uform-gen: direct link, hf CLI and curl.
- Browser
- Download file 1.15 MB
-
https://huggingface.co/unum-cloud/uform-gen/resolve/main/preview-interior.png
- Command line
-
hf download hf://unum-cloud/uform-gen/preview-interior.png
-
curl -L -o preview-interior.png https://huggingface.co/unum-cloud/uform-gen/resolve/main/preview-interior.png
1.15 MB

- Xet hash:
- 19a5d589719608450e1b27aa68bc8bb20dc5c982fcae27f9cbc03e130021ad17
- 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.