From 01a6c725fa34a00b3d8d087aee63881395083a02 Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 15 Jun 2023 10:06:43 +0800 Subject: [PATCH] fix: max token tooltip description (#370) --- web/i18n/lang/common.en.ts | 2 +- web/i18n/lang/common.zh.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/i18n/lang/common.en.ts b/web/i18n/lang/common.en.ts index 1cf6425bb9..22eec8d439 100644 --- a/web/i18n/lang/common.en.ts +++ b/web/i18n/lang/common.en.ts @@ -50,7 +50,7 @@ const translation = { 'How much to penalize new tokens based on their existing frequency in the text so far. Decreases the model\'s likelihood to repeat the same line verbatim.', maxToken: 'Max token', maxTokenTip: - 'Max tokens generated is 2,048 or 4,000, depending on the model. Prompt and completion share this limit. One token is roughly 1 English character.', + 'Max tokens depending on the model. Prompt and completion share this limit. One token is roughly 1 English character.', setToCurrentModelMaxTokenTip: 'Max token is updated to the maximum token of the current model 4,000.', }, tone: { diff --git a/web/i18n/lang/common.zh.ts b/web/i18n/lang/common.zh.ts index 84dc4d8042..534abc3e73 100644 --- a/web/i18n/lang/common.zh.ts +++ b/web/i18n/lang/common.zh.ts @@ -50,7 +50,7 @@ const translation = { 'Frequency penalty 是根据重复词在目前文本中的出现频率来对其进行惩罚。正值将不太可能重复常用单词和短语。', maxToken: '最大 Token', maxTokenTip: - '生成的最大令牌数为 2,048 或 4,000,取决于模型。提示和完成共享令牌数限制。一个令牌约等于 1 个英文或 半个中文字符。', + '生成的最大令牌数取决于模型。提示和完成共享令牌数限制。一个令牌约等于 1 个英文或 半个中文字符。', setToCurrentModelMaxTokenTip: '最大令牌数更新为当前模型最大的令牌数 4,000。', }, tone: {