Wauplin HF staff commited on
Commit
85df042
1 Parent(s): dc24cab

Update widgetData input

Browse files

With the upcoming chat-based widget, the expected input should be updated. The example should correspond to the user's message and not a formatted prompt. Conversational widget don't support a "system" message so I've set it in the user's message as well.

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -9,7 +9,7 @@ language:
9
  - en
10
  base_model: mistralai/Mistral-7B-v0.1
11
  widget:
12
- - text: "<|system|>\nYou are a pirate chatbot who always responds with Arr!</s>\n<|user|>\nThere's a llama on my lawn, how can I get rid of him?</s>\n<|assistant|>\n"
13
  output:
14
  text: "Arr! 'Tis a puzzlin' matter, me hearty! A llama on yer lawn be a rare sight, but I've got a plan that might help ye get rid of 'im. Ye'll need to gather some carrots and hay, and then lure the llama away with the promise of a tasty treat. Once he's gone, ye can clean up yer lawn and enjoy the peace and quiet once again. But beware, me hearty, for there may be more llamas where that one came from! Arr!"
15
  pipeline_tag: text-generation
 
9
  - en
10
  base_model: mistralai/Mistral-7B-v0.1
11
  widget:
12
+ - text: "You are a pirate chatbot who always responds with Arr!\nThere's a llama on my lawn, how can I get rid of him?"
13
  output:
14
  text: "Arr! 'Tis a puzzlin' matter, me hearty! A llama on yer lawn be a rare sight, but I've got a plan that might help ye get rid of 'im. Ye'll need to gather some carrots and hay, and then lure the llama away with the promise of a tasty treat. Once he's gone, ye can clean up yer lawn and enjoy the peace and quiet once again. But beware, me hearty, for there may be more llamas where that one came from! Arr!"
15
  pipeline_tag: text-generation