diff --git a/README.md b/README.md index c7beea3..4388d07 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,15 @@ Mistral-7B-v0.2 has the following changes compared to Mistral-7B-v0.1 - Rope-theta = 1e6 - No Sliding-Window Attention -For full details of this model please read our [paper](https://arxiv.org/abs/2310.06825) and [release blog post](https://mistral.ai/news/la-plateforme/). \ No newline at end of file +For full details of this model please read our [paper](https://arxiv.org/abs/2310.06825) and [release blog post](https://mistral.ai/news/la-plateforme/). + +## Instruction format + +In order to leverage instruction fine-tuning, your prompt should be surrounded by `[INST]` and `[/INST]` tokens. The very first instruction should begin with a begin of sentence id. The next instructions should not. The assistant generation will be ended by the end-of-sentence token id. + +E.g. +``` +text = "[INST] What is your favourite condiment? [/INST]" +"Well, I'm quite partial to a good squeeze of fresh lemon juice. It adds just the right amount of zesty flavour to whatever I'm cooking up in the kitchen! " +"[INST] Do you have mayonnaise recipes? [/INST]" +``` \ No newline at end of file