jina-code-embeddings-1.5b / config_sentence_transformers.json
dariakryvosheieva's picture
Create config_sentence_transformers.json
1a24ce5 verified
raw
history blame
877 Bytes
{
"prompts": {
"nl2code_query": "Find the most relevant code snippet given the following query:\n",
"nl2code_document": "Candidate code snippet:\n",
"code2code_query": "Find an equivalent code snippet given the following code snippet:\n",
"code2code_document": "Candidate code snippet:\n",
"code2nl_query": "Find the most relevant comment given the following code snippet:\n",
"code2nl_document": "Candidate comment:\n",
"code2completion_query": "Find the most relevant completion given the following start of code snippet:\n",
"code2completion_document": "Candidate completion:\n",
"qa_query": "Find the most relevant answer given the following question:\n",
"qa_document": "Candidate answer:\n"
},
"default_prompt_name": null,
"similarity_fn_name": "cosine"
}