Create config_sentence_transformers.json
Browse files
config_sentence_transformers.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prompts": {
|
| 3 |
+
"nl2code_query": "Find the most relevant code snippet given the following query:\n",
|
| 4 |
+
"nl2code_document": "Candidate code snippet:\n",
|
| 5 |
+
|
| 6 |
+
"code2code_query": "Find an equivalent code snippet given the following code snippet:\n",
|
| 7 |
+
"code2code_document": "Candidate code snippet:\n",
|
| 8 |
+
|
| 9 |
+
"code2nl_query": "Find the most relevant comment given the following code snippet:\n",
|
| 10 |
+
"code2nl_document": "Candidate comment:\n",
|
| 11 |
+
|
| 12 |
+
"code2completion_query": "Find the most relevant completion given the following start of code snippet:\n",
|
| 13 |
+
"code2completion_document": "Candidate completion:\n",
|
| 14 |
+
|
| 15 |
+
"qa_query": "Find the most relevant answer given the following question:\n",
|
| 16 |
+
"qa_document": "Candidate answer:\n"
|
| 17 |
+
},
|
| 18 |
+
"default_prompt_name": null,
|
| 19 |
+
"similarity_fn_name": "cosine"
|
| 20 |
+
}
|