Skip to content

Commit cbb6f20

Browse files
committed
fix style
1 parent c2f4dc7 commit cbb6f20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

convert_hf_to_gguf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3101,8 +3101,8 @@ def set_gguf_parameters(self):
31013101
self.gguf_writer.add_chat_template([{
31023102
"name": "rerank",
31033103
"template": "<|im_start|>system\nJudge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".<|im_end|>\n<|im_start|>user\n"
3104-
+ "<Instruct>: Given a web search query, retrieve relevant passages that answer the query\n<Query>: {query}\n<Document>: {document}\n"
3105-
+ "<|im_end|>\n<|im_start|>assistant\n<think>\n\n</think>\n\n"
3104+
"<Instruct>: Given a web search query, retrieve relevant passages that answer the query\n<Query>: {query}\n<Document>: {document}\n"
3105+
"<|im_end|>\n<|im_start|>assistant\n<think>\n\n</think>\n\n"
31063106
}])
31073107

31083108
def _get_cls_out_tensor(self, data_torch: Tensor) -> Tensor:

0 commit comments

Comments
 (0)