Image-to-Text
Transformers
Safetensors
vision-encoder-decoder
image-text-to-text
Generated from Trainer
Instructions to use fatehmujtaba/image-caption-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fatehmujtaba/image-caption-generator 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="fatehmujtaba/image-caption-generator")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("fatehmujtaba/image-caption-generator") model = AutoModelForMultimodalLM.from_pretrained("fatehmujtaba/image-caption-generator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- c1dd1e9189138b7a51effa792afdf7b309dbcc8fae8078c03986027eb2613993
- Size of remote file:
- 957 MB
- SHA256:
- 25d40e3da8ef3017faf6733e519967966ac40ff4cc7278ad7d0bacc29311b49a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.