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