change default World series prefix to User/Assistant
This commit is contained in:
parent
627a20936d
commit
43cfab5d4b
@ -356,8 +356,8 @@ class TextRWKV(AbstractRWKV):
|
|||||||
self.END_OF_LINE = 187
|
self.END_OF_LINE = 187
|
||||||
else:
|
else:
|
||||||
self.rwkv_type = RWKVType.World
|
self.rwkv_type = RWKVType.World
|
||||||
self.user = "Question"
|
self.user = "User"
|
||||||
self.bot = "Answer"
|
self.bot = "Assistant"
|
||||||
self.END_OF_LINE = 11
|
self.END_OF_LINE = 11
|
||||||
|
|
||||||
self.AVOID_REPEAT_TOKENS = []
|
self.AVOID_REPEAT_TOKENS = []
|
||||||
|
@ -417,8 +417,8 @@ const ChatPanel: FC = observer(() => {
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
let savedContent: string = '';
|
let savedContent: string = '';
|
||||||
const isWorldModel = commonStore.getCurrentModelConfig().modelParameters.modelName.toLowerCase().includes('world');
|
const isWorldModel = commonStore.getCurrentModelConfig().modelParameters.modelName.toLowerCase().includes('world');
|
||||||
const user = isWorldModel ? 'Question' : 'Bob';
|
const user = isWorldModel ? 'User' : 'Bob';
|
||||||
const bot = isWorldModel ? 'Answer' : 'Alice';
|
const bot = isWorldModel ? 'Assistant' : 'Alice';
|
||||||
commonStore.conversationOrder.forEach((uuid) => {
|
commonStore.conversationOrder.forEach((uuid) => {
|
||||||
if (uuid === welcomeUuid)
|
if (uuid === welcomeUuid)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user