Spaces:
Running
Running
File size: 318 Bytes
87c3140 |
1 2 3 4 5 6 7 |
from InstructorEmbedding import INSTRUCTOR
model = INSTRUCTOR('hkunlp/instructor-xl')
instruction = "Represent a row from a table describing and herbarium specimen."
sentence = "3D ActionSLAM: wearable person tracking in multi-floor environments"
embeddings = model.encode([[instruction,sentence]])
print(embeddings)
|