Compare commits

...

7 Commits
1.0.2 ... 1.0.5

Author SHA1 Message Date
SillyLossy
c617b7e7d5 Fix oobabooga's API (added encoder rep pen) 2023-03-16 10:46:00 +02:00
SillyLossy
c1699b4193 Remove looping in oobabooga's API 2023-03-14 16:24:24 +02:00
Cohee
4488110ea0 Update readme.md 2023-03-13 19:27:25 +02:00
Cohee
6a5a0efff9 Update readme.md 2023-03-12 23:31:15 +02:00
Cohee
61a8c65b2d Update readme.md 2023-03-12 23:31:01 +02:00
SillyLossy
abe5aa7cc0 Extra notice for ooba users 2023-03-12 22:40:15 +02:00
Cohee
1668b94f97 Update readme.md 2023-03-12 22:25:40 +02:00
3 changed files with 16 additions and 6 deletions

View File

@@ -530,8 +530,11 @@
target="_blank">
oobabooga/text-generation-webui
</a></div>
<span>Make sure you run it with
<pre>--no-stream</pre> option!
<span>Make sure you run it:
<ul>
<li>with <pre>--no-stream</pre> option</li>
<li>in notebook mode (not <pre>--cai-chat</pre> or <pre>--chat</pre>)</li>
</ul>
</span>
<form action="javascript:void(null);" method="post" enctype="multipart/form-data">

View File

@@ -1509,6 +1509,7 @@ $(document).ready(function () {
textgenerationwebui_settings.top_p, // top_p
textgenerationwebui_settings.typical_p, // typical_p
textgenerationwebui_settings.rep_pen, // repetition_penalty
1.0, // encoder rep pen
textgenerationwebui_settings.top_k, // top_k
0, // min_length
textgenerationwebui_settings.rep_pen_size, // no_repeat_ngram_size
@@ -1583,8 +1584,9 @@ $(document).ready(function () {
getMessage = data.results[0].text;
} else if (main_api == 'textgenerationwebui') {
getMessage = data.data[0];
if (getMessage == null) {
runGenerate("");
if (getMessage == null || data.error) {
popup_type = 'text';
callPopup('<h3>Got empty response from Text generation web UI. Try restarting the API with recommended options.</h3>');
return;
}
getMessage = getMessage.substring(finalPromt.length);

View File

@@ -1,4 +1,5 @@
### Silly TavernAI mod
### Silly TavernAI 1.2.8 mod
#### Update to 1.3.0 is likely not happenning, but I _may_ backport some features in future
<img width="400" alt="image" src="https://user-images.githubusercontent.com/18619528/224549531-ab30db22-fe33-49c5-81a8-945c543a1e05.png">
@@ -7,7 +8,7 @@
1. World Info support
1. Character search bar
1. New UI style (thanks @RossAscends)
1. oobabooga's Text Generation WebUI support (thanks @im-not-tom)
1. oobabooga's Text Generation WebUI support (thanks @im-not-tom).<br>**Make sure that --no-stream option is added and WebUI is running in notebook mode (not in --cai-chat or --chat)**
1. Group Chats support
1. Extensibility with various plugins (character expressions, memory simulation, etc.)<br>More details here: https://github.com/SillyLossy/TavernAI-extras
1. Soft Prompt selector for KoboldAI
@@ -17,3 +18,7 @@
#### Questions or suggestions?
Contact me on Discord: Cohee#1207
#### License
* TAI Base: Unknown
* My additions: Public domain (do whatever you want)