algorithm commited on
Commit
8e1fbb8
1 Parent(s): d18abf6

Trailing space after "ASSISTANT:"

Browse files

Hello

@migtissera

:)

In the python example there is a trailing space after "ASSISTANT: " as seen here:

llm_prompt = f"{conversation} \nUSER: {user_input} \nASSISTANT: "

This space is missing in the prompt format in the readme. There is some evidence that this trailing space (depending on how it was trained) can affect the output.
(example: https://github.com/meta-llama/llama/issues/217#issuecomment-1774147331)

So I thought I'd add it in.

Thank you for this really nice model!

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -10,7 +10,7 @@ Tess, short for Tesoro (Treasure in Italian), is a general purpose Large Languag
10
  ```
11
  SYSTEM: <ANY SYSTEM CONTEXT>
12
  USER:
13
- ASSISTANT:
14
  ```
15
 
16
  <br>
 
10
  ```
11
  SYSTEM: <ANY SYSTEM CONTEXT>
12
  USER:
13
+ ASSISTANT:
14
  ```
15
 
16
  <br>