scinobo-taxonomy-mapper / download_model.py
sotiriskot's picture
Update download_model.py
aa169a9 verified
raw
history blame
190 Bytes
import os
from InstructorEmbedding import INSTRUCTOR
CACHE_DIR = "/app/src/fos_mapper/data/model_artefacts"
model = INSTRUCTOR("hkunlp/instructor-xl", cache_folder=CACHE_DIR, device='cpu')