From 9076386d904171c7cc88ace681ca3ebbec2c71ea Mon Sep 17 00:00:00 2001 From: "0xWe11es.eth" <83463505+CSWellesSun@users.noreply.github.com> Date: Tue, 23 Jan 2024 16:25:26 +0800 Subject: [PATCH] Fix SRT endpoint api json syntax (#84) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab3f51f09..3da9ea507 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ curl http://localhost:30000/generate \ -H "Content-Type: application/json" \ -d '{ "text": "Once upon a time,", - "parameters": { + "sampling_params": { "max_new_tokens": 16, "temperature": 0 }