Skip to content

Commit

Permalink
another change, not perfect yet
Browse files Browse the repository at this point in the history
  • Loading branch information
John committed Jul 10, 2023
1 parent aeb2403 commit 7ed7b46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/falcon/falcon_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ int main(int argc, char ** argv) {
// inp_system = ::falcon_tokenize(ctx, ">>DOMAIN<<<|prefix_begin|>"+params.system_prompt+"<|prefix_end|>", false);
// inp_system = ::falcon_tokenize(ctx, "<|prefix_begin|>"+params.system_prompt+"<|prefix_end|>", false);
//inp_system = ::falcon_tokenize(ctx, "<|prompter|>"+params.system_prompt+" Okay?<|endoftext|><|assistant|>Okay<|endoftext|>", false);
inp_system = ::falcon_tokenize(ctx, "<|prompter|>"+params.system_prompt+"<|endoftext|>", false);
//inp_system = ::falcon_tokenize(ctx, ">>INTRODUCTION<<"+params.system_prompt+"\n<|endoftext|>", false);
//inp_system = ::falcon_tokenize(ctx, "<|prompter|>"+params.system_prompt+"<|endoftext|>", false);
inp_system = ::falcon_tokenize(ctx, ">>SUMMARY<<"+params.system_prompt+"<|endoftext|>", false);
if(!params.sys_prompt_simple)
{
//inp_system_baseline = ::falcon_tokenize(ctx, "<|prompter|>"+params.system_baseline_prompt+" Okay?<|endoftext|><|assistant|>Okay<|endoftext|>", false);
Expand Down

0 comments on commit 7ed7b46

Please sign in to comment.