Skip to content

Commit

Permalink
BUG: fix llama-2 stop words (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
UranusSeven authored Oct 26, 2023
1 parent 60feced commit ee8b7e9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions xinference/model/llm/llm_family.json
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,9 @@
"inter_message_sep": " </s><s>",
"stop_token_ids": [
2
],
"stop": [
"</s>"
]
}
},
Expand Down Expand Up @@ -1613,6 +1616,9 @@
"inter_message_sep": " </s><s>",
"stop_token_ids": [
2
],
"stop": [
"</s>"
]
}
},
Expand Down Expand Up @@ -1922,6 +1928,9 @@
"inter_message_sep": " </s><s>",
"stop_token_ids": [
2
],
"stop": [
"</s>"
]
}
},
Expand Down

0 comments on commit ee8b7e9

Please sign in to comment.