1
0
Fork 0
mirror of https://gitlab.com/niansa/discord_llama.git synced 2025-03-06 20:48:25 +01:00

Fixed prompt and enabled mlock

This commit is contained in:
niansa/tuxifan 2023-04-03 10:05:45 +02:00
parent 48bcb29654
commit ba0d17bef1

View file

@ -114,7 +114,7 @@ class Bot {
if (!llm) {
// Create params
LM::Inference::Params params;
params.use_mlock = false;
params.use_mlock = true;
params.temp = 0.4f;
params.n_repeat_last = 128;
params.repeat_penalty = 1.273333334f;
@ -162,7 +162,7 @@ class Bot {
"Bob: "+bot.me.username+" Wie geht es dir?\n"
+bot.me.username+": Mir geht es ganz gut! :-)\n"
"Ecki: Hey "+bot.me.username+", was sind 10 mal 90??\n"
+bot.me.username+": das sind 900! Wenn man mal 10 oder so rechnet, muss man nur die Anzahl der Nullen übertragen.\n", cb);
+bot.me.username+": das sind 900!\n", cb);
// Delete progress message
bot.message_delete(msg.id, msg.channel_id);
});