RitaRamo / smallcap

SmallCap: Lightweight Image Captioning Prompted with Retrieval Augmentation
94 stars 20 forks source link

how to use 'opt' or 'xglm' #10

Closed awzy999i closed 1 year ago

awzy999i commented 1 year ago

parser.add_argument("--decoder_name", type=str, default="opt", help="Decoder name as found of HuggingFace or stored locally"). error:OSError: opt is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo with use_auth_token or log in with huggingface-cli login and pass use_auth_token=True.

ameer-khu commented 4 months ago

@awzy999i Can you let me know how you resolved this one?