Commit Graph

1217 Commits

Author SHA1 Message Date
ebolam
097aff4e01 Fix for scrolling when using options 2022-10-21 09:12:35 -04:00
somebody
911bda76d4 Expand attention bias 2022-10-19 21:06:01 -05:00
ebolam
0a81727fc2 Merge commit 'refs/pull/227/head' of https://github.com/ebolam/KoboldAI into UI2 2022-10-19 10:32:04 -04:00
ebolam
3d6a939a4e Fix for blank chat mode data causing crashes 2022-10-18 20:23:54 -04:00
henk717
f8be854e09 Merge branch 'KoboldAI:main' into united 2022-10-17 21:06:10 +02:00
ebolam
cde6c8d892 WI Highlighting speedup 2022-10-17 14:54:23 -04:00
vfbd
9ff50d81fd Fix regex for the prompt parameter of the POST /story/end endpoint 2022-10-17 14:36:23 -04:00
ebolam
f044f042d7 Fix for chat mode trimming 2022-10-16 18:30:44 -04:00
ebolam
70300dc942 Bug Fix 2022-10-15 19:54:33 -04:00
ebolam
d5be94d841 Minor Spacing Fix for story loading 2022-10-15 19:47:14 -04:00
ebolam
049096e422 Merge pull request #213 from one-some/ui2-attn-bias
Attention bias test
2022-10-15 18:16:02 -04:00
ebolam
c3f44adea8 Added stopping criteria for chat mode to prevent it from generating text for user 2022-10-15 18:14:10 -04:00
ebolam
9b9f9e9a44 Fix for double action bug 2022-10-15 14:57:50 -04:00
ebolam
6dde9d33ca Fix for double prompt in AI text 2022-10-15 14:56:34 -04:00
somebody
fdbf79736f Attention Bias Test 2022-10-14 23:22:48 -05:00
somebody
5f86bfeee4 Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into ui2-attn-bias 2022-10-14 22:53:35 -05:00
somebody
4567f74f0e Download check for models in ui 2022-10-14 14:57:04 -05:00
ebolam
759dbc3c54 Fix for horde/API 2022-10-14 13:16:07 -04:00
Llama
e5d0cc7b49 Fix exception thrown by kobold.modeltype in Lua
Fixes this exception:
  File "aiserver.py", line 3389, in lua_get_modeltype
    hidden_size = get_hidden_size_from_model(model)
NameError: name 'get_hidden_size_from_model' is not defined

The kobold.modeltype method eventually attempts to call
get_hidden_size_from_model in Python, but this method
was previously defined only within a local scope and so
is not visible from within lua_get_modeltype.  Since
get_hidden_size_from_model only accesses its model argument,
there is no reason not to make it a module-level method.

Also change the severity of several more Lua error logs to error.
2022-10-14 09:20:33 -07:00
ebolam
022b729cd9 Fix for dynamic world info not properly disabling
Fix for world info drag (still can't select text)
2022-10-14 10:50:56 -04:00
ebolam
61774bffaa Fix for "blinking" world info cards 2022-10-13 12:21:49 -04:00
ebolam
fbc7a3ff3d Chat mode cleanup 2022-10-13 10:46:42 -04:00
ebolam
b5b08c78d0 Minor cleanup, better logging, debug on chat mode 2022-10-13 08:07:16 -04:00
Llama
8357c3e485 Merge branch 'united' into feature/anote-kwarg 2022-10-12 23:37:45 -07:00
Llama
4a01f345de Add include_anote kwarg to lua_compute_context.
Add an optional keyword argument to lua_compute_context to control
whether the author's note should be included in the context.  The
default value is true, so if the include_anote kwarg is not specified
then the author's note will be included, which was the default
behavior prior to this change.

Also update the Lua API documentation to describe this kwarg.
2022-10-12 23:18:19 -07:00
ebolam
36230e6804 Original UI Token streaming fixed 2022-10-12 14:26:07 -04:00
ebolam
ac1687195c Fix for visual bug on Chrome 2022-10-12 14:10:25 -04:00
ebolam
04689df322 Token Streaming Fixes for UI1 2022-10-12 12:48:34 -04:00
Henk
64715b18d6 Version bump 2022-10-12 14:54:11 +02:00
ebolam
56d8138e93 Welcome fix for original ui 2022-10-11 20:56:00 -04:00
ebolam
eebd03483b Welcome text v1 and slight mod to tooltip border 2022-10-11 20:45:09 -04:00
Henk
d5143eeb80 LUA Error as Error 2022-10-12 01:23:00 +02:00
onesome
2af27323fc More work on substitutions 2022-10-10 18:05:42 -05:00
somebody
0174b96ec1 Fix requesting a lower batch count than numseqs 2022-10-08 13:13:03 -05:00
ebolam
3f309c390f fix for world info box resizing 2022-10-07 18:52:44 -04:00
ebolam
140d3546df Fix for missing prompt on prompt only story load 2022-10-07 15:46:01 -04:00
ebolam
dfb05968c9 Merge commit 'refs/pull/188/head' of https://github.com/ebolam/KoboldAI into UI2 2022-10-07 14:31:59 -04:00
ebolam
3f21034704 Colab debug for 20B model error 2022-10-07 14:28:44 -04:00
ebolam
899c47b38c Fix for auto-save 2022-10-07 14:03:23 -04:00
ebolam
52b521dde7 Context viewer update
Context bar update
in AI class update
2022-10-07 09:30:33 -04:00
ebolam
abac61e41a Fix for scroll 2022-10-06 19:22:33 -04:00
ebolam
a41372cb79 Potential fix for scrolling 2022-10-05 15:24:55 -04:00
ebolam
265152c515 Fix for world info highlighting 2022-10-05 11:00:36 -04:00
ebolam
7f9c26332d Hopefully better infinity scroll 2022-10-05 09:41:29 -04:00
somebody
7746a43c96 Attention bias experiment 2022-10-03 21:30:17 -05:00
ebolam
b9c1ef7bfc Remove debug 2022-10-03 15:05:48 -04:00
ebolam
78fb4ba1e4 V1 story load streaming 2022-10-03 15:01:46 -04:00
ebolam
31760a19e1 Initial infinite scroll version 2022-10-03 14:21:01 -04:00
vfbd
bdfa6d86b7 Seed has to be a 64-bit unsigned int or PyTorch will throw an error
tpu_mtj_backend's seed can be an integer of arbitrary size but we will
limit it to a 64-bit unsigned integer anyways for consistency.
2022-10-02 17:50:32 -04:00
vfbd
dd1c25241d Allow sampler seed and full determinism to be read/written in /config 2022-10-02 17:43:54 -04:00