Tom Aarsen
commited on
Commit
·
0bfdc3c
1
Parent(s):
129dc50
Fix query_prompt_name variable name
Browse files
README.md
CHANGED
|
@@ -5480,7 +5480,7 @@ from sentence_transformers import SentenceTransformer
|
|
| 5480 |
|
| 5481 |
# This model supports two prompts: "s2p_query" and "s2s_query" for sentence-to-passage and sentence-to-sentence tasks, respectively.
|
| 5482 |
# They are defined in `config_sentence_transformers.json`
|
| 5483 |
-
|
| 5484 |
queries = [
|
| 5485 |
"What are some ways to reduce stress?",
|
| 5486 |
"What are the benefits of drinking green tea?",
|
|
|
|
| 5480 |
|
| 5481 |
# This model supports two prompts: "s2p_query" and "s2s_query" for sentence-to-passage and sentence-to-sentence tasks, respectively.
|
| 5482 |
# They are defined in `config_sentence_transformers.json`
|
| 5483 |
+
query_prompt_name = "s2p_query"
|
| 5484 |
queries = [
|
| 5485 |
"What are some ways to reduce stress?",
|
| 5486 |
"What are the benefits of drinking green tea?",
|