File size: 190 Bytes
932acc8
 
 
 
 
aa169a9
1
2
3
4
5
6
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')