Spaces:
Sleeping
Sleeping
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') |