iandennismiller commited on
Commit
c454cdd
1 Parent(s): 7bde6da

no trailing space on assistant prompt

Browse files
Files changed (1) hide show
  1. bin/llama.sh +6 -6
bin/llama.sh CHANGED
@@ -97,25 +97,25 @@ function get_model_prefix {
97
  function get_model_suffix {
98
  case $1 in
99
  *guanaco*)
100
- printf "### Assistant: "
101
  ;;
102
  *alpaca*|*upstage*|*airoboros*|*hermes*)
103
- printf "### Response: "
104
  ;;
105
  *vicuna*|*wizardlm*|*samantha*)
106
- printf "ASSISTANT: "
107
  ;;
108
  *based*|*yi*)
109
- printf "Assistant: "
110
  ;;
111
  *orca*)
112
- printf "### Response: "
113
  ;;
114
  chatml)
115
  printf "<|im_end|>\n<|im_start|>assistant\\\n"
116
  ;;
117
  *)
118
- printf "Output: "
119
  ;;
120
  esac
121
  }
 
97
  function get_model_suffix {
98
  case $1 in
99
  *guanaco*)
100
+ printf "### Assistant:"
101
  ;;
102
  *alpaca*|*upstage*|*airoboros*|*hermes*)
103
+ printf "### Response:"
104
  ;;
105
  *vicuna*|*wizardlm*|*samantha*)
106
+ printf "ASSISTANT:"
107
  ;;
108
  *based*|*yi*)
109
+ printf "Assistant:"
110
  ;;
111
  *orca*)
112
+ printf "### Response:"
113
  ;;
114
  chatml)
115
  printf "<|im_end|>\n<|im_start|>assistant\\\n"
116
  ;;
117
  *)
118
+ printf "Output:"
119
  ;;
120
  esac
121
  }