From 2e00a1baaf34cc1790bea058ccf0f93ec4fa727f Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 19 Feb 2024 19:37:18 +0200 Subject: [PATCH] [FEATURE_REQUEST] Can the unlocked max context size for OpenAI completion be increased from 102k to 200k for example? #1842 --- public/scripts/openai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/openai.js b/public/scripts/openai.js index e1552090f..e655d6a18 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -119,7 +119,7 @@ const scale_max = 8191; const claude_max = 9000; // We have a proper tokenizer, so theoretically could be larger (up to 9k) const claude_100k_max = 99000; let ai21_max = 9200; //can easily fit 9k gpt tokens because j2's tokenizer is efficient af -const unlocked_max = 100 * 1024; +const unlocked_max = max_200k; const oai_max_temp = 2.0; const claude_max_temp = 1.0; //same as j2 const j2_max_topk = 10.0;