From ce0c99637bf2aba3265ec4675b50eadb26ac5a21 Mon Sep 17 00:00:00 2001 From: Lucain Pouget Date: Wed, 28 Feb 2024 15:22:12 +0000 Subject: [PATCH] Update examples in README to be compatible with soon-to-come ChatWidget See https://github.com/huggingface/huggingface.js/pull/510. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 57b77e6..9737c9c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,12 @@ datasets: language: - en widget: -- text: "<|system|>\nYou are a chatbot who can help code!\n<|user|>\nWrite me a function to calculate the first 10 digits of the fibonacci sequence in Python and print it out to the CLI.\n<|assistant|>\n" + - example_title: Fibonacci (Python) + messages: + - role: system + content: You are a chatbot who can help code! + - role: user + content: Write me a function to calculate the first 10 digits of the fibonacci sequence in Python and print it out to the CLI. ---