fixed a little bug

This commit is contained in:
Saifeddine ALOUI 2024-05-09 12:07:39 +02:00
parent b8ba236d62
commit 2540a30492
8 changed files with 29 additions and 21 deletions

View File

@ -1,5 +1,5 @@
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
version: 94
version: 95
binding_name: null
model_name: null
model_variant: null
@ -32,7 +32,7 @@ discussion_prompt_separator: "!@>"
seed: -1
ctx_size: 4084
max_n_predict: 4096
min_n_predict: 512
min_n_predict: 1024
temperature: 0.9
top_k: 50
top_p: 0.95

@ -1 +1 @@
Subproject commit becdc720b4ed2dff935ddeed06d9e7ab859e35f9
Subproject commit 6e828dda82a0cda783d986cdd51a861c2b94df7b

Binary file not shown.

View File

@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Lollms"
#define MyAppVersion "9.5"
#define MyAppVersion "9.7"
#define MyAppPublisher "ParisNeo"
#define MyAppURL "https://www.lollms.com/"
#define MyAppExeName "win_run.bat"
@ -42,11 +42,10 @@ Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "docs\*"; DestDir: "{app}\docs"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "../{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "first_install.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "win_conda_session.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "uninstall.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "../win_conda_session.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "../uninstall.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "logo.ico"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
@ -63,6 +62,7 @@ ElfRadioButton: TRadioButton;
OpenRouterRadioButton: TRadioButton;
GroqRadioButton: TRadioButton;
MistralAIRadioButton: TRadioButton;
OpenAIRadioButton: TRadioButton;
RadioButton: TRadioButton;
OllamaRadioButton: TRadioButton;
VllmRadioButton: TRadioButton;
@ -102,6 +102,12 @@ MistralAIRadioButton.Checked := False;
MistralAIRadioButton.Parent := OptionsPage.Surface;
MistralAIRadioButton.Top := GroqRadioButton.Top + GroqRadioButton.Height + 8;
OpenAIRadioButton := TRadioButton.Create(OptionsPage);
OpenAIRadioButton.Caption := 'openai';
OpenAIRadioButton.Checked := False;
OpenAIRadioButton.Parent := OptionsPage.Surface;
OpenAIRadioButton.Top := GroqRadioButton.Top + GroqRadioButton.Height + 8;
OllamaRadioButton := TRadioButton.Create(OptionsPage);
OllamaRadioButton.Caption := 'ollama';
OllamaRadioButton.Checked := False;
@ -158,6 +164,8 @@ begin
Result := '--groq'
else if MistralAIRadioButton.Checked then
Result := '--mistralai'
else if OpenAIRadioButton.Checked then
Result := '--openai'
else if OllamaRadioButton.Checked then
Result := '--ollama'
else if VllmRadioButton.Checked then

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-c21c9fd4.js"></script>
<link rel="stylesheet" href="/assets/index-e9891c2a.css">
<script type="module" crossorigin src="/assets/index-1501e5cc.js"></script>
<link rel="stylesheet" href="/assets/index-fbc2cedb.css">
</head>
<body>
<div id="app"></div>

View File

@ -535,7 +535,7 @@
type="number"
id="max_n_predict"
required
v-model="configFile.min_n_predict"
v-model="configFile.max_n_predict"
@change="settingsChanged=true"
class="mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
>
@ -543,14 +543,14 @@
</tr>
<tr>
<td style="min-width: 200px;">
<label for="min_n_predict" class="text-sm font-bold" style="margin-right: 1rem;">Minimum number of output tokens space (forces the model to have more space to speak):</label>
<label for="max_n_predict" class="text-sm font-bold" style="margin-right: 1rem;">Minimum number of output tokens space (forces the model to have more space to speak):</label>
</td>
<td style="width: 100%;">
<input
type="number"
id="min_n_predict"
id="max_n_predict"
required
v-model="configFile.min_n_predict"
v-model="configFile.max_n_predict"
@change="settingsChanged=true"
class="mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
>