From 0de53463e6df0ff69e59e404bd321e8b60c6e56d Mon Sep 17 00:00:00 2001 From: cocktailpeanut Date: Mon, 13 Mar 2023 16:11:47 -0400 Subject: [PATCH] Update - manually setting home: handle by passing in the argument instead of using the ENV variable (for flexibility) - installed() API - better exception handling - request() now takes a "url" attribute (Previously the url was being set in the constructor, this is not really correct, so moved it to the request() method) - added 2 latest attributes: `repeat_last_n`, `repeat_penalty` - changed `skipEnd` to `skip_end` to be consistent with the rest of the request spec - web UI update: less brutalist. expose all customizable knobs in the header. display all currently installed models using the new `installed()` api --- .gitignore | 2 + bin/web/views/index.ejs | 168 ++++- docs/README.md | 77 ++- index.js | 97 ++- package-lock.json | 1336 +++++++++++++++++++++++++++++++++++++++ yarn.lock | 270 ++++---- 6 files changed, 1772 insertions(+), 178 deletions(-) create mode 100644 package-lock.json diff --git a/.gitignore b/.gitignore index 5c2b9e2..324f7cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .env .DS_Store +venv node_modules +llama.cpp diff --git a/bin/web/views/index.ejs b/bin/web/views/index.ejs index b5e91df..f558090 100644 --- a/bin/web/views/index.ejs +++ b/bin/web/views/index.ejs @@ -1,18 +1,36 @@ Dalai LLaMA +
- -
- +
+
+
+
+ +
+
TIP: shift+enter for multiple lines
+
-
TIP: shift+enter for multiple lines