Commit Graph

1583 Commits

Author SHA1 Message Date
aedd7e966b Fix for edit files 2022-07-04 19:08:30 -04:00
736a39b10b gitignore update 2022-07-04 20:12:11 +02:00
b76e82644a flask-session for conda 2022-07-04 20:07:11 +02:00
e8c39992a1 Merge pull request #166 from ebolam/united
Add file browser to soft prompts and user scripts
2022-07-04 19:52:05 +02:00
8013bc2a98 Added background blur for popup file editor 2022-07-03 16:21:48 -04:00
328c0a38d7 Removed breadcrumbs on file browser before the jail directory 2022-07-03 16:02:55 -04:00
fd44f0ded3 Merge branch 'KoboldAI:main' into united 2022-07-03 15:12:12 +02:00
d041ec0921 Safer defaults and more flexibility
There have been a lot of reports from newer users who experience AI breakdown because not all models properly handle 2048 max tokens. 1024 is the only value that all models support and was the original value KoboldAI used. This commit reverts the decision to increase this to 2048, any existing configurations are not effected. Users who wish to increase the max tokens can do so themselves. Most models handle up to 1900 well (The GPT2 models are excluded), for many you can go all the way. (It is currently not yet known why some finetunes cause a decrease in maxtoken support,

In addition this commit contains a request for more consistent slider behavior, allowing the sliders to be changed at 0.01 intervals instead of some sliders being capped to 0.05.
2022-07-03 15:07:54 +02:00
a99518d0a8 Merge branch 'KoboldAI:main' into united 2022-07-02 12:59:53 +02:00
e2f7fed99f Don't turn gamestarted off 2022-07-02 12:59:14 +02:00
74547b31d6 Merge pull request #167 from VE-FORBRYDERNE/accelerate
Fix base fairseq dense models when using accelerate with a GPU
2022-07-02 02:19:41 +02:00
aeed9bd8f7 Fix base fairseq dense models when using accelerate with a GPU 2022-07-01 20:16:39 -04:00
5d957e33ae Merge branch 'KoboldAI:main' into united 2022-07-01 20:33:36 +02:00
90c5cebb6d Merge pull request #134 from VE-FORBRYDERNE/editor
Editor fixes
2022-07-01 20:32:18 +02:00
c336a43544 Fix some remaining editor whitespace-fixing issues 2022-07-01 13:45:57 -04:00
c3eade8046 Fix editor bug in iOS when adding newline at end of the last action
Not only does iOS also have that issue that Chromium-based browsers
have, but it also has a different issue where it selects all text in the
last chunk of your story, so I added some code to deselect the text in
that case.
2022-07-01 13:12:57 -04:00
74d8e5f71b File Manager button visual change 2022-06-30 19:52:26 -04:00
3f8a7ab4bb Allowing edit in userscripts 2022-06-30 19:41:11 -04:00
813540fe9b Added folder browser for softprompts and userscripts 2022-06-30 19:13:05 -04:00
97e0df45d7 File Dialog complete 2022-06-30 15:57:27 -04:00
1ff0a4b9a9 Submit button now waits for inlineedit/inlinedelete commands 2022-06-30 12:23:06 -04:00
cccf8296fc Fix enter key sometimes putting two newlines in editor
This happens when, in a Chromium-based browser, you try to insert a
newline at the end of the last action of your story.
2022-06-30 12:03:39 -04:00
ce5f4d3dda Click on blank part of editor to defocus in Chromium based browsers
In Chromium based browsers you can now click the blank part of the
editor to submit changes. This is to maintain consistency with the
editor behaviour in Firefox which already did this when you clicked on
the blank part of the editor.
2022-06-30 11:31:54 -04:00
accbaea991 Fix a problem where a story with only the prompt cannot be edited 2022-06-30 11:08:22 -04:00
58418c4aa5 Basic file browser with edit and delete functionality
Can be shown by going to /popup_test in a second tab.
2022-06-30 09:44:04 -04:00
979ea074f2 Merge pull request #165 from VE-FORBRYDERNE/seed
Add support for setting the RNG seed and full determinism
2022-06-28 19:42:40 +02:00
048bd0ff3b Add support for setting the RNG seed and full determinism 2022-06-28 13:21:05 -04:00
72d661111d Merge branch 'KoboldAI:main' into united 2022-06-28 18:37:31 +02:00
856e8d5c86 Merge pull request #133 from VE-FORBRYDERNE/whitespace
Fix the cleanupChunkWhitespace function
2022-06-28 18:22:24 +02:00
d55b4d9bbc Fix the cleanupChunkWhitespace function 2022-06-28 12:18:57 -04:00
496f6dcf3f Add docker usage info 2022-06-28 16:28:00 +02:00
33b8cec452 Standalone Docker
KoboldAI United now has a working official docker available at henk717/koboldai:united . In the spirit of our project, this commit open sources the files used to build the docker. docker-helper.sh is in the main folder, so that it is not overwritten during updates. Instead this file is copied by the Dockerfile and should be updated trough container updates.
2022-06-28 16:23:21 +02:00
cba38bf3e4 Automatically update requirements 2022-06-28 15:17:32 +02:00
5f1c98af8e Merge pull request #164 from ebolam/united
Fix for saved breakmodel settings on custom models
2022-06-27 16:18:09 +02:00
edd6dd7cd7 Fix for saved breakmodel settings on custom models
Fix for unit tests with new disk breakmodel
2022-06-27 10:12:54 -04:00
2207ac4b0a Merge branch 'KoboldAI:main' into united 2022-06-26 20:36:13 +02:00
ad9ec6eaba Merge pull request #132 from VE-FORBRYDERNE/whitespace-cleanup
Story whitespace cleanup backport
2022-06-26 20:35:50 +02:00
46678931b2 Better sentence spacing 2022-06-26 20:27:21 +02:00
6576f5c01d Make sure editor changes are applied before submitting
(cherry picked from commit ae41ad298c)
2022-06-26 14:06:57 -04:00
ebba79fed6 Remove trailing whitespace from submissions
(cherry picked from commit b99d1449c9)
2022-06-26 14:06:34 -04:00
6ba7429eea Don't add sentence spacing if submission is empty
When you retry, it actually sends an empty submission, so if you have
add sentence spacing on, retrying could add an extra action with a
single space.

(cherry picked from commit 151407a001)
2022-06-26 14:06:18 -04:00
9d09ae5fea Clean up whitespace in the editor as well
(cherry picked from commit 6e138db1c0)
2022-06-26 14:05:04 -04:00
2a4d37ce60 Clean up whitespace at the end of actions when loading story
Specifically, we merge blank actions into the next action and we move
whitespace at the end of non-blank actions to the beginning of the next
action.

(cherry picked from commit 4b16600e49)
2022-06-26 14:04:36 -04:00
e30abd209f Preserve whitespace in the editor
(cherry picked from commit 793d788706)
2022-06-26 14:04:16 -04:00
8cea194809 Merge pull request #163 from VE-FORBRYDERNE/whitespace-cleanup
More story whitespace cleanup
2022-06-26 19:50:28 +02:00
ae41ad298c Make sure editor changes are applied before submitting 2022-06-26 13:40:58 -04:00
b99d1449c9 Remove trailing whitespace from submissions 2022-06-26 13:15:55 -04:00
151407a001 Don't add sentence spacing if submission is empty
When you retry, it actually sends an empty submission, so if you have
add sentence spacing on, retrying could add an extra action with a
single space.
2022-06-26 13:02:22 -04:00
fa97d28cb3 Nerys V2 for United 2022-06-25 14:06:51 +02:00
9e7eb80db4 Nerys V2 part 2 2022-06-25 14:03:19 +02:00