How to load nomic-ai/nomic-embed-text-v1.5 without connect to internet?
Due to I work in a regulated industry, I had to download all the files from "Files and versions" table, then load it
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("nomic-ai/nomic-embed-text-v1.5", trust_remote_code=True)
but I can not connect to internet, is there anyway to load this model all locally?
Here's how I did it.
A. On a computer with internet access, download OllamaSetup.exe.
B. Install ollama.
C. Using ollama, pull nomic-embed-text
D. Copy OllamaSetup.exe and the contents of C:\Users\YourLocalProfile.ollama\models (include blobs and manifests) onto whatever transfer method you have to copy the files to your stand alone workstation
E. On the stand alone workstation, install OllamaSetup.exe
F. On the stand alone workstation, copy the contents of the copied models folder to the C:\Users\YourLocalProfile.ollama\models folder