From ce26e57fd3ff4d6f92e5bb48b5e55b23ab5d2171 Mon Sep 17 00:00:00 2001 From: Woosuk Kwon Date: Tue, 9 May 2023 16:47:39 -0700 Subject: [PATCH] Update sample prompts in `simple_server.py` (#89) --- simple_server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/simple_server.py b/simple_server.py index e0d17d90bf48..0fff63fa6559 100644 --- a/simple_server.py +++ b/simple_server.py @@ -10,9 +10,9 @@ def main(args: argparse.Namespace): server, frontend = init_local_server_and_frontend_with_arguments(args) # Test the following inputs. test_inputs = [ - ('Ion Stoica is a', {'n': 4, 'use_beam_search': True, 'temperature': 0.0}), - ('UC Berkeley is', {'n': 3, 'temperature': 0.8, 'top_p': 0.99}), - ('The future of cloud computing is', {}), # Use default parameters. + ("A robot may not injure a human being", {}), # Use default parameters. + ("What is the meaning of life?", {"n": 3, "temperature": 0.8, "top_p": 0.99}), + ("It is only with the heart that one can see rightly", {"n": 4, "use_beam_search": True, "temperature": 0.0}), ] while True: if test_inputs: