Update example to match alpaca training prompt

This commit is contained in:
Andrei Betlen 2023-03-24 14:34:15 -04:00
parent e24c581b5a
commit d29b05bb67

View file

@ -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", "###"]
}
}