Skip to content

Commit

Permalink
chatml instruct format
Browse files Browse the repository at this point in the history
  • Loading branch information
Concedo authored and Concedo committed Oct 4, 2023
1 parent bb38656 commit 1100bf1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6224,6 +6224,10 @@
document.getElementById('instruct_starttag').value = "\\nQuestion: ";
document.getElementById('instruct_endtag').value = "\\nAnswer: ";
break;
case "6": //ChatML
document.getElementById('instruct_starttag').value = "<|im_start|>user";
document.getElementById('instruct_endtag').value = "<|im_start|>assistant";
break;
default:
break;
}
Expand Down Expand Up @@ -9208,7 +9212,7 @@
this.bubbleColor_AI = 'rgb(20, 20, 40)';

this.background_margin = [5, 5, 5, 0];
this.background_padding = [15, 15, 10, 10];
this.background_padding = [15, 15, 10, 5];
this.background_minHeight = 80;
this.centerHorizontally = false;

Expand Down Expand Up @@ -10216,6 +10220,7 @@
<option value="3">Metharme</option>
<option value="4">Llama 2 Chat</option>
<option value="5">Q & A</option>
<option value="6">ChatML</option>
</select>
<table class="settingsmall text-center" style="border-spacing: 4px 2px; border-collapse: separate;">
<tr>
Expand Down

0 comments on commit 1100bf1

Please sign in to comment.