From ee717e3c86af8423d65c3b9982098c998a347cd5 Mon Sep 17 00:00:00 2001 From: Kevin Pham <161087761+accupham@users.noreply.github.com> Date: Sun, 16 Feb 2025 14:13:12 -0600 Subject: [PATCH] Add R1 chat format According to best practices listed on official R1 repo: https://github.com/deepseek-ai/DeepSeek-R1/pull/399/files --- mikupad.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mikupad.html b/mikupad.html index 2c323d8..69ad548 100644 --- a/mikupad.html +++ b/mikupad.html @@ -5534,6 +5534,12 @@ const defaultPresets = { 'instPre': '\\nuser\\n', 'instSuf': '\\nmodel\\n', }, + 'R1': { + 'sysPre' : '', + 'sysSuf' : '', + 'instPre': '<|User|>', + 'instSuf': '<|Assistant|>\n', + }, }, scrollTop: 0, enabledSamplers: ['temperature', 'rep_pen', 'pres_pen', 'freq_pen', 'mirostat', 'top_k', 'top_p', 'min_p'],