mirror of
https://github.com/abetlen/llama-cpp-python.git
synced 2023-09-07 17:34:22 +03:00
Update example to match alpaca training prompt
This commit is contained in:
@@ -30,8 +30,8 @@ class CompletionRequest(BaseModel):
|
||||
class Config:
|
||||
schema_extra = {
|
||||
"example": {
|
||||
"prompt": "Question: What is the capital of France? Answer: ",
|
||||
"stop": ["\n", " Question:"]
|
||||
"prompt": "\n\n### Instructions:\nWhat is the capital of France?\n\n### Response:\n",
|
||||
"stop": ["\n", "###"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user