Compare commits

...

5 Commits
1.0.3 ... 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
2 changed files with 10 additions and 3 deletions

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">
@@ -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)