From 1370b4482f4548c84ea4165a3e2dcce5d485499d Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sun, 16 Apr 2023 10:24:15 +0200 Subject: [PATCH] :book: Add prompt-templates examples (#25) Signed-off-by: mudler --- README.md | 2 ++ prompt-templates/alpaca.tmpl | 6 ++++++ prompt-templates/koala.tmpl | 1 + prompt-templates/vicuna.tmpl | 6 ++++++ 4 files changed, 15 insertions(+) create mode 100644 prompt-templates/alpaca.tmpl create mode 100644 prompt-templates/koala.tmpl create mode 100644 prompt-templates/vicuna.tmpl diff --git a/README.md b/README.md index 07150ed3..e626118f 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,8 @@ Below is an instruction that describes a task. Write a response that appropriate ### Response: ``` +See the [prompt-templates](https://github.com/go-skynet/llama-cli/tree/master/prompt-templates) directory in this repository for templates for most popular models. + ## Container images `llama-cli` comes by default as a container image. You can check out all the available images with corresponding tags [here](https://quay.io/repository/go-skynet/llama-cli?tab=tags&tag=latest) diff --git a/prompt-templates/alpaca.tmpl b/prompt-templates/alpaca.tmpl new file mode 100644 index 00000000..518071f6 --- /dev/null +++ b/prompt-templates/alpaca.tmpl @@ -0,0 +1,6 @@ +Below is an instruction that describes a task. Write a response that appropriately completes the request. + +### Instruction: +{{.Input}} + +### Response: \ No newline at end of file diff --git a/prompt-templates/koala.tmpl b/prompt-templates/koala.tmpl new file mode 100644 index 00000000..ffbd0179 --- /dev/null +++ b/prompt-templates/koala.tmpl @@ -0,0 +1 @@ +BEGINNING OF CONVERSATION: USER: {{.Input}} GPT: \ No newline at end of file diff --git a/prompt-templates/vicuna.tmpl b/prompt-templates/vicuna.tmpl new file mode 100644 index 00000000..518071f6 --- /dev/null +++ b/prompt-templates/vicuna.tmpl @@ -0,0 +1,6 @@ +Below is an instruction that describes a task. Write a response that appropriately completes the request. + +### Instruction: +{{.Input}} + +### Response: \ No newline at end of file