Hi, if you pass only model name, the embedding will be loaded from remote repo. You must to pass model_name like local address path. Here is a example:
Path to your local model
local_model_path = “/Users/…/model_file”
Instantiate HuggingFaceInstructEmbeddings
hf = HuggingFaceInstructEmbeddings(
model_name=local_model_path,
model_kwargs=model_kwargs,
encode_kwargs=encode_kwargs
)