Update examples in README to be compatible with soon-to-come ChatWidget

#23
by Wauplin HF staff - opened
Files changed (1) hide show
  1. README.md +12 -7
README.md CHANGED
@@ -6,13 +6,18 @@ tags:
6
  - llama-2
7
  license: llama2
8
  widget:
9
- - text: |
10
- <s>Source: system
11
-
12
- You are a helpful and honest code assistant <step> Source: user
13
-
14
- Print a hello world in Python <step> Source: assistant
15
- Destination: user
 
 
 
 
 
16
  inference:
17
  parameters:
18
  max_new_tokens: 200
 
6
  - llama-2
7
  license: llama2
8
  widget:
9
+ - example_title: Hello world (Python)
10
+ messages:
11
+ - role: system
12
+ content: You are a helpful and honest code assistant
13
+ - role: user
14
+ content: Print a hello world in Python
15
+ - example_title: Sum of sublists (Python)
16
+ messages:
17
+ - role: system
18
+ content: You are a helpful and honest code assistant expert in JavaScript. Please, provide all answers to programming questions in JavaScript
19
+ - role: user
20
+ content: Write a function that computes the set of sums of all contiguous sublists of a given list.
21
  inference:
22
  parameters:
23
  max_new_tokens: 200