sillytavern 1.5.5 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/.dockerignore +2 -1
  2. package/.github/workflows/build-and-publish-release-dev.yml +37 -0
  3. package/.github/workflows/build-and-publish-release-main.yml +3 -12
  4. package/Dockerfile +1 -1
  5. package/colab/GPU.ipynb +6 -0
  6. package/docker/docker-entrypoint.sh +1 -1
  7. package/package.json +28 -7
  8. package/poe-client.js +4 -4
  9. package/public/NovelAI Settings/Chat-Clio.settings +20 -0
  10. package/public/NovelAI Settings/Classic-Euterpe.settings +4 -5
  11. package/public/NovelAI Settings/Classic-Krake.settings +4 -5
  12. package/public/NovelAI Settings/Fresh-Coffee-Clio.settings +18 -0
  13. package/public/NovelAI Settings/Keelback-Clio.settings +18 -0
  14. package/public/NovelAI Settings/Long-Press-Clio.settings +19 -0
  15. package/public/NovelAI Settings/Talker-Chat-Clio.settings +19 -0
  16. package/public/NovelAI Settings/Vingt-Un-Clio.settings +19 -0
  17. package/public/TextGen Settings/Beam Search.settings +3 -1
  18. package/public/TextGen Settings/Contrastive Search.settings +3 -1
  19. package/public/TextGen Settings/Default.settings +3 -1
  20. package/public/TextGen Settings/Deterministic.settings +3 -1
  21. package/public/TextGen Settings/Kobold (Godlike).settings +3 -1
  22. package/public/TextGen Settings/Kobold (Liminal Drift).settings +3 -1
  23. package/public/TextGen Settings/LLaMa-Precise.settings +3 -1
  24. package/public/TextGen Settings/Naive.settings +3 -1
  25. package/public/TextGen Settings/NovelAI (Best Guess).settings +3 -1
  26. package/public/TextGen Settings/NovelAI (Decadence).settings +3 -1
  27. package/public/TextGen Settings/NovelAI (Genesis).settings +3 -1
  28. package/public/TextGen Settings/NovelAI (Lycaenidae).settings +3 -1
  29. package/public/TextGen Settings/NovelAI (Ouroboros).settings +3 -1
  30. package/public/TextGen Settings/NovelAI (Pleasing Results).settings +3 -1
  31. package/public/TextGen Settings/NovelAI (Sphinx Moth).settings +3 -1
  32. package/public/TextGen Settings/NovelAI (Storywriter).settings +3 -1
  33. package/public/TextGen Settings/Pygmalion.settings +3 -1
  34. package/public/context/Classic.json +5 -0
  35. package/public/context/Pygmalion.json +5 -0
  36. package/public/css/toastr.min.css +1 -0
  37. package/public/index.html +518 -186
  38. package/public/instruct/Alpaca.json +1 -0
  39. package/public/instruct/Koala.json +2 -1
  40. package/public/instruct/Metharme.json +1 -0
  41. package/public/instruct/Vicuna 1.0.json +1 -0
  42. package/public/instruct/Vicuna 1.1.json +2 -1
  43. package/public/instruct/WizardLM.json +2 -1
  44. package/public/notes/content.md +105 -78
  45. package/public/script.js +2021 -1180
  46. package/public/scripts/RossAscends-mods.js +87 -38
  47. package/public/scripts/bookmarks.js +26 -3
  48. package/public/scripts/context-template.js +214 -0
  49. package/public/scripts/eventemitter.js +77 -0
  50. package/public/scripts/extensions/caption/index.js +15 -12
  51. package/public/scripts/extensions/caption/style.css +0 -21
  52. package/public/scripts/extensions/dice/index.js +9 -5
  53. package/public/scripts/extensions/dice/style.css +4 -4
  54. package/public/scripts/extensions/expressions/index.js +514 -385
  55. package/public/scripts/extensions/expressions/style.css +146 -124
  56. package/public/scripts/extensions/floating-prompt/index.js +101 -40
  57. package/public/scripts/extensions/floating-prompt/manifest.json +1 -1
  58. package/public/scripts/extensions/floating-prompt/style.css +23 -6
  59. package/public/scripts/extensions/infinity-context/index.js +503 -0
  60. package/public/scripts/extensions/infinity-context/manifest.json +14 -0
  61. package/public/scripts/extensions/infinity-context/style.css +7 -0
  62. package/public/scripts/extensions/stable-diffusion/index.js +440 -99
  63. package/public/scripts/extensions/stable-diffusion/manifest.json +2 -2
  64. package/public/scripts/extensions/stable-diffusion/style.css +4 -5
  65. package/public/scripts/extensions/token-counter/index.js +40 -0
  66. package/public/scripts/extensions/token-counter/manifest.json +11 -0
  67. package/public/scripts/extensions/token-counter/style.css +0 -0
  68. package/public/scripts/extensions/translate/index.js +384 -0
  69. package/public/scripts/extensions/translate/manifest.json +11 -0
  70. package/public/scripts/extensions/translate/style.css +7 -0
  71. package/public/scripts/extensions/tts/elevenlabs.js +13 -0
  72. package/public/scripts/extensions/tts/index.js +182 -32
  73. package/public/scripts/extensions/tts/silerotts.js +1 -0
  74. package/public/scripts/extensions/tts/style.css +16 -6
  75. package/public/scripts/extensions/tts/system.js +1 -0
  76. package/public/scripts/extensions.js +56 -3
  77. package/public/scripts/group-chats.js +103 -50
  78. package/public/scripts/horde.js +68 -27
  79. package/public/scripts/nai-settings.js +97 -20
  80. package/public/scripts/openai.js +333 -78
  81. package/public/scripts/poe.js +28 -32
  82. package/public/scripts/power-user.js +104 -8
  83. package/public/scripts/slash-commands.js +118 -3
  84. package/public/scripts/tags.js +14 -2
  85. package/public/scripts/textgen-settings.js +35 -1
  86. package/public/scripts/toastr.js.map +1 -0
  87. package/public/scripts/toastr.min.js +7 -0
  88. package/public/scripts/uniqolor.js +303 -0
  89. package/public/scripts/utils.js +126 -1
  90. package/public/scripts/world-info.js +24 -12
  91. package/public/style.css +463 -187
  92. package/readme.md +32 -15
  93. package/server.js +797 -486
  94. package/src/character-card-parser.js +72 -0
  95. package/src/horde/LICENSE.md +21 -0
  96. package/src/horde/index.d.ts +2189 -0
  97. package/src/horde/index.js +1 -0
  98. package/src/horde/index.mjs +3 -0
  99. package/src/middleware/basicAuthMiddleware.js +6 -4
  100. package/start.sh +2 -1
  101. package/src/sentencepiece/sentencepiece.min.js +0 -8
package/.dockerignore CHANGED
@@ -2,4 +2,5 @@
2
2
  node_modules
3
3
  npm-debug.log
4
4
  readme*
5
- Start.bat
5
+ Start.bat
6
+ /dist
@@ -0,0 +1,37 @@
1
+ name: Build and Publish Release (Dev)
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - dev
7
+
8
+ jobs:
9
+ build_and_publish:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v2
15
+
16
+ - name: Set up Node.js
17
+ uses: actions/setup-node@v2
18
+ with:
19
+ node-version: 18
20
+
21
+ - name: Install dependencies
22
+ run: npm ci
23
+
24
+ - name: Build and package with pkg
25
+ run: |
26
+ npm install -g pkg
27
+ npm run pkg
28
+
29
+ - name: Upload binaries to release
30
+ uses: softprops/action-gh-release@v1
31
+ with:
32
+ files: dist/*
33
+ tag_name: ci-dev
34
+ name: Continuous Release (Dev)
35
+ prerelease: true
36
+ env:
37
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -26,21 +26,12 @@ jobs:
26
26
  npm install -g pkg
27
27
  npm run pkg
28
28
 
29
- - name: Create or update release
30
- id: create_release
31
- uses: actions/create-release@v1
32
- env:
33
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34
- with:
35
- tag_name: continuous-release-main
36
- release_name: Continuous Release (Main)
37
- draft: false
38
- prerelease: true
39
-
40
29
  - name: Upload binaries to release
41
30
  uses: softprops/action-gh-release@v1
42
31
  with:
43
32
  files: dist/*
44
- release_id: ${{ steps.create_release.outputs.id }}
33
+ tag_name: ci-main
34
+ name: Continuous Release (Main)
35
+ prerelease: true
45
36
  env:
46
37
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/Dockerfile CHANGED
@@ -23,7 +23,7 @@ COPY . ./
23
23
 
24
24
  # Copy default chats, characters and user avatars to <folder>.default folder
25
25
  RUN \
26
- IFS="," RESOURCES="characters,chats,User Avatars,settings.json" && \
26
+ IFS="," RESOURCES="characters,chats,groups,group chats,User Avatars,settings.json" && \
27
27
  \
28
28
  echo "*** Store default $RESOURCES in <folder>.default ***" && \
29
29
  for R in $RESOURCES; do mv "public/$R" "public/$R.default"; done && \
package/colab/GPU.ipynb CHANGED
@@ -62,6 +62,8 @@
62
62
  "#@markdown * prompthero/openjourney - midjourney style model\n",
63
63
  "#@markdown * ckpt/sd15 - base SD 1.5\n",
64
64
  "#@markdown * stabilityai/stable-diffusion-2-1-base - base SD 2.1\n",
65
+ "extras_enable_chromadb = True #@param {type:\"boolean\"}\n",
66
+ "#@markdown Enables ChromaDB for Infinity Context plugin\n",
65
67
  "\n",
66
68
  "import subprocess\n",
67
69
  "\n",
@@ -84,6 +86,8 @@
84
86
  " ExtrasModules.append('sd')\n",
85
87
  "if (extras_enable_tts):\n",
86
88
  " ExtrasModules.append('tts')\n",
89
+ "if (extras_enable_chromadb):\n",
90
+ " ExtrasModules.append('chromadb')\n",
87
91
  "\n",
88
92
  "params.append(f'--classification-model={Emotions_Model}')\n",
89
93
  "params.append(f'--summarization-model={Memory_Model}')\n",
@@ -99,6 +103,8 @@
99
103
  "!npm install -g localtunnel\n",
100
104
  "!pip install -r requirements-complete.txt\n",
101
105
  "!pip install tensorflow==2.12\n",
106
+ "!wget https://github.com/cloudflare/cloudflared/releases/download/2023.5.0/cloudflared-linux-amd64 -O /tmp/cloudflared-linux-amd64\n",
107
+ "!chmod +x /tmp/cloudflared-linux-amd64\n",
102
108
  "\n",
103
109
  "\n",
104
110
  "cmd = f\"python server.py {' '.join(params)}\"\n",
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  # Initialize missing user files
4
- IFS="," RESOURCES="characters,chats,User Avatars,settings.json"
4
+ IFS="," RESOURCES="characters,groups,group chats,chats,User Avatars,settings.json"
5
5
  for R in $RESOURCES; do
6
6
  if [ ! -e "config/$R" ]; then
7
7
  echo "Resource not found, copying from defaults: $R"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@dqbd/tiktoken": "^1.0.2",
4
- "axios": "^1.3.4",
4
+ "axios": "^1.4.0",
5
5
  "command-exists": "^1.2.9",
6
6
  "compression": "^1",
7
7
  "cookie-parser": "^1.4.6",
@@ -10,13 +10,16 @@
10
10
  "device-detector-js": "^3.0.3",
11
11
  "exifreader": "^4.12.0",
12
12
  "express": "^4.18.2",
13
+ "google-translate-api-browser": "^3.0.1",
13
14
  "gpt3-tokenizer": "^1.1.5",
15
+ "ip-matching": "^2.1.2",
14
16
  "ipaddr.js": "^2.0.1",
15
17
  "jimp": "^0.22.7",
16
18
  "jquery": "^3.6.4",
17
19
  "json5": "^2.2.3",
18
20
  "mime-types": "^2.1.35",
19
21
  "multer": "^1.4.5-lts.1",
22
+ "node-fetch": "^2.6.11",
20
23
  "node-rest-client": "^3.1.1",
21
24
  "open": "^8.4.0",
22
25
  "piexifjs": "^1.0.6",
@@ -25,9 +28,12 @@
25
28
  "png-chunks-extract": "^1.0.0",
26
29
  "rimraf": "^3.0.2",
27
30
  "sanitize-filename": "^1.6.3",
31
+ "sentencepiece-js": "^1.1.0",
32
+ "uniqolor": "^1.1.0",
28
33
  "webp-converter": "2.3.2",
29
34
  "ws": "^8.13.0",
30
- "yargs": "^17.7.1"
35
+ "yargs": "^17.7.1",
36
+ "yauzl": "^2.10.0"
31
37
  },
32
38
  "overrides": {
33
39
  "parse-bmfont-xml": {
@@ -40,9 +46,10 @@
40
46
  "type": "git",
41
47
  "url": "https://github.com/Cohee1207/SillyTavern.git"
42
48
  },
43
- "version": "1.5.5",
49
+ "version": "1.6.1",
44
50
  "scripts": {
45
- "start": "node server.js"
51
+ "start": "node server.js",
52
+ "pkg": "pkg --compress Gzip --no-bytecode --public ."
46
53
  },
47
54
  "bin": {
48
55
  "sillytavern": "./server.js"
@@ -51,11 +58,25 @@
51
58
  "no-path-concat": "off",
52
59
  "no-var": "off"
53
60
  },
61
+ "main": "server.js",
54
62
  "pkg": {
63
+ "targets": [
64
+ "node18-linux-x64",
65
+ "node18-macos-x64",
66
+ "node18-windows-x64"
67
+ ],
55
68
  "assets": [
56
- "node_modules/open/xdg-open/",
57
- "public",
58
- "uploads"
69
+ "node_modules/**/*",
70
+ "poe_graphql/**/*"
71
+ ],
72
+ "outputPath": "dist",
73
+ "scripts": [
74
+ "server.js"
59
75
  ]
76
+ },
77
+ "devDependencies": {
78
+ "pkg": "^5.8.1",
79
+ "pkg-fetch": "^3.5.2",
80
+ "toastr": "^2.1.4"
60
81
  }
61
82
  }
package/poe-client.js CHANGED
@@ -318,14 +318,14 @@ class Client {
318
318
  if (!viewer.availableBots) {
319
319
  throw new Error('Invalid token.');
320
320
  }
321
- const botList = viewer.availableBots;
321
+ const botList = viewer.viewerBotList;
322
322
  const retries = 2;
323
323
  const bots = {};
324
324
  for (const bot of botList.filter(x => x.deletionState == 'not_deleted')) {
325
325
  try {
326
326
  const url = `https://poe.com/_next/data/${this.next_data.buildId}/${bot.displayName}.json`;
327
327
  let r;
328
-
328
+
329
329
  if (this.use_cached_bots && cached_bots[url]) {
330
330
  r = cached_bots[url];
331
331
  }
@@ -334,7 +334,7 @@ class Client {
334
334
  r = await request_with_retries(() => this.session.get(url), retries);
335
335
  cached_bots[url] = r;
336
336
  }
337
-
337
+
338
338
  const chatData = r.data.pageProps.payload.chatOfBotDisplayName;
339
339
  bots[chatData.defaultBotObject.nickname] = chatData;
340
340
  }
@@ -640,4 +640,4 @@ class Client {
640
640
 
641
641
  load_queries();
642
642
 
643
- module.exports = { Client };
643
+ module.exports = { Client };
@@ -0,0 +1,20 @@
1
+ {
2
+ "order": [
3
+ 1,
4
+ 3,
5
+ 4,
6
+ 0,
7
+ 2
8
+ ],
9
+ "temperature": 1.05,
10
+ "max_length": 90,
11
+ "min_length": 1,
12
+ "tail_free_sampling": 0.989,
13
+ "repetition_penalty": 1.5,
14
+ "repetition_penalty_range": 8192,
15
+ "repetition_penalty_frequency": 0.03,
16
+ "repetition_penalty_presence": 0.005,
17
+ "top_a": 0.075,
18
+ "top_k": 79,
19
+ "top_p": 0.95
20
+ }
@@ -1,8 +1,5 @@
1
1
  {
2
- "order": [
3
- 3,
4
- 0
5
- ],
2
+ "order": [3, 0],
6
3
  "temperature": 1.11,
7
4
  "max_length": 90,
8
5
  "min_length": 1,
@@ -10,5 +7,7 @@
10
7
  "repetition_penalty": 1.11,
11
8
  "repetition_penalty_range": 320,
12
9
  "repetition_penalty_frequency": 0,
13
- "repetition_penalty_presence": 0
10
+ "repetition_penalty_presence": 0,
11
+ "repetition_penalty_slope": 0,
12
+ "max_context":2048
14
13
  }
@@ -1,8 +1,5 @@
1
1
  {
2
- "order": [
3
- 3,
4
- 0
5
- ],
2
+ "order": [3, 0],
6
3
  "temperature": 1.7,
7
4
  "max_length": 90,
8
5
  "min_length": 1,
@@ -10,5 +7,7 @@
10
7
  "repetition_penalty": 1.06,
11
8
  "repetition_penalty_range": 340,
12
9
  "repetition_penalty_frequency": 0,
13
- "repetition_penalty_presence": 0
10
+ "repetition_penalty_presence": 0,
11
+ "repetition_penalty_slope": 0,
12
+ "max_context": 2048
14
13
  }
@@ -0,0 +1,18 @@
1
+ {
2
+ "order": [0, 1, 2, 3],
3
+ "temperature": 1,
4
+ "max_length": 40,
5
+ "min_length": 1,
6
+ "top_k": 25,
7
+ "top_p": 1,
8
+ "tail_free_sampling": 0.925,
9
+ "repetition_penalty": 1.9,
10
+ "repetition_penalty_range": 768,
11
+ "repetition_penalty_slope": 3.33,
12
+ "repetition_penalty_frequency": 0.0025,
13
+ "repetition_penalty_presence": 0.001,
14
+ "use_cache": false,
15
+ "return_full_text": false,
16
+ "prefix": "vanilla",
17
+ "max_context": 8192
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "order": [4, 5, 0, 3],
3
+ "temperature": 1.18,
4
+ "max_length": 40,
5
+ "min_length": 1,
6
+ "top_a": 0.022,
7
+ "typical_p": 0.9,
8
+ "tail_free_sampling": 0.956,
9
+ "repetition_penalty": 1.25,
10
+ "repetition_penalty_range": 4096,
11
+ "repetition_penalty_slope": 0.9,
12
+ "repetition_penalty_frequency": 0,
13
+ "repetition_penalty_presence": 0,
14
+ "use_cache": false,
15
+ "return_full_text": false,
16
+ "prefix": "vanilla",
17
+ "max_context": 8192
18
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "order": [0, 4, 1, 5, 3],
3
+ "temperature": 1.155,
4
+ "max_length": 40,
5
+ "min_length": 1,
6
+ "top_k": 25,
7
+ "top_a": 0.3,
8
+ "typical_p": 0.96,
9
+ "tail_free_sampling": 0.895,
10
+ "repetition_penalty": 1.0125,
11
+ "repetition_penalty_range": 2048,
12
+ "repetition_penalty_slope": 3.33,
13
+ "repetition_penalty_frequency": 0.011,
14
+ "repetition_penalty_presence": 0.005,
15
+ "use_cache": false,
16
+ "return_full_text": false,
17
+ "prefix": "vanilla",
18
+ "max_context": 8192
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "order": [1, 3, 4, 0, 2],
3
+ "temperature": 1.05,
4
+ "max_length": 40,
5
+ "min_length": 1,
6
+ "top_k": 79,
7
+ "top_p": 0.95,
8
+ "top_a": 0.075,
9
+ "tail_free_sampling": 0.989,
10
+ "repetition_penalty": 1.5,
11
+ "repetition_penalty_range": 8192,
12
+ "repetition_penalty_slope": 3.33,
13
+ "repetition_penalty_frequency": 0.03,
14
+ "repetition_penalty_presence": 0.005,
15
+ "use_cache": false,
16
+ "return_full_text": false,
17
+ "prefix": "vanilla",
18
+ "max_context": 8192
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "order": [0, 5, 3, 2, 1],
3
+ "temperature": 1.21,
4
+ "max_length": 40,
5
+ "min_length": 1,
6
+ "top_k": 0,
7
+ "top_p": 0.912,
8
+ "typical_p": 0.912,
9
+ "tail_free_sampling": 0.921,
10
+ "repetition_penalty": 1.21,
11
+ "repetition_penalty_range": 321,
12
+ "repetition_penalty_slope": 3.33,
13
+ "repetition_penalty_frequency": 0.00621,
14
+ "repetition_penalty_presence": 0,
15
+ "use_cache": false,
16
+ "return_full_text": false,
17
+ "prefix": "vanilla",
18
+ "max_context": 8192
19
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.92,
4
4
  "top_k": 150,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 4.5,
7
9
  "no_repeat_ngram_size": 2,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": true
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 1,
4
4
  "top_k": 4,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0.6,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": false,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.5,
4
4
  "top_k": 40,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.2,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 1,
4
4
  "top_k": 50,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": false,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.5,
4
4
  "top_k": 0,
5
5
  "typical_p": 0.19,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.1,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 1,
4
4
  "top_k": 0,
5
5
  "typical_p": 0.6,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.1,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.1,
4
4
  "top_k": 40,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.18,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.85,
4
4
  "top_k": 50,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.9,
4
4
  "top_k": 100,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.15,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -4,6 +4,8 @@
4
4
  "top_k": 100,
5
5
  "typical_p": 0.97,
6
6
  "rep_pen": 1,
7
+ "top_a": 0,
8
+ "tfs": 1,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
9
11
  "num_beams": 1,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.98,
4
4
  "top_k": 0,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.05,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.85,
4
4
  "top_k": 12,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.15,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 1,
4
4
  "top_k": 100,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.05,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 1,
4
4
  "top_k": 0,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.15,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.18,
4
4
  "top_k": 30,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.15,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.73,
4
4
  "top_k": 0,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.1,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -3,6 +3,8 @@
3
3
  "top_p": 0.9,
4
4
  "top_k": 0,
5
5
  "typical_p": 1,
6
+ "top_a": 0,
7
+ "tfs": 1,
6
8
  "rep_pen": 1.1,
7
9
  "no_repeat_ngram_size": 0,
8
10
  "penalty_alpha": 0,
@@ -12,4 +14,4 @@
12
14
  "encoder_rep_pen": 1,
13
15
  "do_sample": true,
14
16
  "early_stopping": false
15
- }
17
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "Classic",
3
+ "storyString": "{{instructSystemPrompt}}\n{{wiBeforeCharacter}}\n{{description}}\n{{char}}'s personality: {{personality}}\nCircumstances and context of the dialogue: {{scenario}}\n{{wiAfterCharacter}}\nThis is how {{char}} should talk\n{{mesExamples}}\nThen the roleplay chat between {{user}} and {{char}} begins\n",
4
+ "injections": []
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "Pygmalion",
3
+ "storyString": "{{instructSystemPrompt}}\n{{wiBeforeCharacter}}\n{{char}}'s Persona: {{description}}\nPersonality: {{personality}}\nScenario: {{scenario}}\n{{wiAfterCharacter}}\n<START>\n{{mesExamples}}\n<START>\n",
4
+ "injections": []
5
+ }