NielsRogge / Transformers-Tutorials

This repository contains demos I made with the Transformers library by HuggingFace.
MIT License
8.51k stars 1.34k forks source link

Flickr30k image text retrieval CustomTrainDataset #277

Open guanhdrmq opened 1 year ago

guanhdrmq commented 1 year ago

Hi team,

How are you? Could you share a demo customer data loader for flickr30k? Because this task has no label and not sure how to write the " encoding["label"] = torch.tensor(label)" part.

Thank you very much.