mlfoundations / open_flamingo

An open-source framework for training large multimodal models.
MIT License
3.75k stars 284 forks source link

Pin versions for language encoders (i.e. anas-awadalla/mpt-1b-redpajama-200b) #213

Open capjamesg opened 1 year ago

capjamesg commented 1 year ago

When I install the anas-awadalla/mpt-1b-redpajama-200b language encoder from HuggingFace, I get the following warning message:

A new version of the following files was downloaded from https://huggingface.co/anas-awadalla/mpt-1b-redpajama-200b:
- param_init_fns.py
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
A new version of the following files was downloaded from https://huggingface.co/anas-awadalla/mpt-1b-redpajama-200b:
- mosaic_gpt.py
- gpt_blocks.py
- param_init_fns.py
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.

It would be great if the encoder was / encoders are pinned so this doesn't appear during model download.

capjamesg commented 12 months ago

Following up on this!