Skip to content

Commit

Permalink
Merge pull request #11 from DFKI-NLP/frontend_new_template
Browse files Browse the repository at this point in the history
frontend: add prompt template for `jordiclive/Llama-2-70b-oasst-1-200` model
  • Loading branch information
ArneBinder authored Oct 30, 2023
2 parents 997e2b3 + c93c597 commit 95b8d90
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions frontend/templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,16 @@
"bot_prompt": "ASSISTANT: {bot_message}"
},
"system_prior": "Du bist ein hilfreicher Assistent."
},
"jordiclive/Llama-2-70b-oasst-1-200": {
"description": "Based on information from https://huggingface.co/jordiclive/Llama-2-70b-oasst-1-200",
"template": {
"prompt": "{system_prompt}{history}{user_prompt}<|assistant|>",
"system_prompt": "{system_prior}",
"history": "{history}{user_prompt}{bot_prompt}",
"user_prompt": "<|prompter|>{user_message}</s>",
"bot_prompt": "<|assistant|>{bot_message}</s>"
},
"system_prior": ""
}
}

0 comments on commit 95b8d90

Please sign in to comment.