open_flamingo icon indicating copy to clipboard operation
open_flamingo copied to clipboard

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

Open capjamesg opened this issue 2 years ago • 1 comments

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 avatar Jul 03 '23 09:07 capjamesg

Following up on this!

capjamesg avatar Nov 21 '23 23:11 capjamesg