From 7840f95a8c7a781d3f89c4818bf693431ab3119a Mon Sep 17 00:00:00 2001 From: Pedro Cuenca Date: Tue, 23 Apr 2024 15:46:37 +0000 Subject: [PATCH] Update examples and widget inference parameters (#53) - Update examples and widget inference parameters (f4aaf8ca1ce0b4337954df015bf719d5e464452a) --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 8bd2ed8..c872d46 100644 --- a/README.md +++ b/README.md @@ -185,6 +185,29 @@ extra_gated_fields: By clicking Submit below I accept the terms of the license and acknowledge that the information I provide will be collected stored processed and shared in accordance with the Meta Privacy Policy: checkbox extra_gated_description: The information you provide will be collected, stored, processed and shared in accordance with the [Meta Privacy Policy](https://www.facebook.com/privacy/policy/). extra_gated_button_content: Submit +widget: + - example_title: Hello + messages: + - role: user + content: Hey my name is Julien! How are you? + - example_title: Winter holidays + messages: + - role: system + content: You are a helpful and honest assistant. Please, respond concisely and truthfully. + - role: user + content: Can you recommend a good destination for Winter holidays? + - example_title: Programming assistant + messages: + - role: system + content: You are a helpful and honest code and programming assistant. Please, respond concisely and truthfully. + - role: user + content: Write a function that computes the nth fibonacci number. +inference: + parameters: + max_new_tokens: 300 + stop: + - <|end_of_text|> + - <|eot_id|> --- ## Model Details