Image-to-Text
Transformers
PyTorch
JAX
Portuguese
vision-encoder-decoder
image-text-to-text
image-captioning
Instructions to use adalbertojunior/image_captioning_portuguese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adalbertojunior/image_captioning_portuguese 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="adalbertojunior/image_captioning_portuguese")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("adalbertojunior/image_captioning_portuguese") model = AutoModelForMultimodalLM.from_pretrained("adalbertojunior/image_captioning_portuguese", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from adalbertojunior/image_captioning_portuguese: direct link, hf CLI and curl.
- Browser
- Download file 982 MB
-
https://huggingface.co/adalbertojunior/image_captioning_portuguese/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://adalbertojunior/image_captioning_portuguese/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/adalbertojunior/image_captioning_portuguese/resolve/main/pytorch_model.bin
982 MB
- Xet hash:
- 1df09714dffb74e612501191e7ac7118fb71bcbc3fa91e376e938097705f7414
- Size of remote file:
- 982 MB
- SHA256:
- 447130d85cb73b8d14c048fe1af48b47a4e4464f100cfeb9aa8cb0849bfbefde
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.