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