Luodian / Otter

🦦 Otter, a multi-modal model based on OpenFlamingo (open-sourced version of DeepMind's Flamingo), trained on MIMIC-IT and showcasing improved instruction-following and in-context learning ability.
https://otter-ntu.github.io/
MIT License
3.54k stars 242 forks source link

Hope there will be instructions about downloading from the HuggingFace Dataset #248

Open tingxueronghua opened 1 year ago

tingxueronghua commented 1 year ago

I am trying to download MMIC-IT from HuggingFace. However, the instructions are not clear. I downloaded it in the following ways:

from datasets import load_dataset

configs = ['LA_Images', 'LACONV_Preview', 'LACONV_Instructions', 'LACR_I2I_Preview', 'LACR_I2I_Instructions', 'LACR_T2T_Preview', 'LACR_T2T_Instructions', 'LADD_Preview', 'LADD_Instructions', 'CGD_Images', 'CGD_Preview', 'CGD_Instructions', 'E4D_Images', 'E4D_Preview', 'E4D_Instructions', 'DC_Images', 'DC_Preview', 'DC_Instructions', 'SN_Images', 'SN_Preview', 'SN_Instructions', 'TVC_Images', 'TVC_Preview', 'TVC_Instructions', 'SD_Images', 'SD_Preview', 'SD_Instructions', 'VST_Images', 'VST_Preview', 'VST_Instructions']

for each_config in configs: dataset = load_dataset("pufanyi/MIMICIT", each_config)

However, there will be an error: FileNotFoundError: Couldn't find file at https://huggingface.co/datasets/pufanyi/MIMICIT/resolve/main/data/E4D/E4D_images_preview.csv`

The reason why I use a list of configs, is that if I do not add the configs, there will be another error: ValueError: Config name is missing.
Please pick one among the available configs: ['LA_Images', 'LACONV_Preview', 'LACONV_Instructions', 'LACR_I2I_Preview', 'LACR_I2I_Instructions', 'LACR_T2T_Preview', 'LACR_T2T_Instructions', 'LADD_Preview', 'LADD_Instructions', 'CGD_Images', 'CGD_Preview' , 'CGD_Instructions', 'E4D_Images', 'E4D_Preview', 'E4D_Instructions', 'DC_Images', 'DC_Preview', 'DC_Instructions', 'SN_Images', 'SN_Preview', 'SN_Instructions', 'TVC_Images', 'TVC_Preview', 'TVC_Instructions', 'SD_Images', 'SD_Preview', 'SD_Instruction s', 'VST_Images', 'VST_Preview', 'VST_Instructions']

Luodian commented 1 year ago

@pufanyi

StrangeTcy commented 8 months ago

Any update on this? I have the same files, just downloaded in a slightly different way