Commit Graph

161 Commits

Author SHA1 Message Date
cocktailpeanut e4f678efa2
Merge pull request #229 from metrafonic/main
Added docker files (including docker compose)
2023-03-22 17:13:15 -04:00
Mathias Hedberg 61e2d20be6 added docker files (including docker compose) 2023-03-22 21:58:32 +01:00
cocktailpeanut d8fcafe644 download alpaca from huggingface + installer fix
installer fix => don't stop when rename fails, it's ok. just try renaming but if it doesn't exist it should just ignore because it means there's no file to rename
2023-03-22 16:18:21 -04:00
cocktailpeanut 0404c339a8 cleanup 2023-03-22 14:05:04 -04:00
cocktailpeanut dde228fa37 fixes
1. now that prompts are more complex, do NOT submit with enter. Submit is now only activated by pressing the "Go" button
2. Cache the selected model in browser
3. Windows Encoding is solved (escape sequences)
2023-03-22 13:57:00 -04:00
cocktailpeanut 446dffa2fc cleanup 2023-03-22 13:03:24 -04:00
cocktailpeanut d56cb9e190 cleanup 2023-03-22 13:00:32 -04:00
cocktailpeanut 7ceafb761c Merge branch 'main' of https://github.com/cocktailpeanut/dalai 2023-03-22 12:57:23 -04:00
cocktailpeanut c7a1910eae handling special escape sequences
\b, \t, \r, \n, \f should be handled differently on windows

1. need to buffer them and wait until the full escape sequence is discovered, because sometimes "\r" comes in as "\" and "r" separately.
2. ignore the spaces at the beginning
2023-03-22 12:55:54 -04:00
cocktailpeanut 69b9458742 save config to localstorage 2023-03-22 12:39:14 -04:00
cocktailpeanut ff023d3a3e get rid of locks 2023-03-22 06:37:04 -04:00
cocktailpeanut a203853bdd adding back threads 2023-03-22 05:37:09 -04:00
cocktailpeanut 6b1c93ea42 Cancel request 2023-03-22 05:16:58 -04:00
cocktailpeanut 56c2cdf3dd Merge branch 'main' of https://github.com/cocktailpeanut/dalai 2023-03-22 04:42:01 -04:00
cocktailpeanut f569b1a64e update 2023-03-22 04:41:59 -04:00
cocktailpeanut a95aa58b08
Update link to dalai channel 2023-03-22 03:37:01 -04:00
cocktailpeanut 9702ba4252
Merge pull request #199 from keldenl/soft-prompts
[Web-UI] Add support for prompt templates via UI dropdown
2023-03-22 01:35:48 -04:00
cocktailpeanut d63771b5ed
Merge pull request #175 from cdancette/patch-1
Update README.md - nodejs 18
2023-03-22 01:35:32 -04:00
cocktailpeanut 99f124e5d1
Merge pull request #182 from ArjanAswal/main
Update README.md to update alpaca 13B model
2023-03-22 01:35:10 -04:00
cocktailpeanut bf221aee72
Merge pull request #194 from Mommotexx/alpacaIfElseOptimize
Optimize from if/else clause to switch statement for the torrent down…
2023-03-22 01:34:34 -04:00
cocktailpeanut 4a66b5d744
Merge branch 'main' into soft-prompts 2023-03-22 01:33:07 -04:00
cocktailpeanut dc8658ae07
Merge pull request #107 from matbee-eth/main
Add threads support to front end ui, showing system cpu count by default
2023-03-22 01:27:53 -04:00
cocktailpeanut 7716e7480c
Merge pull request #192 from ItsPi3141/patch-1
Improved parameters
2023-03-22 01:24:51 -04:00
cocktailpeanut be4235e7b7
Merge pull request #196 from francip/main
Ignore the model/.cpp directories
2023-03-22 01:24:28 -04:00
keldenl a3dd41f7bc add reset button 2023-03-21 20:22:35 -07:00
keldenl cf2a2d5e37 update prompts again 2023-03-21 20:22:18 -07:00
Marcus Vinje Johansen 802e773314 Optimize from if/else clause to switch statement for the torrent downloading. 2023-03-22 00:10:09 +01:00
keldenl 74ee3e6ca3 update to automatically have cursor select >PROMPT for faster prompting 2023-03-21 15:15:42 -07:00
keldenl 65a90ea1bc more prompt tweaks 2023-03-21 15:15:22 -07:00
keldenl 4fadbda1db simplify implementation. default prompts saved in same directory but custom ones in user directory 2023-03-21 14:35:35 -07:00
keldenl a0c3f52ac0 also send editability from the BE 2023-03-21 13:18:47 -07:00
keldenl 603dd6bc91 update <prompt> to >prompt so u dont need to delete both arrow bois 2023-03-21 13:14:30 -07:00
keldenl 9766862997 update the BE to accomodate for custom and default prompts, so future updates to default prompts won't overwrite the custom ones 2023-03-21 13:10:38 -07:00
keldenl 3ac56856d6 add some prompts 2023-03-21 12:47:25 -07:00
Pi 1eced0ab5e
Improved parameters 2023-03-21 11:37:10 -07:00
keldenl 8f123459f8 Merge remote-tracking branch 'upstream/main' into soft-prompts 2023-03-21 10:45:51 -07:00
keldenl 14ff0f9ce1 add support for prompt selection in FE with some examples 2023-03-21 09:50:38 -07:00
keldenl d94d797171 rename to prompts 2023-03-21 09:50:21 -07:00
keldenl 8befdbc8b4 add new endpoint that reads ./prompts 2023-03-21 09:50:13 -07:00
Arjan Aswal 5bdb897083
Update README.md to update alpaca 13B model 2023-03-21 20:14:07 +05:30
Corentin Dancette 17aae794df
Update README.md - nodejs 18 2023-03-21 10:50:22 +01:00
cocktailpeanut de8351215b tweaking the default config 2023-03-21 04:42:04 -04:00
cocktailpeanut 7f437386e0 html mode vs text mode
pass `html: true` to get the html version. otherwise plain text.
2023-03-21 04:41:21 -04:00
cocktailpeanut 5719c2d867 Return HTML encoded characters by default + Force UTF8 on windows 2023-03-21 04:17:39 -04:00
cocktailpeanut 6e101cde2d ANSI FIX 2023-03-21 01:43:00 -04:00
cocktailpeanut 42be4fa6cc
Merge pull request #146 from Doocter/patch-1
Fix - README.md
2023-03-20 14:31:13 -04:00
cocktailpeanut 044289e642
Merge pull request #149 from Jaseunda/main
fix typo on readme.md
2023-03-20 14:31:01 -04:00
cocktailpeanut 1742b73dd4 Alpaca 13B 2023-03-20 13:40:47 -04:00
Franci Penov c7ba3521d6 Ignore the model/.cpp directories 2023-03-20 09:59:08 -07:00
Jaseunda a0700688ec fix typo on readme.md 2023-03-20 20:30:23 +08:00