Update examples in README to be compatible with soon-to-come ChatWidget (#23)
Browse files- Update examples in README to be compatible with soon-to-come ChatWidget (6714a7782a0f256d628dfed416acf3eccb29ea82)
Co-authored-by: Lucain Pouget <[email protected]>
README.md
CHANGED
|
@@ -6,13 +6,18 @@ tags:
|
|
| 6 |
- llama-2
|
| 7 |
license: llama2
|
| 8 |
widget:
|
| 9 |
-
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|