[fix] add common EoT markers to stop strings
This commit is contained in:
@@ -68,6 +68,8 @@ export function getStopStrings(){
|
|||||||
const { username } = db
|
const { username } = db
|
||||||
const stopStrings = [
|
const stopStrings = [
|
||||||
"GPT4 User",
|
"GPT4 User",
|
||||||
|
"</s>",
|
||||||
|
"<|end",
|
||||||
userPrefix,
|
userPrefix,
|
||||||
`${username}:`,
|
`${username}:`,
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user