From 722801bb5002e43b848f577c1af9972b7157fe14 Mon Sep 17 00:00:00 2001 From: Mike Weldon Date: Wed, 16 Aug 2023 22:14:04 -0700 Subject: [PATCH] Add logit biases for NovelAI --- public/index.html | 47 ++++++- public/script.js | 2 +- public/scripts/nai-settings.js | 218 ++++++++++++++++++++++++++++++++- public/scripts/openai.js | 2 +- public/style.css | 35 ++++++ server.js | 8 +- 6 files changed, 305 insertions(+), 7 deletions(-) diff --git a/public/index.html b/public/index.html index 233135e62..aae8629a6 100644 --- a/public/index.html +++ b/public/index.html @@ -857,7 +857,7 @@ 3
- Typical Sampling + Typical P Sampling 4
@@ -901,6 +901,40 @@
+ +
+ Logit Bias +
+
+ Helps to ban or reinforce the usage of certain tokens. +
+
+ + + + + + +
+
+
+ View / Edit bias preset +
+
+
+
+ Add bias entry +
+
+
+
+
@@ -3783,6 +3817,17 @@
+ +
+
+ + + + +
+
+ +