What kinf of prompt should I use when using llama-2-7b? #6275
Replies: 2 comments
-
The chat version is diverse enough that it works even with an alpaca prompt template, but the base model does not have a prompt template - it's more of a text completion engine. To use base model, then remove Remove |
Beta Was this translation helpful? Give feedback.
-
Here's the prompt format I use and it seems to work fine:
If I recall, I got it from the config information and/or the readme on huggingface... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When using llama-2-7b-chat, I can use the following instruction to test my model:
but when I change my model to llama-2-7b, I can't use the instruction above. If I use the above instruction, I will get a weird response consists of lots of blank response. I guess the problem may be
prompts/alpaca.txt
doesn't match llama-2-7b. So I'm wondering which prompt should I use to test llama-2-7b?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions