Downloads · 30 days
30
10% of all-time downloads
Ruggero1912/Patch-ioner_talk2dino_viecap_COCO_Captions
Patch-ioner_talk2dino_viecap_COCO_Captions is a image-to-text model from Ruggero1912. Use it when you need a caption or text from an image. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains a pre-trained VIECAP model from the Patch-ioner framework for dense image captioning and controllable visual description.
Downloads · 30 days
30
10% of all-time downloads
All-time downloads
291
Public
Repo size
673 MB
Likes
0
Public
Click a slice to open those files.
.pt673 MB · 100%
From the Hugging Face model README
This repository contains a pre-trained VIECAP model from the Patch-ioner framework for dense image captioning and controllable visual description.
Title: "One Patch to Caption Them All: A Unified Zero-Shot Captioning Framework"
Authors: Lorenzo Bianchi, Giacomo Pacini, Fabio Carrara, Nicola Messina, Giuseppe Amato, Fabrizio Falchi
ArXiv: https://arxiv.org/abs/2510.02898
Project Page: https://paciosoft.com/Patch-ioner/
The official code repository for Patch-ioner can be found here: https://github.com/Ruggero1912/Patch-ioner
| Task | METEOR | CIDEr | SPICE |
|---|---|---|---|
| Image Captioning | 0.225 | 0.769 | 0.161 |
| Narratives | 10.700 | 28.200 | 12.500 |
from patch_ioner import load_model, Patchioner
# Load the model
config_path = "config.yaml"
model = load_model(config_path)
# Run inference
image_path = "your_image.jpg"
results = model.forward(image_path)
print(results)
The model can also be loaded using the transformers library:
from transformers import AutoModel
MODEL_ID = "Ruggero1912/Patch-ioner_talk2dino_viecap_COCO_Captions" # Note: use the correct MODEL_ID for this repository
model = AutoModel.from_pretrained(MODEL_ID, trust_remote_code=True)
config.yaml: Model configuration filemodel.pt: Pre-trained model weightsREADME.md: This filepip install git+https://github.com/Ruggero1912/Patch-ioner
Refer to the Patch-ioner repository for updated usage examples.
If you use this model in your research, please cite our paper, refer to the Project Page for updated citation template.
We welcome contributions to improve the Patch-ioner framework. Please see the main repository for contribution guidelines.
See the main repository for detailed license information.
For issues related to this model or the Patch-ioner framework, please:
Explore other Patch-ioner model configurations:
More models available in Ruggero1912's models
This model is part of the Patch-ioner framework for dense image captioning and controllable visual description.