multi-train commited on
Commit
0afe5b5
1 Parent(s): 6a81ee9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -2547,7 +2547,7 @@ Then you can use the model like this to calculate domain-specific and task-aware
2547
  from InstructorEmbedding import INSTRUCTOR
2548
  model = INSTRUCTOR('hkunlp/instructor-large')
2549
  sentence = "3D ActionSLAM: wearable person tracking in multi-floor environments"
2550
- instruction = "Represent the Science title; Input:"
2551
  embeddings = model.encode([[instruction,sentence]])
2552
  print(embeddings)
2553
  ```
 
2547
  from InstructorEmbedding import INSTRUCTOR
2548
  model = INSTRUCTOR('hkunlp/instructor-large')
2549
  sentence = "3D ActionSLAM: wearable person tracking in multi-floor environments"
2550
+ instruction = "Represent the Science title:"
2551
  embeddings = model.encode([[instruction,sentence]])
2552
  print(embeddings)
2553
  ```