Lachlan Cahill commited on
Commit
4118183
·
1 Parent(s): bfb66f8

Removed system prompt from transformers example as mistral models do not take a system prompt (using either the old chat template or my updated template in this pr)

Browse files
Files changed (1) hide show
  1. README.md +0 -1
README.md CHANGED
@@ -123,7 +123,6 @@ If you want to use Hugging Face `transformers` to generate text, you can do some
123
  from transformers import pipeline
124
 
125
  messages = [
126
- {"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
127
  {"role": "user", "content": "Who are you?"},
128
  ]
129
  chatbot = pipeline("text-generation", model="mistralai/Mistral-7B-Instruct-v0.3")
 
123
  from transformers import pipeline
124
 
125
  messages = [
 
126
  {"role": "user", "content": "Who are you?"},
127
  ]
128
  chatbot = pipeline("text-generation", model="mistralai/Mistral-7B-Instruct-v0.3")