From 6cfe395d7c6ff32801d72feb933b910c131acfd7 Mon Sep 17 00:00:00 2001 From: Sunner Sun Date: Sun, 13 Aug 2023 22:43:13 +0800 Subject: [PATCH] feat: upgrade to LMSYS chatglm2-6b & vicuna-33b --- src/bots/lmsys/ChatGLMBot.js | 2 +- src/bots/lmsys/VicunaBot.js | 2 +- src/i18n/locales/en.json | 4 +++- src/i18n/locales/zh.json | 4 +++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/bots/lmsys/ChatGLMBot.js b/src/bots/lmsys/ChatGLMBot.js index c1a9e83808..0e8538deb0 100644 --- a/src/bots/lmsys/ChatGLMBot.js +++ b/src/bots/lmsys/ChatGLMBot.js @@ -4,7 +4,7 @@ export default class ChatGLMBot extends LMSYSBot { static _brandId = "lmsys"; // Brand id of the bot, should be unique. Used in i18n. static _className = "ChatGLMBot"; // Class name of the bot static _logoFilename = "chatglm-logo.svg"; // Place it in public/bots/ - static _model = "chatglm-6b"; + static _model = "chatglm2-6b"; constructor() { super(); diff --git a/src/bots/lmsys/VicunaBot.js b/src/bots/lmsys/VicunaBot.js index e262520fc2..a5c6a3e7db 100644 --- a/src/bots/lmsys/VicunaBot.js +++ b/src/bots/lmsys/VicunaBot.js @@ -4,7 +4,7 @@ export default class VicunaBot extends LMSYSBot { static _brandId = "lmsys"; // Brand id of the bot, should be unique. Used in i18n. static _className = "VicunaBot"; // Class name of the bot static _logoFilename = "vicuna-logo.jpeg"; // Place it in public/bots/ - static _model = "vicuna-13b"; + static _model = "vicuna-33b"; constructor() { super(); diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 10ed7c4f78..5dcac065c2 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -130,7 +130,9 @@ "lmsys": { "name": "LMSYS", "vicuna-13b": "vicuna-13b", + "vicuna-33b": "vicuna-33b", "chatglm-6b": "chatglm-6b", + "chatglm2-6b": "chatglm2-6b", "alpaca-13b": "alpaca-13b", "claude-1": "claude-1" }, @@ -260,4 +262,4 @@ "25": "25", "50": "50", "100": "100" -} +} \ No newline at end of file diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 43384f1979..f6b71d9761 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -130,7 +130,9 @@ "lmsys": { "name": "LMSYS", "vicuna-13b": "vicuna-13b", + "vicuna-33b": "vicuna-33b", "chatglm-6b": "chatglm-6b", + "chatglm2-6b": "chatglm2-6b", "alpaca-13b": "alpaca-13b", "claude-1": "claude-1" }, @@ -260,4 +262,4 @@ "25": "25", "50": "50", "100": "100" -} +} \ No newline at end of file