Commit Graph

1446 Commits

Author SHA1 Message Date
ebolam 68d143b80c Merge branch 'united' of https://github.com/ebolam/KoboldAI into united 2022-07-15 12:30:18 -04:00
ebolam d91ed3141d Fix for non ascii files in edit mode 2022-07-15 12:30:02 -04:00
ebolam 9c136985a7
Merge branch 'henk717:united' into united 2022-07-15 12:29:00 -04:00
henk717 68110c5930
Merge branch 'KoboldAI:main' into united 2022-07-12 23:03:09 +02:00
henk717 025db3bd04
Merge pull request #138 from VE-FORBRYDERNE/lazy-loader
Fix for lazy loader in PyTorch 1.12
2022-07-12 23:02:58 +02:00
henk717 836759d826
Merge pull request #137 from VE-FORBRYDERNE/jaxlib
TPU Colab hotfix
2022-07-12 23:02:40 +02:00
vfbd 39d48495ce Fix for lazy loader in PyTorch 1.12
There is no `torch._StorageBase` in PyTorch 1.12, but otherwise it still
works.
2022-07-12 16:48:01 -04:00
vfbd 70aa182671 Restrict jaxlib version in TPU Colabs 2022-07-12 16:30:26 -04:00
henk717 f900a17f3c
Merge pull request #168 from VE-FORBRYDERNE/bloom
BLOOM support for TPU instances
2022-07-08 01:25:28 +02:00
vfbd d9e7ca5b48 Upload map file for BLOOM 2022-07-07 17:48:00 -04:00
henk717 9e140e3ba9
Merge branch 'KoboldAI:main' into united 2022-07-05 21:35:53 +02:00
henk717 dd6da50e58
Merge pull request #136 from VE-FORBRYDERNE/opt
Fix base OPT-125M and finetuned OPT models in Colab TPU instances
2022-07-05 21:35:39 +02:00
vfbd 2a78b66932 Fix base OPT-125M and finetuned OPT models in Colab TPU instances 2022-07-05 15:28:58 -04:00
vfbd c94f875608 Fix Z algorithm in basic phrase bias script 2022-07-05 14:43:58 -04:00
ebolam aedd7e966b Fix for edit files 2022-07-04 19:08:30 -04:00
Henk 736a39b10b gitignore update 2022-07-04 20:12:11 +02:00
Henk b76e82644a flask-session for conda 2022-07-04 20:07:11 +02:00
henk717 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
ebolam 8013bc2a98 Added background blur for popup file editor 2022-07-03 16:21:48 -04:00
ebolam 328c0a38d7 Removed breadcrumbs on file browser before the jail directory 2022-07-03 16:02:55 -04:00
henk717 fd44f0ded3
Merge branch 'KoboldAI:main' into united 2022-07-03 15:12:12 +02:00
Henk 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
henk717 a99518d0a8
Merge branch 'KoboldAI:main' into united 2022-07-02 12:59:53 +02:00
Henk e2f7fed99f Don't turn gamestarted off 2022-07-02 12:59:14 +02:00
henk717 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
vfbd aeed9bd8f7 Fix base fairseq dense models when using accelerate with a GPU 2022-07-01 20:16:39 -04:00
henk717 5d957e33ae
Merge branch 'KoboldAI:main' into united 2022-07-01 20:33:36 +02:00
henk717 90c5cebb6d
Merge pull request #134 from VE-FORBRYDERNE/editor
Editor fixes
2022-07-01 20:32:18 +02:00
vfbd c336a43544 Fix some remaining editor whitespace-fixing issues 2022-07-01 13:45:57 -04:00
vfbd 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
ebolam 74d8e5f71b File Manager button visual change 2022-06-30 19:52:26 -04:00
ebolam 3f8a7ab4bb Allowing edit in userscripts 2022-06-30 19:41:11 -04:00
ebolam 813540fe9b Added folder browser for softprompts and userscripts 2022-06-30 19:13:05 -04:00
ebolam 97e0df45d7 File Dialog complete 2022-06-30 15:57:27 -04:00
vfbd 1ff0a4b9a9 Submit button now waits for inlineedit/inlinedelete commands 2022-06-30 12:23:06 -04:00
vfbd 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
vfbd 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
vfbd accbaea991 Fix a problem where a story with only the prompt cannot be edited 2022-06-30 11:08:22 -04:00
ebolam 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
henk717 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
vfbd 048bd0ff3b Add support for setting the RNG seed and full determinism 2022-06-28 13:21:05 -04:00
henk717 72d661111d
Merge branch 'KoboldAI:main' into united 2022-06-28 18:37:31 +02:00
henk717 856e8d5c86
Merge pull request #133 from VE-FORBRYDERNE/whitespace
Fix the cleanupChunkWhitespace function
2022-06-28 18:22:24 +02:00
vfbd d55b4d9bbc Fix the cleanupChunkWhitespace function 2022-06-28 12:18:57 -04:00
Henk 496f6dcf3f Add docker usage info 2022-06-28 16:28:00 +02:00
Henk 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
Henk cba38bf3e4 Automatically update requirements 2022-06-28 15:17:32 +02:00
henk717 5f1c98af8e
Merge pull request #164 from ebolam/united
Fix for saved breakmodel settings on custom models
2022-06-27 16:18:09 +02:00
ebolam 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
henk717 2207ac4b0a
Merge branch 'KoboldAI:main' into united 2022-06-26 20:36:13 +02:00