diff --git a/default/content/presets/instruct/Llama 3 Instruct.json b/default/content/presets/instruct/Llama 3 Instruct.json index 111501287..0a84b852d 100644 --- a/default/content/presets/instruct/Llama 3 Instruct.json +++ b/default/content/presets/instruct/Llama 3 Instruct.json @@ -18,7 +18,7 @@ "input_suffix": "<|eot_id|>", "system_suffix": "<|eot_id|>", "user_alignment_message": "", - "system_same_as_user": false, + "system_same_as_user": true, "last_system_sequence": "", "name": "Llama 3 Instruct" } diff --git a/package-lock.json b/package-lock.json index 04b122d5f..93c8ed8ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,6 +27,7 @@ "form-data": "^4.0.0", "google-translate-api-browser": "^3.0.1", "gpt3-tokenizer": "^1.1.5", + "he": "^1.2.0", "helmet": "^7.1.0", "ip-matching": "^2.1.2", "ipaddr.js": "^2.0.1", @@ -2800,6 +2801,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "bin": { + "he": "bin/he" + } + }, "node_modules/helmet": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/helmet/-/helmet-7.1.0.tgz", diff --git a/package.json b/package.json index 8f84c95b9..c40d267e4 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "form-data": "^4.0.0", "google-translate-api-browser": "^3.0.1", "gpt3-tokenizer": "^1.1.5", + "he": "^1.2.0", "helmet": "^7.1.0", "ip-matching": "^2.1.2", "ipaddr.js": "^2.0.1", diff --git a/public/css/st-tailwind.css b/public/css/st-tailwind.css index ecc55c074..44664ddfd 100644 --- a/public/css/st-tailwind.css +++ b/public/css/st-tailwind.css @@ -86,6 +86,10 @@ margin: 5px; } +.marginLeft5 { + margin-left: 5px; +} + .overflowYAuto { overflow-y: auto; } @@ -257,6 +261,10 @@ flex-basis: 48% } +.flexBasis30p { + flex-basis: 30%; +} + .flex-container { display: flex; gap: 5px; @@ -555,4 +563,4 @@ textarea:disabled { height: 30px; text-align: center; padding: 5px; -} +} \ No newline at end of file diff --git a/public/index.html b/public/index.html index 594f946ab..44c2254c4 100644 --- a/public/index.html +++ b/public/index.html @@ -141,10 +141,10 @@