scinobo-taxonomy-mapper / download_model.py
sotiriskot's picture
Create download_model.py
932acc8 verified
raw
history blame
183 Bytes
import os
from InstructorEmbedding import INSTRUCTOR
CACHE_DIR = "/app/src/fos_mapper/data/model_artefacts"
model = INSTRUCTOR(embedding_model, cache_folder=CACHE_DIR, device='cpu')