Fix: Add missing sentence-transformers installation in example code
#29
by
anon-repair-bot
- opened
README.md
CHANGED
@@ -5440,6 +5440,7 @@ print(scores.tolist())
|
|
5440 |
### Sentence Transformers
|
5441 |
|
5442 |
```python
|
|
|
5443 |
from sentence_transformers import SentenceTransformer
|
5444 |
|
5445 |
def get_detailed_instruct(task_description: str, query: str) -> str:
|
|
|
5440 |
### Sentence Transformers
|
5441 |
|
5442 |
```python
|
5443 |
+
# Requires: sentence-transformers
|
5444 |
from sentence_transformers import SentenceTransformer
|
5445 |
|
5446 |
def get_detailed_instruct(task_description: str, query: str) -> str:
|