Add more sample scripts

This commit is contained in:
Gnome Ann
2022-01-01 01:34:32 -05:00
parent e71c2d72cd
commit 7cae07a53f
12 changed files with 441 additions and 2 deletions

View File

@ -1,7 +1,20 @@
-- Basic phrase bias
-- Makes certain sequences of tokens more or less likely to appear than normal.
-- Run this script once, then see the .conf file in the same directory as this
-- script for more information.
-- This file is part of KoboldAI.
--
-- KoboldAI is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU Affero General Public License for more details.
--
-- You should have received a copy of the GNU Affero General Public License
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
kobold = require("bridge")() -- This line is optional and is only for EmmyLua type annotations
local userscript = {} ---@class KoboldUserScript