Skip to content

Commit

Permalink
add 0.6 in prompt_templates.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mkshing committed Oct 10, 2023
1 parent 19adfc0 commit d0ce201
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/prompt_templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,26 @@ This is intended to use for [rinna/bilingual-gpt-neox-4b-instruction-sft](https:
システム: {answer}
```
For formats for other tasks, please see `lm_eval/tasks/TASK.py`.


## `0.6`
This is intended to used for Llama2-chat variants

- **Reference:** https://huggingface.co/blog/llama2#how-to-prompt-llama-2
- **Supported Tasks:** `jsquad`, `jaquad`, `jcommonsenseqa`, `jnli`, `marc_ja`, `jaqket_v2`, `xlsum_ja`, `mgsm`
- **Usage:** Set the correct system prompt to an envrionment variable `SYSTEM_PROMPT`.
- **Format:**
e.g. JCommonsenseQA
```
<s>[INST] <<SYS>>
{{ SYSTEM_PROMPT }}
<</SYS>>
与えられた選択肢の中から、最適な答えを選んでください。出力は以下から選択してください:
- choice0
...
- choice4
質問:... [/INST] {{ answer }} </s>
```
For formats for other tasks, please see `lm_eval/tasks/TASK.py`.

0 comments on commit d0ce201

Please sign in to comment.